Code

History

Commits on master11
  1. Accept table size as optional command line parameterJohn Floren committed 14 years agoa7cee0a
  2. cleaned upJohn Floren committed 14 years agoe9523ce
  3. Added READMEJohn Floren committed 14 years ago34c4308
  4. Moved main.c to plan9.c to be more accurateJohn Floren committed 14 years ago673d73a
  5. Fixed it up for Plan 9 againJohn Floren committed 14 years ago2b14b69
  6. 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 agof26257e
  7. Added initial Linux supportJohn Floren committed 14 years ago9d4b536
  8. use the Redis portJohn Floren committed 14 years ago855e8c0
  9. 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 ago8af8767
  10. Added actual linked-list behavior to the hash table. Also did some code cleanup, added support for various replies.John Floren committed 14 years ago689551f
  11. initial commit. able to do gets and sets over the network. ugly code.John Floren committed 14 years ago467bc9a