MongoDB vs. Redis vs. Cassandra for a fast-write, temporary row storage solution

后端 未结 9 838
无人共我
无人共我 2021-01-29 20:38

I\'m building a system that tracks and verifies ad impressions and clicks. This means that there are a lot of insert commands (about 90/second average, peaking at 250) and some

9条回答
  •  灰色年华
    2021-01-29 21:16

    If you have the choice (and need to move away from flat fies) I would go with Redis. Its blazingly fast, will comfortably handle the load you're talking about, but more importantly you won't have to manage the flushing/IO code. I understand its pretty straight forward but less code to manage is better than more.

    You will also get horizontal scaling options with Redis that you may not get with file based caching.

提交回复
热议问题