I'm fairly new to Apache development and need helps from experienced
With Apache 1.x, it's a parent/child single threaded architecture.
(i.e. the parent httpd forks of x numbers of children, and each child
is a single threaded process responding to requests.). My problem
is that a new module that I need to write contains multiple threads.
The threads are there to periodically collect session and traffic
statistics. Some of the statistics are collected regardless
of whether a request comes in or not. Therefore, I cannot rely on
the request event handler to intervene and get the needed information.
My question is: "Does Apache allow a module to contain multiple threads?
It it does, my life is much simpler. Otherwise, I have to
think of a mechanism that use a separate process to collect statistics
from each child even at the time when there is no request comes in.
Please advice and shred some lights. Any helps will be