There is something rotten in the state of geohashor being confused by geohash on Node.js and RedisThis is part 21 of my Node / Redis series. The previous part was Redis Static Charge.
redlock: unsafe at any timetl;dr redlock is ok for advisory locks but not for guaranteeing mutual exclusiona few days ago martin kleppmann (whose book designing data-intensive applications is excellent and well worth your time and money if you have any interest in distributed…
Uploading and serving images from Redis with Node.jsThis is part 18 of my Node / Redis series. The previous part was Dodge the busy work: Using lodash and async to write tighter Node.js / Redis apps.
湾区日报是如何备份数据库的?一个稍微严肃一点的项目的数据库都需要定时备份,这点应该大家都同意吧?因为你都得假设世界末日模式:数据中心突然地震火灾、数据库的那台虚拟机突然消失了、黑客入侵把数据库清空等。至少得留一条后路东山再起吧?湾区日报运营至今 500 多天,才开始备份数据库的。可见我直到最近才比较觉得湾区日报是一个稍微严肃一点的项目:)秉持着『快糙猛』的原则,咱就不用各种学术派的最佳实践来备份数据库了,简单够用的方法足矣。
Nine Nine Nine Have you ever get into trouble with generating random numbers in redis by lua? It feels like this: http://dilbert.com/strip/2001-10-25…
What’s Up With Queues? Ruby + RedisQueues are super useful and important to understand. They are usually necessary once your application grows. However, Rails 5 ships with ActionCable which relies on Redis publishing events to a queue. So maybe it’s time we all achieve a simple understanding of basic…
Secure RedisRedis philosophy is that security is a second class citizen and should be implemented by a different layer. A recent post about this topic can be found here.However, some of us have to abide by regulations like PCI DSS or HIPAA that impose strict restrictions on how…
Keeping track of account subscriptions with Redis and Node.jsI’m writing a subscription-based web app backed by Redis and written in Node.js using the Express framework. In my app, users can purchase a
From tiny to turboMost of you know webdis. Very few of you know tinywebdis.I’ve started this because something doesn’t work with webdis and I wasn’t able to fix it.To learn something more about the Lua integration in C, I took a kiss and lean github project called dyad and build my tinywebdis.
Skyline internals— RedisSkyline uses binary serialization format msgpack for storing data in Redis. Using msgpack is faster and has smaller memory footprint than f.ex. JSON. Sample usage:>>> from msgpack import packb>>> packb(‘a’)