Chinaunix首页 | 论坛 | 博客
  • 博客访问: 306344
  • 博文数量: 214
  • 博客积分: 4258
  • 博客等级: 上校
  • 技术积分: 2021
  • 用 户 组: 普通用户
  • 注册时间: 2010-12-02 09:16
个人简介

http://blog.csdn.net/ly21st http://ly21st.blog.chinaunix.net

文章分类

全部博文(214)

文章存档

2018年(16)

2015年(1)

2014年(2)

2012年(22)

2011年(173)

发布时间:2012-10-29 14:33:19

Redis Research(2)- C10K问题的解决 C10K问题的解决 C10K是每个写服务器端的人都会遇到的难题,就是如何使单机支持10K并发连接,并使得每个连接的反应时间都是在合理的范围内。这里有一份测评报告,可以看出Redis可以支持到64k的并发(需要修改源文件重新编译)。x轴是并发连接数,y轴是每秒能处理.........【阅读全文】

阅读(1032) | 评论(0) | 转发(0)

发布时间:2012-08-28 17:46:02

http://www.ibm.com/developerworks/cn/websphere/library/techarticles/0804_wangyuming/index.htmlhttp://blog.chinaunix.net/u1/43664/showart_346282.html 线程创建1.1 线程与进程相对进程而言,线程是一个更加接近于执行体的概念,它可以与同进程中的其他线程共享数据,但拥.........【阅读全文】

阅读(1115) | 评论(0) | 转发(0)

发布时间:2011-12-27 19:59:31

#include <stdio.h>#include <string.h>#define ISNULL(pszIn)  pszIn==NULL static char* AFA_DoubleByteToByte(char* pszIn,unsigned int inLen,char* pszOut,unsigned int* outLen){ int  i; int  j; char HIBYTE; char LOBYTE;  i.........【阅读全文】

阅读(395) | 评论(0) | 转发(0)

发布时间:2011-12-25 19:40:47

#include <stdio.h>#include <stdarg.h>void print_int(int n,...){ va_list vargs;  int num;  int i;  va_start(vargs,n);  for (i=0; i < n; i++) {  num = va_arg(vargs,int );  printf("%d\n",num);  }} int main(){ .........【阅读全文】

阅读(340) | 评论(0) | 转发(0)

发布时间:2011-12-20 21:39:13

文件share_proc.c #include <stdio.h>#include <stdlib.h>#include <sys/types.h>#include <sys/shm.h>#include <string.h>#include <unistd.h>#include <sys/wait.h> struct A{       int x;  &nb.........【阅读全文】

阅读(496) | 评论(0) | 转发(0)
给主人留下些什么吧!~~
留言热议
请登录后留言。

登录 注册