高并发处理思路

1.Memcached
html

转博客:redis

http://snowolf.iteye.com/blog/1677495 数据库

2.tomcat结合Nginxcentos

转博客:缓存

http://cxshun.iteye.com/blog/1535188 tomcat

3.互联网经常使用解决方案memcache
spa

转博客:.net

http://www.oschina.net/question/1014681_107718 线程


4.互联网经常使用解决方案resinhtm

转博客:

http://www.centoscn.com/CentosServer/www/2013/1115/2115.html


基本处理可用redius,号称支持每秒读3kw次,写100w次访问:

 key-value的方式,redius当作数据库使用,实际做为一个缓存,程序判断若是读不到数据的时候再去数据库取,redius也是持久化存储


redis做为缓存,能够定时器线程将缓存数据读入到数据库。

相关文章
相关标签/搜索