|
|
|
|
|
by fauigerzigerk
4142 days ago
|
|
One problem I have with using postgres listen/notify as a general purpose message queue is that it requires polling (At least that was the case when I last looked at it). Of course you can use a blocking wrapper around the polling code but it still causes unnecessary roundtrips. |
|
Once that FD is active, you call the poll() method and your notify payload becomes available to you.