Unnecessary trips over the network

Reduce network time by following some simple guidelines in your application:

  • Reuse connection objects; avoid constantly creating/destroying connections to Redis
  • Execute multiple commands together in transaction blocks (Thalla, et-al 2015), instead of running them individually
  • Use aggregation commands to perform operations with multiple keys

Get Seven NoSQL Databases in a Week now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.