12 2014 档案
摘要:1.先看这篇文章 http://www.cnblogs.com/joylee/archive/2013/01/07/memadmin.html。2.在IIS下安装的php-cgi.exe程序版本为5.3.28,但网上找了很久没有找到对应版本的php_memcache.dll,索性重新安装新版本的ph...
阅读全文
摘要:〇、为什么要用分布式缓存 1.软件从单机到分布式走向分布式第一步就是解决:多台机器共享登录信息的问题。 例如:现在有三台机器组成了一个Web的应用集群,其中一台机器用户登录,然后其他另外两台机器共享登录状态? 解决1:AspNet 进程外的Session。 解决2:用数据库存储当前登录状态。 解决3...
阅读全文
摘要:using System;using System.Collections.Generic;using System.Diagnostics;using System.Linq;using System.Text;using System.Threading;namespace ThreadPool...
阅读全文
摘要:using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading;namespace ProduceConsume{ class Program ...
阅读全文
摘要:详情:http://www.cnblogs.com/waw/archive/2011/08/29/2158763.html例一:using System;using System.Collections.Generic;using System.Linq;using System.Runtime.R...
阅读全文