Tuesday, September 23, 2014

5 Key Takeaways for Developing with Redis

Developing an application with Redis is a lot of fun, but as with any technology, there are a few points you you should keep in mind while designing a Redis-based application. You’re probably already familiar with relational database development, but while many of the same practices apply, keep in mind that Redis is an in-memory database and it is (mostly) single-threaded.

Therefore, there are several peculiarities you should pay attention to when using Redis:

  • Keep Track of Your Keys 
  • Keep Track of the Length of Your Key Names 
  • Use the Right Data Structures 
  • Use SCAN, Never Use KEYS 
  • Use Server-Side Lua Scripts
Read more here

Leave a Reply

All Tech News IN © 2011 DheTemplate.com & Main Blogger .