Home / Companies / PubNub / Blog / Post Details
Content Deep Dive

Get Redis Replication Right: Multi Data Center Support

Blog post from PubNub

Post Details
Company
Date Published
Author
Michael Carroll
Word Count
1,166
Company Posts That Month
10
Language
English
Hacker News Points
-
Summary

This tutorial provides a proof-of-concept for global, multi-data center Redis replication using PubNub and NodeJS, targeting low throughput and high volume scenarios. It describes the challenges of Redis replication, including TCP windowing and kernel tuning, and outlines a two-phase replication process involving an initial RDB stream dump followed by real-time updates. The guide emphasizes that the current implementation is not production-ready, supports a limited subset of Redis write commands, and has not undergone scale testing. Users are encouraged to experiment with the code, which involves setting up a Redis replicator, listener, and proxy using PubNub channels, with the aim of fostering inspiration and discussion around further development and bug fixing.

Trends Found in this Post
Trend Post Mentions Total Month Mentions Posts Companies MoM
Real-time 3 83 21 11 +30%