-
Notifications
You must be signed in to change notification settings - Fork 2
Syllabus
Xun Gong edited this page Jul 9, 2019
·
7 revisions
implement a client-server protocol using golang. With naive tests.
- for example,
program 1
send msg toprogram 2
,program 2
handles the msg and forward toprogram 3
,program 3
does the action asprogram 2
and send msg toprogram 1
,program 1
check msg. - Tests will not be provided, the propose of this project is to learn forward message and mutli-threads(2 program with both client and server), test this project by yourself.
- Hint: Naive client-server
Implement DHT: using any one model is allowed. With naive and strong tests. E.g. chatroom, torrent, dht-filesystem.
-
Requirements can be seen in Requirements.
-
Detail of tests can be seen in Tests or source code.
Can only use packages provided by offical-golang
Build a higher level application on top of your DHT
- No test.
- E.g.
dht-chatroom
,dht-file system
,dht-torrent
.
: implement DHT with another algorithm (as mentioned above in overview), or optimize your application.