3 ms·
Thanks! I asked because i’m looking at the same problem, though at a smaller scale than you guys. I decided to build our personalization API using Python’s Fla
by shrumm 9y ago
Thanks! I asked because i’m looking at the same problem, though at a smaller scale than you guys.
I decided to build our personalization API using Python’s Flask, worked great at the start because it helped us move quickly adding new features. 6 months later, we have more clients and hence more traffic, the response times have gone up significantly. I ran a benchmark doing a simple db query which returns the result as JSON with the apache benchmark tool and found my Golang implementation to be in the order of 20-25x faster, compared to falcon which is meant to be a lot faster than Flask.
Decided to just go ahead and implement the most performance sensitive parts of the API in Go.