- 博客(7)
- 资源 (38)
- 收藏
- 关注
转载 zz: [kernel] linux在多核处理器上的负载均衡原理
[kernel] linux在多核处理器上的负载均衡原理【转载请注明出处:http://donghao.org/uii/ 】http://donghao.org/2010/10/linuxouaeaiaeeiaoouaoaiaaeae.htmlhttp://donghao.org/2010/07/kernel-smpiioouaoai
2012-02-15 10:59:17 657
转载 libevent源码浅析: http库
http://godorz.info/2011/03/the-annotated-libevent-sources-about-http/libevent自带了一个http库,用它可以很简单的实现一个http服务器,本文非常简单地分析之.evhttpevhttp库有几个主要的结构体,它们之间的联系非常龌龊:其中,结构体event, min_hea
2012-02-14 09:54:19 1869
转载 libevent源码浅析: 定时器和信号
libevent源码浅析: 定时器和信号http://godorz.info/2011/02/the-annotated-libevent-sources-about-timer-and-signal/上一篇文章介绍了libevent下基本的I/O事件,这篇文章将讲讲libevent对定时器和信号事件的处理.Timer事件反应堆event
2012-02-14 09:52:47 1484 1
转载 zz: 面向海量服务的设计原则和策略总结
http://ayufox.iteye.com/blog/676416互联网服务的特点就是面向海量级的用户,面向海量级的用户如何提供稳定的服务呢?这里,对这几年的一些经验积累和平时接触的一些理念做一个总结。 一、原则 1.Web服务的CAP原理 CAP指的是三个要素:一致性(Consistency)、可用性(Availability
2012-02-08 12:39:17 474
转载 基于2D多边形的碰撞检测和响应
http://yiyo213.iteye.com/blog/813181 简介本文是阐述如何在2D动作游戏中进行精确而高效的碰撞检测。这里的碰撞是基于多边形而不是基于精灵的。这两者之间在设计上会有不同。基于精灵的碰撞检测是通过精灵之间的重叠的像素来完成的。而多边形使用向量数学来精确计算交点,时间和碰撞方向。虽然多边形仅仅是精灵的一个近似,但是它比精灵系统要高级。可以精
2012-02-05 12:01:08 1978
转载 zz : 从free到page cache
http://www.cnblogs.com/hustcat/archive/2011/10/27/2226995.htmlFree我们经常用free查看服务器的内存使用情况,而free中的输出却有些让人困惑,如下: 图1-1先看看各个数字的意义以及如何计算得到:free命令输出的第二行(Mem):这行分别显示了物理内存的总量(total)、已使用的
2012-02-03 10:49:13 558
转载 zz: 乱谈服务器编程
http://www.cnblogs.com/hustcat/archive/2012/01/11/2319249.html乱谈服务器编程第一部分 编程模型1、服务器编程模型关于server编程模型,大师stevens在他的《UNP》一书中已经做了详细论述,这里不再重复,这里主要讲一下我的一些理解。从线程的角度,可以分为两类,一是单线程,一是多线
2012-02-03 10:39:11 707
reliable rabbitmq c++ client
2018-07-16
trade middle ware
2018-06-29
simple exchange platform client
2018-06-01
evpp based echo server
2018-05-03
libevent echo server
2018-04-24
thrift with memfunc and uid generator
2018-01-30
thrift server support db operation and rest protocol
2018-01-18
20180111 ieap
2018-01-11
AnalyzeServer 20180109 with DBConnPool
2018-01-09
thrift example
2018-01-04
prpc_20181109
2018-11-09
coroutine using phxrpc
2018-11-01
remote procedure call using protobuffer
2018-08-21
brpc doubly_buffered_data test
2018-08-07
rabbitmq-c client publish get example
2018-07-13
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人