Subject Re: FireBird Events
Author davidalbiston
--- In firebird-support@yahoogroups.com, "sasidhardoc"
<madhusasidhar@n...> wrote:
> Dave
> Thanks for the response - I was thinking along the same lines - we
> have an application that processes messages from clients and
> rebrodcasts them - to synchronize certain events.
> > My own application handles airport checkins. When a passenger checks
> > in, a message is sent to other connections with the flight ID and
> > passenger ID.
> So, an event at one client (Passenger Check in) is broadcast to all
> clients - this does not necessarily depend on POST_EVENT from the
> database - is that right?

Yes. It is independant of the database. When the application starts it
connects to Firebird and to a server socket. The application sends a
message to the server socket when something interesting occurs and the
socket relays that to all other socket connections.

> If you have several clients with Forms that need updating, does this
> not result in the database server receiving several requests at the
> same time - how do you get around that?

Not a problem in this case. There are never more than 2 or 3 users
looking at the same checkin. But you can restrict the load on the
server because you can specify exactly what needs to be refreshed.

Dave