News for hackers. Stuff that matters.
Re:How we built a serverless SQL database by sharps_xp on Tuesday October 26, 2021 @03:06PM (#29004817)
Why do you prefer an HTTP API versus a DB connection? Isn't the former going to inherently have the overhead cost of creating the connection + TLS handshakes?

My question is similar, which is, is CockroachDB going to have an equivalent RDS proxy so that apps can handle traffic spikes and not have to deal with problems with DB connection pools

Re:How we built a serverless SQL database by pistoriusp on Tuesday October 26, 2021 @03:29PM (#29005101)
I think we won't be getting socket connections in some of the wasm powered JS runtime engines soon. Using http solves that, and a bunch of caching issues.
Re:How we built a serverless SQL database by estambar on Tuesday October 26, 2021 @04:36PM (#29005914)
there are some great projects that present an http api for postgres that you could use with CRDB I think. I'm thinking of something like https://github.com/pramsey/pgsql-http
Re:How we built a serverless SQL database by pistoriusp on Tuesday October 26, 2021 @04:40PM (#29005979)
Now it would be awesome if we could use Prisma against an open standard like this.