Re: Usefulness of $r->notes and $r->pnotes (or $c)
Perrin Harkins <[email protected]>
| Newsgroups | gmane.comp.apache.mod-perl |
|---|---|
| Message-ID | <[email protected]> |
On Wed, Mar 24, 2010 at 6:32 AM, Michael Ludwig <[email protected]> wrote: > This puts both the server process and the client to sleep for five seconds before returning. > However, the server process is likely heavy-weight, whereas the client process is likely light- > weight, and easily multi-threaded. So I'm wondering if this throttler, which seems to have > worked fine for Fred, is viable in the general case. It used to be safe to assume that anyone running mod_perl had a bottleneck on memory and the number of processes they can run. This isn't always true anymore. Some people have plenty of headroom for mod_perl processes but can't allow frequent access to a shared resource like a fragile database. The request pnotes is commonly used to pass information between handlers in different phases. I haven't seen much use of the connection pnotes. - Perrin