Postgres Notify ..!?

27 views
Skip to first unread message

António Ramos

unread,
Mar 25, 2016, 8:41:49 AM3/25/16
to web...@googlegroups.com


hi , could postgres NOTIFY be better/simpler than having to install tornado to have socket message to my app?


Regards
António

Anthony

unread,
Mar 25, 2016, 11:10:20 AM3/25/16
to web2py-users
On Friday, March 25, 2016 at 8:41:49 AM UTC-4, Ramos wrote:


hi , could postgres NOTIFY be better/simpler than having to install tornado to have socket message to my app?

No, PostgreSQL NOTIFY will send notifications to a process on the server. You still need a way to then push that notification to the browser. In the post linked above, node.js is playing the role that Tornado plays in web2py's websocket_messaging feature.

Anthony
Reply all
Reply to author
Forward
0 new messages