Closed scriptnull closed 6 years ago
Done as part of following commits
https://github.com/scriptnull/badgeit/commit/c303bdab974de5ebf834d12f1103f385688fedbd
https://github.com/scriptnull/badgeit/commit/215887d48592167fe1a1289b5ddbd6af66ee4166
https://github.com/scriptnull/badgeit/commit/1ab8f19a49a166bcee70d6e3eff066adae4ee90d
badgeit.today is currently running with Redis.
Initially, Redis is using 14MB of RAM whereas, RabbitMq needed 150MB of RAM initially just to start up. Obviously, Redis memory usage will grow as we consume it more. But for starters, this is good.
RabbitMq is a pure queue. But redis can act as cache + queue. And I suspect redis to be have much lower memory footprint.
Currently, we allocate 150MB RAM for rabbitMq, which in my opinion is a huge deal. If we make redis to work in the same memory limit, we have both queue and a key pair storage for us ready.