> 
> 2. A cleanup function is introduced. This is a function that is called after 
> the server-side RPC call is finished and the result has been written to the 
> socket. It is possible for the call to setup cookies that can be passed from 
> the RPC call to the cleanup.
> 
> I haven't paid too much attention to the thrift server side implementation; 
> does equivalent function exist? Perhaps it can be modeled as a destructor or 
> finalizer?
> 
> 

I think this would be a good idea. In our build, we added support for being 
able to have callbacks fired after an RPC call had finished writing the data 
back to the client. This can help with any specific cleanup or server-side 
tracing/profiling.

-Chris

Reply via email to