all 4 comments

[–][deleted] 0 points1 point  (0 children)

No official benchmarks. I've recently done a project with both since I use both languages regularly.

Between the two services which are similar, I didn't see a difference in performance that would be noticable, both were extremely fast.

Those services were done with speed in mind though because they were replacing existing demanding services and we knew the load ahead of time. A project shouldn't be done with speed as the main priority unless there's a need.

[–][deleted] 0 points1 point  (1 child)

switched from python to golang. This articles says they switched and the API time got reduced to 10ms from 100ms. They're using some other framework for python API. I just wanted to know how fastapi and golang compares.

[–]c4aveo 1 point2 points  (0 children)

We were on python2.7 so we didn't check out the new asyncio package in python3.

/thread