c10k
听说oracle向google索赔26亿的java侵权费,java快黄了,赶紧转c吧~~
参考:http://www.kegel.com/c10k.html#top
c10k就是同时处理几万的client,
io框架:
1.ACE(重量级)
2.ASIOBoost的一部分
3.libevent轻量级kqueue&&select
4.pollerrn轻量级
5.构建可扩展服务器时,balancetheuseofworkerthreadandevent-driven★★★
6
-----------
Servemanyclientswitheachthread
每个线程多个客户端:
--------------usenonblockingI/Oandlevel-triggeredreadinessnotification
select()
poll()
/dev/poll
kqueue()
--------------usenonblockingI/Oandreadinesschangenotification
kqueue()
epoll
RealtimeSignals
Signal-per-fd
-------useasynchronousI/O
aio
----------Serveoneclientwitheachserverthread
相关推荐
zhangwentaohh 2020-09-16
leodengzx 2020-06-28
服务器端攻城师 2020-06-26
xcznb 2020-06-26
sapliang 2020-06-12
xasdfg 2020-06-01
bruce 2020-05-17
cuiweisaidelike 2020-05-11
songjie 2020-02-14
仁鱼 2020-02-12
furongwei 2020-05-10
丁丁爸爸的技术 2020-04-26
xcznb 2020-04-16
服务器端攻城师 2020-02-17
hygbuaa 2020-02-13
SoarFly00 2020-02-11