scriptnull / badgeit

[WIP] Hassle-free badges for your READMEs.
MIT License
3 stars 1 forks source link

Remove RabbitMq and introduce Redis #22

Closed scriptnull closed 6 years ago

scriptnull commented 6 years ago

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.

scriptnull commented 6 years ago

Done as part of following commits

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.