Sign in

Love reading, new to writing, practicing mindfulness and I code.

Extreme Similarities.

Since the time I have started to understand stock markets, I see a lot of similarity between choosing careers and stocks. The process remains the same, you need to try things out, you may not get it right the first time, and there is no point dwelling on our past!

What works for you does not work for someone else and vice versa.

The entire stock market is based on the premise that if you have a stock to sell, there is someone to buy your stock. Unless you are in need to liquidate your portfolio, the reason to sell is because you don’t see any further upside potential. …

How to use Jedis to call Redis commands that are not supported by the Jedis client yet.

When Redis comes up with new commands or modules, there is a possibility that those commands are not supported by Jedis yet.

However, there is no need to look beyond Jedis for such use cases.

First, we will look at how Jedis client really makes the Redis command calls and then see how to extend it for custom commands.

The commands supported by Jedis can be found here and in the source code here.

Let’s take an example of the ‘hset’ command supported…

The following is our entry for Redis Day “Beyond Cache” hackathon conducted by Redis Labs at Bangalore, which won us the 2nd runner up.

Redis “Beyond Cache” was an interesting theme — we (Me and Ritesh Ghodrao) were unaware of how Redis could be used for anything more than a cache or database. We were up for a surprise.

Redis provides multiple advanced data structures and dynamically loadable libraries called “modules”, which extends the feature set of Redis to domains beyond databases. With built-in support for advanced data structures, Redis not just helps build low latency applications but also loosely…

Photo by Patrick Tomasso on Unsplash

The internet is filled with people gloating that they have read 50 books a year, more than 500 books and so on. It really is a great number of books to have read and trust me, it is better than spending 50 or 500 hours on your smartphone watching absolutely random videos recommended by sites wanting you to be glued to them ( and they do a good job at that ).

The Reading Challenge That Changed Everything

At the beginning of the last year, I became highly motivated for a brief period after watching a few videos on “How to read 50 books a year”…

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store