adarqui / blpop-proxy Goto Github PK
View Code? Open in Web Editor NEWa little blpop tool for proxying resque queues from one redis to the other
a little blpop tool for proxying resque queues from one redis to the other
Just a quick tool to monitor a list on a redis server (in) using blpop, then add the popped key/value to another redis (out). Usage: ./blpop-proxy in_host:port out_host:port listkey1 listkey2 listkeyN Example: ./blpop-proxy 172.16.0.2:6379 10.0.3.2:6379 hi test ping queue bang This would monitor 172.16.0.2:6379 for push's made to the following keys: hi, test, ping, queue, and bang. Once our BLPop returns, we then RPush the retrieved {key,value} to 10.0.3.2:6379. Uses: Allow an "untrusted" environment to access production resque queues on a quarantined redis-server. It handles all of the faults i've encountered. It also logs to "blpop-proxy.lost.log" when a BLPop succeeds but the RPush does not. It then blocks all operation (including BLPop's) until we are able to re-connect to the "out" server. This way, we don't lose any keys. Pc. -- ad
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.