Home >Backend Development >PHP Tutorial > 检查新消息的有关问题。

检查新消息的有关问题。

WBOY
WBOYOriginal
2016-06-13 13:43:53954browse

检查新消息的问题。。
弄像微博那样,“有X条新微博,点击查看”,前台ajax是会了,那后台及数据库怎么弄才能效率一些?

------解决方案--------------------
后台用memcache 每次有新消息就加一

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn