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...
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