I'm trying to create an API for a chat service. Sending a request after another is required for the chat to work. I started implementing it with Python requests but it was very slow. I also tried using a single session for every request...
It never matched the performance of MooTools and jQuery when I created an API on the browser in JS. What could be the reason and is there a way to make Python requests work faster?