tokio-rs / website

Website for the Tokio project
https://tokio.rs
MIT License
231 stars 328 forks source link

Async database: there is a driver #93

Closed P-E-Meunier closed 4 years ago

P-E-Meunier commented 7 years ago

Hi! While teaching a friend about tokio, I read that there was no async database driver yet. Turns out I wrote one, called pleingres, and used it successfuly for a few months now on nest.pijul.com. May I write a pull request to replace that page with examples using postgres?

nelsonjchen commented 7 years ago

One of the aspects of that page I saw which was valuable to me was to demonstrate using pre-existing synchronous code from asynchronous code with the help of thread pools and whatnot. Maybe it should be updated to reference pleingres, but note that the example is intentionally handicapped to demonstrate that kind of usage.

kanerogers commented 6 years ago

Agreed with @nelsonjchen - I think it's a good idea to demonstrate async/sync interop.

Darksonn commented 4 years ago

I am closing this as it is an issue about a guide that no longer exists.