I have to create a python (twisted) application that accepts connections from clients via XML-RPC and performs operations that might require multiple steps. The xml-rpc implementation does not have typical session support, so I need to implement it.
What I think I need is a some type of persistent object that tracks the progress of the multi-step operations, and gives the client a key that it can use to identify the operation that it initiated, to get status updates or send commands (pause/cancel etc).
To me, an appropriate model for this is “Job”; googling for “python job library” yields expected useless results.
Before I implement this, is there something existing that I can use instead?
Thanks!
I think you can have a persistent object in the server, something like :