supavisor icon indicating copy to clipboard operation
supavisor copied to clipboard

listen/notify support with transaction pooling

Open chasers opened this issue 2 years ago • 4 comments

Inspired by allas

Use a single connection to proxy listen notify requests to all clients.

chasers avatar May 10 '23 17:05 chasers

It looks that right now listen notify requests open new connections and eventually overflow the system. Is there a work around?

JanRuettinger avatar Feb 28 '24 22:02 JanRuettinger

+1. can confirm that listen notify also overflows the system.

psteinroe avatar May 03 '24 10:05 psteinroe

What do you all mean "overflow the system"?

Since listen requires a connection per listen command if you listen to too many topics you can create too many connections.

Don't listen to more topics than your pool_size and make sure to use session mode (for now).

chasers avatar Jul 09 '24 21:07 chasers

What do you all mean "overflow the system"?

Since listen requires a connection per listen command if you listen to too many topics you can create too many connections.

Don't listen to more topics than your pool_size and make sure to use session mode (for now).

If I remember correctly it was something on my side. Either wrong mode or just too many listeners due to falsy settings on the client side.

not an issue for me anymore.

psteinroe avatar Jul 09 '24 21:07 psteinroe