3 ms·
Is there a point in using NOTIFY in PostgreSQL, instead of just generating the HTML file when saving a new comment? The performance cost of doing a simple SELEC
by Kwpolska 4y ago
Is there a point in using NOTIFY in PostgreSQL, instead of just generating the HTML file when saving a new comment? The performance cost of doing a simple SELECT and writing a file in the request handler is neglible (especially since you are talking to the database anyway), but a NOTIFY-less solution is far simpler and will work with any database, even sqlite.