A simple WebSocket benchmark in Python
Briefly

Modern web applications often use the http/https protocols. However, when the server and client needs to talk to each other in a symmetrical fashion, the WebSocket protocol might be preferable. For example, if you want to program a multiplayer video game, the WebSocket protocol is almost surely better than http.
What about Python? I wrote my client using standard code, without any tweaking: Python has several different frameworks to build WebSocket servers. I picked two that looked popular and mature: sanic and blacksheep.
Read at Daniel Lemire's blog
[
add
]
[
|
|
]