Best way to mark data as “dirty” to periodically update in a distributed system?

前端 未结 0 2064
闹比i
闹比i 2021-02-06 08:11

E.g. lets say I have a chat app, I have a table for threads and a table for messages. The thread has the number of messages. E.g.:

Thread
id: int
numMessages: int         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题