redis集群
摘要:cd /root/software wget http://download.redis.io/releases/redis-3.2.4.tar.gz tar -zxvf redis-3.2.4.tar.gz cd redis-3.2.4 make && make install 复制下面到redi
阅读全文
posted @
2017-01-18 14:56
wolf12
阅读(163)
推荐(0)
dobbo zookeeper 认识
摘要:dubbo 主要使用来整合各种协议的服务,服务提供者可以向dubbo平台注册服务,服务消费都可以看到所有服务的详细信息,而已可以调用所提供的服务接口。zookeeper:主是要服务的集群,配置管理(如:多台PC的配置需要同步。),队列管理,如果FIFO,等待队列满才执行。共享锁 zookeeper主
阅读全文
posted @
2016-12-30 12:21
wolf12
阅读(268)
推荐(0)
nginx.conf
摘要:#user nobody;worker_processes 4; #nginx进程数,建议设置为等于CPU总核心数 #error_log logs/error.log;#error_log logs/error.log notice;#error_log logs/error.log info; #
阅读全文
posted @
2016-09-01 17:18
wolf12
阅读(212)
推荐(0)
Redis和Memcached整体
摘要:Redis和Memcached整体对比 Redis的作者Salvatore Sanfilippo曾经对这两种基于内存的数据存储系统进行过比较,总体来看还是比较客观的,现总结如下: 1)性能对比:由于Redis只使用单核,而Memcached可以使用多核,所以平均每一个核上Redis在存储小数据时比M
阅读全文
posted @
2016-06-21 09:20
wolf12
阅读(140)
推荐(0)
wcf 双工
摘要:服务器 [ServiceContract(Namespace="http://www.artech.com/", CallbackContract = typeof(ICallback))] 服务接口加入CallbackContract //添加回调接口,用户客户端回调的实现,客户端代理会自动生成这
阅读全文
posted @
2015-06-30 11:32
wolf12
阅读(160)
推荐(0)
WCF使用泛型方法的问题
摘要:public IList getModelList(string type, string SQL, List<string> list){ try { IList Mlist = new List<object>(); IDataReader dr = getDataReader(SQL, lis
阅读全文
posted @
2015-06-10 09:31
wolf12
阅读(870)
推荐(0)
webservice 原理
摘要:webservice 原理1.soap协议,其实就是用http协议来传输xml格式的数据,可以post,get。一般有post。2.服务端有:本地程序代码(也不是dll)和xml格式的文件用来描述dll信息:方法名,返回值,参数等信息。3客户端有:本地程序代码(也不是dll)和xml格式的文件用来描
阅读全文
posted @
2015-04-25 20:56
wolf12
阅读(149)
推荐(0)
跨库事务
摘要:Unless MS DTC is currently installed on the computer running the instance of the Database Engine, this example produces an error message. For more inf
阅读全文
posted @
2015-04-02 23:04
wolf12
阅读(328)
推荐(0)