Dean Collins wrote:

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:asterisk-users-
[EMAIL PROTECTED] On Behalf Of Matt Florell
Sent: Friday, 18 May 2007 4:22 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] asterisk manager interface stability
Neat.  So the clients use a polling model?  Individual clients then
query only for events that are interesting?

Warm Regards,

Lee
Yes, the clients only connect to the MySQL database and can query the
events as they need to for their display.

MATT---



_______________________________________________


???? Wouldn't that make it highly inefficient? Is there no two way
dialog or am I missing something?

Basically if I have 100 end user clients that needed real time
interaction with astproxy are you saying that each client would need to
poll once per second (eg 100 polls per second) in order to see if
something happened that second that was relevant to them?)



Although I would lean toward an in-memory cache/handling of events, you could have a another app or thread pool that queries the database on behalf of the clients and notifies clients accordingly, which might negate the need of clients to poll the database and reduce network traffic.

--

Warm Regards,

Lee



_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to