Re:Container-to-Container Communication
by miketheman on Tuesday December 28, 2021 @04:04PM
(#29718155)
It may, but this is considering the overhead incurred in the local setup - calling the app through a Docker Desktop exposed port.
Running locally on macOS produces ~5000 TPS.
The `ab` parameters are also not using any sort of concurrency, and perform requests sequentially. The test is not designed to maximize TPS or saturate the resources, rather isolate variables to perform the comparison.
[ Parent
| on HN ]
Re:Container-to-Container Communication
by hamburglar on Tuesday December 28, 2021 @06:20PM
(#29719568)
But this test becomes a lot more interesting when the bottleneck is the actual thing under scrutiny (socket performance), rather than Whatever Python Is Doing. You can probably get 10-20x the RPS out of a trivial golang server, which might shift the bottleneck closer to socket perf.
Re:Container-to-Container Communication
by miketheman on Tuesday December 28, 2021 @10:24PM
(#29721441)
Possibly! I wasn't trying to get the highest RPS, rather find a baseline and compare per architecture. I also wrote what I knew how write in a short amount of time. ;)