You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to concentre-daemon
Denis ! As I told you on the chat I believe that Zend_Daemon_Abstract
only include low level operations mainly :
- main process forking to daemon
- pool, queue and process management
I think that each extende daemon will have is main loop logic.
We can give methods to handle queue and process but
Zend_Daemon_Abstract can't and should't do everything and anything.
Example "Concentre_Daemon_Simple" :
1 Main parent process
No forked child process in the main loop (no queue, no pool)
Example "Concentre_Daemon_Socket" :
- queue must be handle automatically by the main loop.
- each new client connection will added to the queue as a task.
- 10 clients per process for example.
- the main loop must handle the queue and process forking it it
necessary
Example "Concentre_Daemon_Snmpchecker" :
- the daemon will execute a separate process to update hosts lists
each 5mn
- 1 process by 50/100 hosts block
- the main loop must handle the queue and process forking it it
necessary