Re: LISTEN / NOTIFY performance in 8.3

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Joel Stevenson <joelstevenson@xxxxxxx> writes:
> I have an existing app that provides a producer / consumer type of 
> queue and that uses the LISTEN / NOTIFY mechanism to signal the 
> consumers of new items arriving in the queue.  The consumers then 
> process these items and issue a notify to signal that they have been 
> processed.  In the past issuing these notifications happened very 
> quickly, now on 8.3 I'm seeing all of them taking over 300ms and many 
> of them taking 1500ms or more!

That's strange, I would not have thought that listen/notify behavior
would change at all.  How are you measuring this delay exactly?
Can you put together a self-contained test case?

			regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 9: In versions below 8.0, the planner will ignore your desire to
       choose an index scan if your joining column's datatypes do not
       match

[Postgresql General]     [Postgresql PHP]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Yosemite]

  Powered by Linux