Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The key takeaway from this plot is that the performance decrease due to storing sessions in Redis is almost imperceptible by the user.

Tuning Advice

Network Speed

Since sessions are constantly read and written from/to Redis, the network speed between the Runtime and Redis has a significant impact on performance. A 1 Gbps connection is recommended.

Connection Pool Size

The Runtime maintains a pool of connections to Redis. Response times decrease when requests have to wait for connections in the pool to become available. 

  • fast connection between Redis and Runtime
  • connection pool size
  • tcp keepalive
  • disable storing to disk