Redis streams: are they swapped to disk if memory is low

0

What happens if a redis stream grows beyond the machine's memory? Will old messages get swapped to disk?

Background: I want to use the messenger component of symfony, which can use redis as a message transport. However, their im plementation does only XADD and XREAD, so over time the stream would really grow large...

olidem

Posted 2019-09-25T21:07:22.487

Reputation: 101

2

You may get better answers asking at the Redis Community https://redis.io/community or by searching StackOverflow . The most reliable answer is, of course, to do it yourself. Set up a VM or spare machine with minimal RAM and start writing. Watch with vmstat and other tools and see what happens to pageouts.

– Christopher Hostage – 2019-09-25T21:30:24.893

No answers