3 ms·
It's interesting that its own server (starling) uses the Memcached protocol. From the readme: Starling - a light weight server for reliable distributed mess
by bayareaguy 19y ago
It's interesting that its own server (starling) uses the Memcached protocol. From the readme:
Starling - a light weight server for reliable distributed message passing.
= Synopsis
# Start the Starling server as a daemonized process:
starling -h 192.168.1.1 -d
# Put messages onto a queue:
require 'memcache'
starling = MemCache.new('192.168.1.1:22122')
starling.set('my_queue', 12345)
# Get messages from the queue:
require 'memcache'
starling = MemCache.new('192.168.1.1:22122')
loop { puts starling.get('my_queue') }