易截截图软件、单文件、免安装、纯绿色、仅160KB

Linux virtual server【LVS】

1. Two methods to construct the cluster of servers
(1). DNS based load balancing cluster
DNS load balancing is probably the simplest method to build network
service cluster. It uses Domain Name System to distribute requests to
different servers through resolving the domain name to different IP
addresses of servers. When a DNS request comes to the DNS server to
resolve the domain name, the DNS server gives out one of server IP
addresses based on scheduling strategies, such as in round-robin
manner, then subsequent requests from clients using the same local
caching name server are sent to the same server in the specified
time-to-live (TTL) of name resolving.
(2). Dispatcher based load balancing cluster
Dispatcher, also known as load balancer, can be used to distribute
load among servers in a cluster, so that the parallel services of
servers can appear as a virtual service on a single IP address, and
end users interact as if it were a single server without knowing all
servers in clusters. Compared to DNS based load balancing, dispatcher
can schedule requests at fine granularity, such as per connection, for
better load balancing among servers. Failure can be masked when one
server or more fail. Server management is becoming easy, and
administrator can take a server or more in and out of service at any
time, which won't interrupt services to end users.
2.  What is virtual server?
Virtual server is a highly scalable and highly available server
built on a cluster of real servers. The architecture of server cluster
is fully transparent to end users, and the users interact with the
cluster system as if it were only a single high-performance virtual
server.(LVS集群采用IP负载均衡技术和基于内容请求分发技术。调度器具有很好的吞吐率,将请求均衡地转移到不同的服务器上执行,且调度器自动屏蔽掉服务器的故
障,从而将一组服务器构成一个高性能的、高可用的虚拟服务器。整个服务器集群的结构对客户是透明的,而且无需修改客户端和服务器端的程序。)
3. How virtual s


相关文档:

实战Linux Bluetooth编程(三) HCI层编程

1. HCI层协议概述:
HCI提供一套统一的方法来访问Bluetooth底层。如图所示:
从图上可以看出,Host Controller Interface(HCI)  就是用来沟通Host和Module。Host通常就是PC, Module则是以各种物理连接形式(USB,serial,pc-card等)连接到PC上的bluetooth Dongle。
在Host这一端:application,SDP,L2cap等协议 ......

实战Linux Bluetooth编程(六) L2CAP编程实例

例一:发送Signaling Packet:
Signaling Command是2个Bluetooth实体之间的L2CAP层命令传输。所以得Signaling Command使用CID 0x0001.
多个Command可以在一个C-frame(control frame)中发送。
 如果要直接发送Signaling Command.需要建立SOCK_RAW类型的L2CAP连接Socket。这样才有机会自己填充Command Code,Identi ......

Linux的裁剪

 
 
Linux的裁剪
=======================================
好些时候,我们需要一个只要一张软盘就能启动Linux 的系统,比如说做路由器。但是我们该怎样做呢? 也就是说我们要把Kernel和FileSystem都做在一张3.5'的盘上。我们先把FileSystem 分解成如下几个部分吧。
  1. /bin目录下的文件
  bin目录通 ......

linux的platform驱动

 从Linux 2.6起引入了一套新的驱动管理和注册机制:Platform_device和Platform_driver。
Linux中大部分的设备驱动,都可以使用这套机制, 设备用Platform_device表示,驱动用Platform_driver进行注册。
 
Linux platform driver机制和传统的device driver 机制(通过driver_register函数进行注册)相比,一个十 ......

[整理]Linux命令 档案目录管理

档案目录管理 ls
语法: ls [-alrtAFR] [name...]
说明: 显示指定工作目录下之内容(列出目前工作目录所含之档案及子目录)。   
参数:
  -a 显示所有档案及目录 (ls内定将档案名或目录名称开头为"."的视为隐藏档,不会列出)
  -l 除档案名称外,亦将档案型态、权限、拥有者、档案大小等资讯详细列出
  -r ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号