Python Tornado Websocket Handler blocks while receiving data -


i have 2 pretty simple tornado-based websocket handlers running in same process, each of function on own. however, when 1 receiving large amount of data (>8mb) process blocks , other unable process messages until of data has been received. there way can around , prevent tornado blocking here?

tornado works large amount of short concurrent requests. not split long request smaller ones. process blocks.

why passing big amount of data using sockets? final solution depends on answer question.

if don't have big requests - use haproxy in front of multiple tornado instances.


Comments

Popular posts from this blog

css - Which browser returns the correct result for getBoundingClientRect of an SVG element? -

gcc - Calling fftR4() in c from assembly -

Function that returns a formatted array in VBA -