plan9-archive
/
tully
Code
Issues
Pull Requests
Antique
Wiki
Insights
/
Code
History
Commits on
master
11
JF
Accept table size as optional command line parameter
John Floren committed 14 years ago
a7cee0a
JF
cleaned up
John Floren committed 14 years ago
e9523ce
JF
Added README
John Floren committed 14 years ago
34c4308
JF
Moved main.c to plan9.c to be more accurate
John Floren committed 14 years ago
673d73a
JF
Fixed it up for Plan 9 again
John Floren committed 14 years ago
2b14b69
JF
Linux now seems to be working; I ran it with 100 clients doing gets and sets, didn't experience any crashes. Gets are still oddly slow (on the order of 20 per second), may be the implementation of rwlocks in pthreads?
John Floren committed 14 years ago
f26257e
JF
Added initial Linux support
John Floren committed 14 years ago
9d4b536
JF
use the Redis port
John Floren committed 14 years ago
855e8c0
JF
Added locking of the hash table, for concurrency. We also now make a *copy* of the data that is passed in with "set", and make a copy of the data in the hash table for "get", to keep things cleaner. Information about a client connection is now stored in a "Client" struct, which makes management simpler. Much more error checking in the main handler loop. The reason the server was failing for more than one client was that I had forgotten to set RFFDG when forking.
John Floren committed 14 years ago
8af8767
JF
Added actual linked-list behavior to the hash table. Also did some code cleanup, added support for various replies.
John Floren committed 14 years ago
689551f
JF
initial commit. able to do gets and sets over the network. ugly code.
John Floren committed 14 years ago
467bc9a