DEV Community

Discussion on: Is a Redis ORM a Horrible Idea?

gabiaxel profile image
Gabriel Axel

If you decide to go with Redis, and the built-in data structures (sets, hashes, etc') don't cover your requirements (and I do suggest you first try to make it fit - you should get into the "Redis mindset" and not always expect Redis to fit your code as it is), you may want to look into RedisJSON - it's an official Redis module for storing and editing JSON natively without (de)serialization. There are client libraries for several platforms.

dbanty profile image
Dylan Anthony Author

Boy would I love to. Unfortunately we’re using Elasticache and it isn’t supported :(. Good suggestion though!