News for hackers. Stuff that matters.
Re:A Sad Day for Rust by namibj on Friday January 17, 2020 @07:43PM (#22081298)
I'm curious what you'd recommend instead for async pgsql requirements as a Rust web framework. Actix seemed interesting, but I didn't know about the masses of unsafe. These too eliminate it, because it'd be able to crash/break a cluster that uses deliberate unsoundness for its serialization/deserialization needs in the vain of speed (timely-dataflow), allowing memory issues to spread (at least in theory)... I thus can't use a framework that uses this much unsafs/has known stray pointers or similar bugd/issues.
Re:A Sad Day for Rust by _-___________-_ on Saturday January 18, 2020 @08:20AM (#22084276)
We use tokio-postgres. Previously we had our own connection pool implementation, but we recently switched to deadpool.
Re:A Sad Day for Rust by namibj on Sunday January 19, 2020 @11:04AM (#22092084)
Thanks! The pipelining is just really important to get proper performance out of CockroachDB (mostly due to network and coordination overhead due to it's cluster architecture).