graduation_design

所属分类:云原生工具
开发工具:C
文件大小:37KB
下载次数:0
上传日期:2016-05-17 06:33:16
上 传 者sh-1993
说明:  我在华中科技大学的毕业设计,编写了一个通过服务器集群和负载平衡增强的客户机-服务器。
(My graduation design at HUST, writing a client server enhanced with server cluster and load balance.)

文件列表:
LICENSE (11324, 2016-05-17)
Makefile (1640, 2016-05-17)
Makefile.out (1640, 2016-05-17)
doc (0, 2016-05-17)
doc\document (1999, 2016-05-17)
doc\note (756, 2016-05-17)
include (0, 2016-05-17)
include\rtt.h (1007, 2016-05-17)
include\server.h (4316, 2016-05-17)
include\server.h~ (5308, 2016-05-17)
src (0, 2016-05-17)
src\client.c (7490, 2016-05-17)
src\client_win.c (3418, 2016-05-17)
src\proxy.c (10509, 2016-05-17)
src\proxy1.c (10513, 2016-05-17)
src\util (0, 2016-05-17)
src\util\error.c (2003, 2016-05-17)
src\util\rtt.c (3026, 2016-05-17)
src\util\send_recv.c (2725, 2016-05-17)
src\util\wraplib.c (769, 2016-05-17)
src\util\wrappthread.c (3117, 2016-05-17)
src\util\wrapsock.c (5991, 2016-05-17)
src\util\wrapstdio.c (706, 2016-05-17)
src\util\wrapunix.c (4305, 2016-05-17)
src\worker.c (12018, 2016-05-17)
tags (32433, 2016-05-17)

#What is this This is my graduation design at Hust. I want to write a client server architecture computing program. which client send request, and then server execute computing program and send result back #Bsic idea 1. Using proxy worker model, proxy accept request and select a worker, using some load balancing method, and forward that request. 2. Worker fork a child, let he execute the computing program on that recieved data, hint: design the computing program as a .so. 3. Using basic C socket to communicate between client and proxy, proxy and worker. data file sent is small, less than 10M, typically 100KB. 4. load balancing is direved from apache httpd, called [mod_lbmethod_byrequests](https://httpd.apache.org/docs/current/mod/mod_lbmethod_byrequests.html).

近期下载者

相关文件


收藏者