爱意满满的作品展示区。
lianghui

分享 群聊天服务

  •  
  •   lianghui ·
    whiteclover · Jan 21, 2015 · 2669 views
    This topic created in 4184 days ago, the information mentioned may be changed or developed.

    不完整项目, 因为下周要上班了,会很长时间没空,如果要构建成分布式大概会很久以后有空时继续构建了。

    基本的框子已经构建,有兴趣的可以拿去试试,当然有兴趣可以加入开发,发邮件给我。

    采用的一些技术库:

    1. libevent
    2. google pb
    3. pcre
    4. 后期可能会用到hiredis,与boost。

    目前单线程模式估计能撑个5k sockets,每个套接字均摊 10个信息容量每秒。

    基本底层网络和http协议已经封装完成。
    如果想用python搭建social服务,可能要求掌握http服务构建技术等。

    https://github.com/thomashuang/clover/tree/master/cpp/clover

    1 replies    2015-01-21 22:10:35 +08:00
    miao
        1
    miao  
       Jan 21, 2015
    非常不错
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1192 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 23:36 · PVG 07:36 · LAX 16:36 · JFK 19:36
    ♥ Do have faith in what you're doing.