Tagged articles
13 articles
Page 1 of 1
Architecture Digest
Architecture Digest
Nov 10, 2019 · Backend Development

Redesigning Twemproxy with Nginx Multi‑Process Architecture for High‑Performance Caching

This article analyzes the limitations of native Twemproxy, describes how Nginx's master‑worker multi‑process model and related Linux kernel features were integrated to create a high‑performance, highly available cache proxy, and presents extensive online and benchmark results showing significant latency and QPS improvements.

NginxTwemproxymulti-process
0 likes · 17 min read
Redesigning Twemproxy with Nginx Multi‑Process Architecture for High‑Performance Caching
Didi Tech
Didi Tech
Jan 15, 2019 · Operations

Design and Performance Optimization of Twemproxy Using Nginx Multi‑Process Architecture

The project re‑engineers Twemproxy by adopting Nginx’s master‑worker multi‑process model, adding non‑blocking accept locks, reuseport load balancing, CPU affinity and crash isolation, which transforms the single‑threaded proxy into a scalable, low‑latency, high‑QPS solution suitable for public‑cloud high‑concurrency workloads.

Cache ProxyLinuxNginx
0 likes · 18 min read
Design and Performance Optimization of Twemproxy Using Nginx Multi‑Process Architecture
Meitu Technology
Meitu Technology
Oct 10, 2018 · Backend Development

How Meitu Scaled Twemproxy with Multi‑Process Architecture and Live Reload

This article details Meitu's engineering of a Redis/Memcached proxy platform, describing why twemproxy was chosen, the limitations of its upstream version, the multi‑process redesign with live configuration reload, added latency metrics, reuse‑port handling, Redis master‑slave support, performance testing, and remaining challenges.

MemcachedProxyTwemproxy
0 likes · 12 min read
How Meitu Scaled Twemproxy with Multi‑Process Architecture and Live Reload
Efficient Ops
Efficient Ops
Feb 2, 2016 · Databases

Why Codis Outperforms Twemproxy: A Deep Dive into Redis Cluster Solutions

This article examines Redis clustering techniques, compares client‑side sharding, proxy sharding, and Redis Cluster, critiques Twemproxy's limitations, and presents Codis's architecture, performance benchmarks, and practical tips for seamless migration and high‑availability in modern operations.

CodisTwemproxydatabase clustering
0 likes · 11 min read
Why Codis Outperforms Twemproxy: A Deep Dive into Redis Cluster Solutions
21CTO
21CTO
Jan 9, 2016 · Backend Development

Building a High‑Concurrency, Scalable Proxy for Weibo Recommendation Engine

This article details the design and implementation of a high‑concurrency, easily extensible proxy built in Go for Weibo's recommendation system, covering background, challenges with twemproxy, technical research, architecture, configuration, logging, monitoring, module breakdown, business logic, performance testing, and future improvements.

CacheGolangProxy
0 likes · 20 min read
Building a High‑Concurrency, Scalable Proxy for Weibo Recommendation Engine
Architect
Architect
Dec 13, 2015 · Databases

Redis Partitioning: How to Store Data Across Multiple Redis Instances

This article explains the concept, benefits, methods, and practical considerations of partitioning data across multiple Redis instances, covering range and hash partitioning, consistent hashing, implementation options, drawbacks, and recommended tools such as Redis Cluster and Twemproxy.

PartitioningRedis ClusterTwemproxy
0 likes · 11 min read
Redis Partitioning: How to Store Data Across Multiple Redis Instances