自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(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

reliable reconnect rabbitmq-c client. basic get and publish. reconnect when fail

2018-07-16

trade server use evpp test

use callprogram sys to call other system. modify vlogger

2018-07-04

evpp so load system

load so and run. server listen, subprocess connect .

2018-07-02

trade middle ware

trade system. load so and run it. max qps 20000. server listen and send. subprocess connect and recv. should be placed on one machine. linux gcc 4.8

2018-06-29

packet parser

fast k_c_x_p client , fast k_c_b_p parser just for test

2018-06-12

nonblocking server

use murmurhash3 and http status print out delete logs

2018-06-11

nonblocking switch server

fix bugs when packets are too large. improve performance too

2018-06-07

simple exchange platform client

a simple exchange platform client, not used. experimental product

2018-06-01

nonblocking async transfer server

nonblocking using lock_free queue , evpp framework

2018-05-30

event_server

event server with high performance logger ,async write

2018-05-09

evpp based echo server

simple net framework , echo server use qihoo360 open source code evpp

2018-05-03

libevent echo server

libevent example. echo server. use c++11 gcc 4.8.5 thread_pool singleton , io thread , servant thread layer

2018-04-24

lua and acl example

lua call c++, c++ call lua, c++ call lua with lua call c++ so

2018-02-06

thrift with memfunc and uid generator

thrift with uid generator , 28bits wide uuid , 100 year does not be same

2018-01-30

pddl thrift AccessServer

p distributed database framework AccessServer is the wrapper

2018-01-23

thrift server support db operation and rest protocol

modified thrift server , support rest , http protocol with json content . support multi oracle db

2018-01-18

20180111 ieap

use TNonblockingServer framework. getsnap to see which func servant is running

2018-01-11

AnalyzeServer 20180109 with DBConnPool

thrift with DBConnPool using Pro*C ThriftClientPool mem_func logger

2018-01-09

thrift example

thrift server. use client connection pool. singleton conf , async logger and utility classes

2018-01-04

quick fix tester

use quick fix framework to test step protocol. an example for fun

2017-11-21

log file tailer

like linux tail -f command. tail file and format to another line

2017-11-21

exchange processor

middle ware for soft . exchange processer just a queue

2017-11-21

tdx market quotes getter

tdx market quotes caller, test which quote is faster

2017-11-21

Logic business module Tester

lbm caller exapmle use kcbpapi dll just for an test.

2017-11-21

BinaryRecorder

Binary protocol implemented。 just an example. async logger

2017-11-21

prpc_20181112

adding multi server and echo function to prpc framework

2018-11-12

prpc_20181109

using multi event loop in client api. using one channel all client stub share it.

2018-11-09

coroutine using phxrpc

coroutine example, using phxrpc coroutine framework, receive data from upstream and set redis, qps 12w

2018-11-01

transparent proxy

transparent proxy like haproxy. auto testing broken conn tps 300000

2018-09-29

soft like haproxy

hello world program just for test. using evpp for transparent proxy

2018-09-19

prpc rpc framework

modify memory leak bugs. and multithread client press case. 40 w qps

2018-08-28

remote procedure call using protobuffer

protobuffer server remote procedure call framework. using evpp and brpc library

2018-08-21

get class name c++

get class's name. include namespace. use abi damangle

2018-08-08

modp_base64

chrome's base64 encode and decode cpp classes. high performancy

2018-08-08

brpc doubly_buffered_data test

modify brpc library doubly_buffered_data class. test performancy. 100000000 test Get total : 16557607309 ns, avg 165 ns Set total : 21681584661 ns, avg 216 ns

2018-08-07

beanstalkd test client

beanstalkd test client. press test producer and consumer

2018-08-01

snappy library

libsnappy.so C++ library examples. it can work on cmake 2.8.12

2018-07-25

rabbitmq-c client publish get example

rabbitmq exapmles。 declare exchange and queue. the articles in baidu do not help, I have to write examples that can work. basic_publish and basic_tet

2018-07-13

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除