Re:Back end of Meta Threads is built with Python 3.10 with s...
by patrec on Thursday July 06, 2023 @02:50PM
(#36620918)
It wouldn't. Databases are fast, python is slow.
[ Parent
| on HN ]
Re:Back end of Meta Threads is built with Python 3.10 with s...
by jerrygenser on Thursday July 06, 2023 @10:19PM
(#36626201)
Network is slow. So you are waiting on the db for most of a request lifecycle.
Re:Back end of Meta Threads is built with Python 3.10 with s...
by pjmlp on Friday July 07, 2023 @03:51AM
(#36628567)
That depends on how much work is done in stored procedures instead of wasting network traffic and client CPU cycles to process the results.
Re:Back end of Meta Threads is built with Python 3.10 with s...
by patrec on Friday July 07, 2023 @04:26AM
(#36628849)
Network latency within an AWS AZ is <1ms and throughput is in the GB/s range.
What percentage of python webapps do you think are hitting this as their latency and throughput limit?
(Assuming effective DB use of course, i.e. not doing dozens of DB roundtrips to server a single result or getting megabytes of data and filtering on the client etc.)