Python Forum
notification from database
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
notification from database
#1
Hi there,

This is a gui application I am building using qt4 and connects to a couchdb server. Within this application, there is a very simple messaging system. I have set up a separate database for just the messages to make it easier, I hope. I am aware that there are 3 basic ways to get notification from couchdb, using polling, Long poll or continuous feed. As for the messages, they will be sent to the database maybe once every half hour, or so, but they go out to 12 clients.

What is the standard way to get this coming into an application? If I were to set up a continuous connection, where would it come into? or does it not really matter? I do as it happens have a separate class the deals with the database connection regarding the rest of the application, but this simply opens the connection sends the data and closes it again.
Reply


Messages In This Thread
notification from database - by iFunKtion - Mar-13-2017, 11:20 AM
RE: notification from database - by Larz60+ - Mar-13-2017, 12:38 PM
RE: notification from database - by iFunKtion - Mar-13-2017, 02:53 PM
RE: notification from database - by Larz60+ - Mar-13-2017, 04:18 PM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020