Socket Server based on spark architecture
verseion <v2.2.3>
- MulitPlexing- Non-Blocking Server
- Full-duplex pipe connections on Pool resources handling
- Job Sheduleing
- Find File and Transfer
- Word Count (Dev)
- Listen Server
- Cluster Manager
-
- Job Scheduling Handler(FIFO)
-
- Classifiy Jobs Handler
-
- Sub Tasks Handler
-
How to compile
-
at root dir
./FileC
source MakeFile && source MakeClient
-
How to run Server
./start_server
Client
./start_client
IMPORTANT
- SECRET NOT INCLUDED IN GIT, WRITE SECRET ON YOUR CONTROL.TXT
./server/control.txt'
./client/secret.txt
socket worked with asyncio -non blocking, needed to exception handling
- timeout :: close socket fd
- Connection failure:: close socket
- Retires :: close socket
- slow connection :: deal wtih timeout
- partial read :: caused by I/O error or slow network etc.. deal with terminate session