文章列表
 
您正在查看 "服务器编程" 分类下的文章

2008-12-23 10:54
http://www.cherokee-project.com/benchmarks.html
同样是一个开源项目,采用C语言
 
2008-11-07 15:23

socket 中的数据移动是使用一个所谓的 socket 缓冲区(sk_buff)的核心结构实现的。sk_buff 中包含了报文数据,以及涉及协议栈中多个层次的状态数据。所发送或接收的每个报文都是使用一个 sk_buff 表示的。sk_buff 结构是在 linux/include/linux/skbuff.h 中定义的,如图

 
2008-09-17 11:48

POCO C++ Libraries: About

"Without a good library, most interesting tasks are hard to do in C++;
but given a good library, almost any task can be made easy."

Bjarne Stroustrup

Next generation C++ class libraries for network-centric applications.

下一代的网络编程C++库。

POCO, the C++ Portable Components, is a col

 
2008-07-11 19:45

子例程(subroutine)是经常使用的一种程序流程,父例程在调用子例程的时候暂时中断自身的流程,将控制转到子例程的起点,然后一直到子例 程返回才继续父例程的流程。这是一种栈式的调用,就是说后进入的子例程,却要先返回。因此许多程序都是用栈来存放子例程的局部运行环境,因为当子例程返回 后,这个局部的运行环境就不需要了,也就是后进先出。

然而,有些例程之间并不是父例程调用子例程这种嵌套的关系,而是并行的协同关系,当一个例程运行时,需要另外一个例程所不断产 生的结果,例如两个通过管道连接的

 
2008-07-09 16:19
因为工作的需要,今天刚安装了sqlite,我从网上下了sqlite-3.2.1.tar.gz。我是按照“readme"来进行的,步骤如下:tar zxf   sqlite-3.2.1.tar.gz
                        mkdir bld
                        cd bld
                
 
2008-07-09 11:47

Why Threads Are A Bad Idea
(for most purposes)

John Ousterhout

Sun Microsystems Laboratories

john.ousterho

 
2008-07-09 10:36
Why Events are a Bad Idea (for High-concurrency Servers)
Rob von Behren et al.
HotOS 2003
原文:
http://www.usenix.org/events/hotos03/tech/full_papers/vonbehren/vonbehren_html/index.html
http://www.usenix.org/events/hotos03/tech/vonbehren.html

作者认为对于高度并发的服务器应用,设计良好的线程模型要优于事件模型。其一个基本出发点是LauerNeedham 1978年提出的essage-passing systems and process-based system
 
2008-07-08 14:29

Lighttpd+Squid+Apache搭建高效率Web服务器


架构原理

Apache通常是开源界的首选Web服务器,因为它的强大和可靠,已经具有了品牌效应,可以适用于绝大部分的应用场合。但是它的强大有时候却显得笨重,配置文件得让人望而生畏,高并发情况下效率不太高。而轻量级的Web服务器Lighttpd却 是后起之秀,其静态文件的响应能力远高于Apache,据说是Apache的2-3倍。Lighttpd的高性能和易用性,足以打动我们,在它能够胜任的 领域,尽量

 
2008-07-08 14:21
如何1000万量级文件拷贝的速度
以及对于web server性能的影响
 
2008-07-07 17:39

项目主页:http://www.acme.com/software/thttpd/

#ifndef _TIMERS_H_
#define _TIMERS_H_

#include <sys/time.h>

#ifndef INFTIM
#define INFTIM -1
#endif /* INFTIM */

/* ClientData is a random value that tags along with a timer. The client
** can use it for whatever, and it gets passed to the callback when the
** timer triggers.
*/
typedef union {
  
 
2008-07-07 17:27
http://groups.google.com/group/dev4server/browse_thread/thread/581b5ca291bf1654/#
 
2008-07-07 17:00
请教大家一下, server中的定时机制(timer)该怎么做 ?
http://groups.google.com/group/dev4server/browse_thread/thread/9f0f0c91b72ed759/#
大家认为采用类似ACE下的time queue效果较好

 
2008-07-03 14:12

Abstract Factory [GoF95] provides an interface for creating families of related or dependent objects without specifying their concrete classes.

Abstract Manager [Lieb01] focuses on the management of business objects in enterprise systems.

Activator [Stal00] helps to implement efficient on-demand activation and deactivation of services that are ac

 
2008-07-02 18:30
#include <stdio.h>
#include <stdlib.h>
#include <errno.h>
#include <string.h>
#include <sys/types.h>
#include <netinet/in.h>
#include <sys/socket.h>
#include <sys/wait.h>
#include <unistd.h>
#include <arpa/inet.h>
#include <openssl/ssl.h>
#include <openssl/err.h>
#include <fcntl.h>
#include <sys/epoll.h>
#include <sys/time.h>
#include <sys/res
 
2008-07-02 17:56
在http://www.cppblog.com/CppExplore/archive/2008/04/02/46111.aspx
中提到:
accept
函数在多路复用函数之前,主线程在accept处阻塞,多个从线程在多路复用函数(
 
   
 
 
文章分类
 
 
Cdn(17)
 
Linux(57)
 
Grid(2)
 
P2p(8)
 
 
 
Ace(36)
 
Hps(16)
 
web2.0(60)
 
 
 
News(4)
 
 
Hadoop(57)
 
 
c++(31)
 
Stl(6)
 
 
 
 
Life(11)
 
 
 
 
Lucene(28)
 
 
 
Java(26)
 
 
Shell(12)
 
 
 
 
 
 
Python(43)
 
 
 
Fun(1)
 
 
 
 
 
 
Http(5)
 
 
 
 
 
Gh(4)
 
 
Test(6)
 
 
Sun(3)
 
 
 
 
Vm(6)
 
Gnome(61)
 
 
Gnu(44)
 
Ubuntu(21)
 
Js(1)
 
Fc(2)
 
 
Webkit(49)
 
 
 
A11y(3)
 
 
Vim(2)
 
 
 
 
Jfkj(0)
 
 
 
Ibm(1)
 
Kvm(1)
 
   
 
文章存档
 
     
 
最新文章评论
  

为什么我在多机的情况下显示是0 nodes ,你是怎么做到的啊
 

没有数据 没有脚本。没有论文引用。
 

沙发..
 

这篇文章不知道原作者到底是谁,各论谈博客到处都是,就没有工具URL,搞什么啊。
 

这篇文章不知道原作者到底是谁,看到了N处都不,就没有工具URL,搞什么啊。
   
帮助中心 | 空间客服 | 投诉中心 | 空间协议
©2012 Baidu