文章列表
 
您正在查看 "Ace" 分类下的文章

2008-11-06 17:53
ACE中hash函数探究

---看花花不开

ACE中hash字符串的函数

u_long

ACE::hash_pjw (const char *str, size_t len)

 
2008-11-06 17:49

template <class T>   class ACE_Bounded_Stack

实现了一个一般的LIFO抽象数据类型

采用了自动分配空间的有限数组。提供了标准的 push, pop, and top操作。

 
2008-10-20 16:01

Efficient data transfer through zero copy


This article explains how you can improve the performance of I/O-intensive Java™ applications running on Linux® and UNIX® platforms through a technique called zero copy. Zero copy lets you avoid redundant data copies between intermediate buffers and reduces the number of context switches between user space and kernel space.

Many Web

 
2008-10-09 15:45
int PASCAL FAR recv( SOCKET s, char FAR* buf, int len, int flags);
函数本身没有超时设置,可以放到一个select集合中
     FD_ZERO(
 
2008-07-15 11:17

Service Access & Configuration Patterns

The Wrapper Facade design pattern encapsulates the functions and data provided by existing non-object-oriented APIs within more concise, robust, portable, maintainable, and cohesive object-oriented class interfaces.

The Component Configurator design pattern allows an application to link and unlink its co

 
2008-07-14 16:15
决定好好研究一下Jaws,用ACE写的Web Server
 
2008-07-14 13:50
作者:Douglas C. Schmidt ,by huihoo.org Thzhang 译)

目的

线程安全接口模式保证组件内方法互调用时不会发生自死锁现象,同时能够最小化加锁带来的负载。

例子

在设计线程安全的组件时,设计者必须注意避免自死锁和不必要的加锁负载,特别是当组件方法发生互相调用时。为了能够说明这个情况,考虑一个更加具体的File_Cache的组件实例:

template
class File_Cache
{
public:
// Return a pointer to the memory-mapped file
 
2008-07-11 19:07
只有socketTLISTREAM管道和FIFO

其他IPC如共享内存,消息等??
 
2008-07-10 13:41
http://docs.huihoo.com/ace_tao/double_checked_locking.html
 
2008-07-10 11:38
http://docs.huihoo.com/ace_tao/ACE-2002-12/Part-Two/Chapter-5.htm
而ACE_Task类似java中的Runnable接口
类似远程方法调用
其实现的关键点在于:
 必须为所有要从客户异步调用的方法编写方法对象。每个方法对象都派生自ACE_Method_Object,并会实现它的call()方法。

 
2008-07-07 14:56
addr.set (ACE_TEXT("HAStatus"), ACE_LOCALHOST);

这句中的HAStatus是什么含义?

网络编程世界中,有一些服务是"众所周知"(well-known)的。
如:
echo                7/tcp
echo                7/udp
discard             9/tcp  
 
2008-07-02 18:42
http://docs.huihoo.com/ace_tao/ACE-2002-12/Part-Two/Chapter-3.htm
 
2008-06-19 15:09
关于Solaris TCP/IP调优全面介绍
http://www.sean.de/Solaris/soltune.html

关于Linux异步I/O的设计

Kernel Asynchronous I/O (AIO) Support for Linux

http://lse.sourceforge.net/io/aio.html
 
2008-06-18 11:32

int ACE_Asynch_Read_Stream::open

 
2008-06-17 18:12
http://hi.baidu.com/zoupng/blog/item/af1f69fd31736141d7887d23.html
http://hi.baidu.com/zoupng/blog/item/e9e44fdd6d7863eb77c63824.html
 
   
 
 
文章分类
 
 
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