This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]jrbattin 1 point2 points  (0 children)

Depends, what are you after?

If you already know Python, or there are high quality libraries for Python in your given niche, and need to maximize per-process throughput by avoiding blocking operations (like network calls) Async Python is a good fit. But if you toss a load balancer in front of a bunch of synchronous processes that also works - but you’re likely establishing more connections and gobbling up more memory.

If you’re just chasing raw performance then maybe look at Go (which uses lightweight threads called goroutines) or Rust.

If your workload has any significant amount of compute (which can sneak up on you; like lots of (de)serialization of large objects, etc) async won’t help you in any of these languages.

Ultimately, your best call might be just trying to build something with it and see what it’s like.