what is the proper way of handling web sockets in python?
I've a connection where I can receive 3 types of messages where each goes through their own own pathway of processing
what I thought of is; in my receive loop, just put all the raw messages into a async queue. have another task categorize them to 3 different async queues and finally have 3 more tasks that consume the categorized queues and do the necessary processing
it sounds retarded but I cant think of a more efficient way
(each of these message types end in database ops or api calls using the data etc)