Production-Ready Deployment of a Django-Vue Full-Stack Application on CentOS
Server Hardening and Initial Setup
Before deploying any application, secure the underlying infrastructure. Configure cloud provider security groups to restrict inbound traffic strictly to required ports: SSH (22), HTTP (80), and HTTPS (443). Avoid exposing all ports via 0.0.0.0/0 in production—tighten rules to specific IPs or ranges where possi ...
Posted on Sun, 14 Jun 2026 16:32:49 +0000 by gethinw
Semantic Vector Search for Mechanical Drawing Titles with .NET Core and Open-Source Models
Mechanical drawing titles often contain specialized terminology, abbreviations, and non-standard formats (e.g., "Potato Sorter DWG-001 Stainless Steel"). Traditional keyword-based search struggles with such data due to semantic ambiguity and varied user queries (e.g., "Potato Screening Machine"). Semantic search enhancement ...
Posted on Fri, 12 Jun 2026 16:08:47 +0000 by sudhakararaog
Redis Client Libraries for Go and Python
Go Redis Client Implementation
Installation
The go-redis/redis library provides a rich set of functions for executing Redis commands, unlike older libraries that rely solely on a single execution method. This library supports both sentinel and cluster configurations.
Insatllation command:
go get github.com/go-redis/redis/v8
Connection Methods
...
Posted on Thu, 11 Jun 2026 18:25:21 +0000 by kessels1234
Optimizing Python API Services for High-Concurrency Load Balancing
Modern web applications frequently face surges in request volume—such as during flash sales, live events, or viral content spikes—making resilient, scalable API infrastructure esential. While Python offers rapid development and rich ecosystem support, its runtime characteristics (e.g., the GIL) and default synchronous I/O model can hinder throu ...
Posted on Thu, 11 Jun 2026 16:28:41 +0000 by strangermaster
Redis Master-Slave Replication Implementation
Redis Replication Fundamentals
Redis replication enables automatic data synchronization from a primary node (master) to replica nodes (slaves). The master handles write operations while replicas serve read requests.
Replicatino Mechanism
Replicas initiate synchronization by sending a SYNC command to the master
The master starts a background sa ...
Posted on Tue, 09 Jun 2026 17:45:48 +0000 by mysqlnewjack
Distributed Lock Implementations in Java with Redis and ZooKeeper
Redis-Based Distributed Locking with Redisson
Distributed systems often require mechanisms to ensure that only one process or thread can access a shared resource at a time across different service instances. Redis, a popular in-memory data store, can be effectively leveraged for this purpose, particularly through libraries like Redisson.
Maven ...
Posted on Sun, 07 Jun 2026 18:00:34 +0000 by Pilly
Redis Internal Data Structure Implementation
How Does a Key-Value Database Work?
Redis employs a hash table to store all key-value pairs. The primary advantage of a hash table is O(1) time complexity for quickly locating entries. Redis's hash buckets hold pointers (dictEntry *) to key-value data. The key-value data structure does not store values directly but uses void *key and void *valu ...
Posted on Sat, 06 Jun 2026 18:30:24 +0000 by cbolson
Redis Master-Slave Replication Fundamentals
Redis master-slave replication enables data from one Redis server (the master) to be copied to one or more other Redis servers (slaves). Data flows unidirectionallly—from master to slave. By default, every Redis instance starts as a master. A master can have multiple slaves, but each slave can only replicate from a single master.
Key Benefits o ...
Posted on Sat, 06 Jun 2026 17:57:51 +0000 by beeman000
Distributed Caching Systems: Architecture and Implementation
Evolution of Caching Technology
Hardware Origins
The term "cache" entered computing terminology from a 1967 electronics engineering paper, where the French word was adapted to mean "safekeeping storage." Early computer systems lacked caching mechanisms, with CPUs directly accessing main memory.
Key developments in CPU cache ...
Posted on Sat, 06 Jun 2026 17:42:21 +0000 by iShaun
Complete Ubuntu 16.04 Server Configuration Guide
Initial Setup and Network Configuration
Before begining the Ubuntu server setup, ensure your virtual machine network adapter is set to bridge mode. For wireless connections, select your appropriate wireless network adapter in the virtualization settings.
Basic Network Commands
# Test network connectivity
ping -c 4 192.168.1.181
# Display routi ...
Posted on Fri, 05 Jun 2026 16:13:28 +0000 by pythian