I am making multiple async requests in a loop. What I observe is that these 
requests are serviced in batches and in a particular batch all the requests 
are served in reverse order.

Here is a code snippet -

def _run_simulation(self, callback):
    async_callback = rpyc.async(callback)
    x = 0
    while x < 1000:
        async_callback({ "runtime" : time.time()})
        time.sleep(0.5)
        x += 1

Is it possible to ensure that the requests are somehow serviced in correct 
order ?
I am aware of the weakref issue and holding the async_callback reference as 
well.

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"rpyc" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to