Five Key Takeaways for Developing with Redis

1 | 2 | 3 | 4 | 5 | 6 | 7
Next Five Key Takeaways for Developing with Redis-5 Next

Use SCAN, Never Use KEYS

The SCAN command enables you to retrieve keys in the keyspace using a cursor. Unlike the KEYS command, which returns all keys matching pattern, the SCAN command makes it possible to inspect your data without the risk of blocking your server or having to rely on a slave. The KEYS command should only be used in production environments and with extreme caution, as it can ruin performance.

SCAN is accompanied by SSCAN, HSCAN and ZSCAN, which allow you to iterate the contents of sets, hashes and sorted sets.

Modern applications have a general list of needs to not only survive, but thrive in today's fast-paced cloud environments. These include low response times (less than 100 milliseconds), limitless scalability, high availability and optimal performance. Redis, an open source data structure server, has proven to be one of the most popular options with developers among a bevy of modern database options for speed and performance.

Many of the leading use cases for using Redis are also the most demanding, including social applications and online advertising and gaming.

According to Itamar Haber, chief developers advocate at Redis Labs, developing an application with Redis can be a lot of fun, but you should keep a few points in mind while designing a Redis-based application to get the most from the lightning-fast database. This slideshow features a list of the top five priorities a developer should pay attention to when using Redis.


Related Topics : Vulnerabilities and Patches, Resellers, Broadcom, Broadband Services, Supercomputing

More Slideshows

Classroom tech Ten New Technologies Transforming the Classroom

Here are 10 ways that college professors are taking advantage of the technology students currently use and adding new technologies to enhance the teaching and learning experiences. ...  More >>

IBM Watson How and Why Companies Are Incorporating the Power of IBM Watson

Watson continuously learns from previous interactions, gaining in value and knowledge over time. Learn how companies are harnessing that AI power to create and improve products and services. ...  More >>

infra100-190x128 Top 10 Strategic Technology Trends for 2017

Here are the top 10 strategic technology trends that will impact most organizations in 2017. Strategic technology trends are defined as those with substantial disruptive potential or those reaching the tipping point over the next five years. ...  More >>

Subscribe Daily Edge Newsletters

Sign up now and get the best business technology insights direct to your inbox.