Re: Async client libraries - not worth it? - Mailing list pgsql-general

From Rob Nikander
Subject Re: Async client libraries - not worth it?
Date
Msg-id 8E022FF4-1C5E-4373-B962-E1662AE722C6@gmail.com
Whole thread Raw
In response to Re: Async client libraries - not worth it?  (Dave Cramer <pg@fastcrypt.com>)
Responses Re: Async client libraries - not worth it?
List pgsql-general


On Jun 17, 2019, at 1:12 PM, Dave Cramer <pg@fastcrypt.com> wrote:


Seems to be worth it.

Now it appears that ADBA is going to die on the vine, R2DBC and vertx seem to be pretty good

The “async” frameworks are faster, but I think they might be getting the performance gain not from the async DB API, but from the fact that they don’t block OS threads that are handling frontend HTTP requests. They may be using an async DB API to achieve that, but they *could* (I think) also use traditional JDBC and other general purpose concurrency tools from Java’s standard library.  That way would be easier to reason about, in my opinion.

I may just have to write something both ways and wait to get real world experience with it to see how it goes.




pgsql-general by date:

Previous
From: Dave Cramer
Date:
Subject: Re: Async client libraries - not worth it?
Next
From: Tiemen Ruiten
Date:
Subject: Re: checkpoints taking much longer than expected