Using memcached as a database buffer for chat messages

后端 未结 2 1257
不思量自难忘°
不思量自难忘° 2020-12-09 23:03

I am playing around with building a chat application using PHP and CodeIgniter.

For this, I am implementing a cache \'buffer\' with memcached to hold the most recent

2条回答
  •  Happy的楠姐
    2020-12-09 23:06

    Why don't use INSERT DELAYED ? It offers you almost the same functionality you are trying to achieve without the need of memcached.

    Anyway your solution looks good, too.

提交回复
热议问题