Category Archives: nosql

Redis 5 – bootstrapping a Redis Cluster with Docker

With Redis 5 (in RC state at time of writing), cluster creation utility is now available as part of redis-cli which is easier as compared to the (previous) ruby way of doing it (using redis-trib) check out the release notes for … Continue reading

Posted in Distributed systems, nosql, redis | Tagged , , , , | Leave a comment

(eBook) Practical Redis: first few chapters released!

I am happy to announce that the first few chapters of Practical Redis are now available About Practical Redis   It is a hands-on, code-driven guide to Redis where each chapter is based on an application (simple to medium complexity) which … Continue reading

Posted in Distributed systems, go, nosql, redis | Tagged , , , , , , , , | Leave a comment

Redis geo.lua example using Go

I stumbled upon geo.lua which seemed to be an interesting library It’s described as – “… a Lua library containing miscellaneous geospatial helper routines for use with Redis“ Here is an example of using it with the Go Redis client (go-redis). … Continue reading

Posted in go, nosql, redis | Tagged , , , , , , | Leave a comment

Redis tech tip #1

In order to delete members from your Redis Geo-spatial collection, you can use ZREM (underneath the hood, the data is stored in a sorted set) Add a few (Indian) cities GEOADD IndianCities 28.6108127 77.2060241 NewDelhi ​GEOADD IndianCities 12.9715987 77.5945627 Bangalore GEOADD IndianCities 13.0826802 80.2707184 … Continue reading

Posted in nosql, redis | Tagged , , , | Leave a comment