How can redis be applied to counter scenarios?

Alibaba cloud Q & A 2022-02-13 08:15:48 阅读数:320

redis applied counter scenarios

Redis How to apply to counter scenarios ?




Take the answer 1:

It can be done to String Add and subtract , So as to realize the counter function .Redis This kind of memory database has very high read and write performance , It is very suitable to store the number of frequent reads and writes .


copyright:author[Alibaba cloud Q & A],Please bring the original link to reprint, thank you. https://en.javamana.com/2022/02/202202130815471032.html