Source

thrifty-p2p / storeserver.py

Author Commit Message Labels Comments Date
Adam Lindsay
Use introspection to handle the BaseHandler.service_type resolution. Should be no need to worry about writing those methods any more.
Adam Lindsay
Swapped 'destination' and 'method' in the signature for (generic_)remote_call(): with introduction of partials, it's now easier to have dedicated client commands as functions.
Adam Lindsay
Simplification and service_type differentiation through find_matching_service()
Adam Lindsay
Added service_type(s) method calls, refactored to generic_remote_call. Use of functools.partial creates dependency on Python 2.5
Adam Lindsay
Added parsing options for all utilities.
Adam Lindsay
some more diststore cleanup, especially with cleanup() ordering.
Adam Lindsay
storeserver.StoreHandler.cleanup() appears to work now, added storetest.py
Adam Lindsay
Diststore move to oneway. Added storeprimer.py.
Adam Lindsay
Simpler and much more effective notification passing around the ring
Adam Lindsay
Diststore example now has key-value handover when adding/removing nodes. Some extra documentation.
Adam Lindsay
Quietened the output, first steps (commented) to storage rebalancing on add
Adam Lindsay
Debugging my changes in hash_ring, handover on server exit
Adam Lindsay
Refactor setup/teardown code into LocatorHandler, example usage strings
Adam Lindsay
Storage example clients
Adam Lindsay
Distributed key/value storage example