About duplication, I encountered the pit

Duplication is beginning to take data from the database duplication, and found that did not materialize duplication, data warehousing or a! ! ! !

View logs, search found duplication of code that is gone, but why would it put in storage? !

Looked at the time of the interface data, the basic is at the same time, which is likely, not before a data warehousing, data has come after a. At this duplication of code to the database search is certainly finding out.

Data can not be duplication of a database,

Then I first thought the map, but because the interface to receive real-time chat, a large amount of data, map how to set the expiration time I do not know. So think of cache

Using a memcached,

Reclosed branch, deployment, start.

All right! !

Guess you like

Origin blog.csdn.net/luo_yu_1106/article/details/90697093