3 ms·
Congrats on the launch! How do folks deal with the latency of not being able to run EdgeDB on the same server as their managed Postgres service (e.g. RDS)? Fu
by jzelinskie 4y ago
Congrats on the launch!
How do folks deal with the latency of not being able to run EdgeDB on the same server as their managed Postgres service (e.g. RDS)?
Full disclosure: I work on SpiceDB[0] which is a fine-grained permissions database. SpiceDB can also be backed by Postgres, but we form a distributed cache with our database instances so that trips to the datastore (e.g. Postgres) are avoided at all costs.
[0]: https://github.com/authzed/spicedb https://github.com/authzed/spicedb
- 1st1 4y agoEdgeDB is super efficient in its communication with the postgres backend. Most of the time there's only one roundtrip for any query. So chances are, because of how you can pipeline many operations in EdgeQL into one single query, the latency is still going to be far better than a typical ORM+Postgres combination. That said, we're working on our cloud, all hands on deck. There you wouldn't have any additional latency.