News for hackers. Stuff that matters.
Re:Back end of Meta Threads is built with Python 3.10 with s... by coding123 on Thursday July 06, 2023 @01:08PM (#36619226)
Whether it's in C++ or Rust or Python, almost all of any slowness would be from database waiting anyway.
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.
Re:Back end of Meta Threads is built with Python 3.10 with s... by patrec on Thursday July 06, 2023 @03:27PM (#36621473)
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.)

Re:Back end of Meta Threads is built with Python 3.10 with s... by chaoz_ on Thursday July 20, 2023 @07:09AM (#36798958)
True... When I measured something similar in a large python app, the biggest chunk of time went into python object serialization/deserialization.
Re:Back end of Meta Threads is built with Python 3.10 with s... by DeathArrow on Thursday July 06, 2023 @03:13PM (#36621278)
Not really. Look at Techempower web benchmarks.