4 ms·
This is one of the projects that I’m really excited about. The thing that concerns me are it’s performance characteristics with it being written in Python. Vs s
by cpursley 4y ago
This is one of the projects that I’m really excited about. The thing that concerns me are it’s performance characteristics with it being written in Python. Vs something like PostgREST which is written in Haskell and blazing fast. Is there more info about performance and scaling of Edge?
- brylie 4y agoNot directly what you requested, but here is some info about recent and upcoming performance improvements in Python 3.11 and beyond: Improved CPython performance in 3.11 (released) - https://docs.python.org/3/whatsnew/3.11.html#whatsnew311-faster-cpython https://docs.python.org/3/whatsnew/3.11.html#whatsnew311-fas... Improved parallelism in 3.12 and 3.13 - https://github.com/faster-cpython/ideas/wiki/Python-3.12-Goals#multi-threaded-parallelism https://github.com/faster-cpython/ideas/wiki/Python-3.12-Goa... Improved memory efficiency in 3.12 - https://github.com/faster-cpython/ideas/wiki/Python-3.12-Goals#smaller-object-structs https://github.com/faster-cpython/ideas/wiki/Python-3.12-Goa... - https://github.com/faster-cpython/ideas/wiki/Python-3.12-Goals#reduced-memory-management-overhead https://github.com/faster-cpython/ideas/wiki/Python-3.12-Goa...
- Taikonerd 4y agoTo be clear, the query compiler (that turns an EdgeDB query into a SQL query) is written in Python. And AFAIK, compiling the query should be very fast compared to actually executing it!
- deleted 4y ago[deleted]
- Dowwie 4y agoLearning projects for proof-of-concept can be written in Python, but not a production database. It seems that Rust has been working its way from the corners towards the core. For instance,the edgedb-cli is a rather elaborate rust project. Hopefully, the adoption of Rust continues through the rest of the project. I love Python but it's not the right tool for the job.
- 1st1 4y agoAll hot paths are in Rust or C, Postgres is the engine under the hood. Performance shouldn't be a big concern for you and will likely greatly surprise you: https://www.edgedb.com/blog/why-orms-are-slow-and-getting-slower https://www.edgedb.com/blog/why-orms-are-slow-and-getting-sl...
- cpursley 4y agoOh, very good then! Looking forward to giving it a spin. Your docs are fantastic.