in reply to Re^12: Slow evolution of Perl = Perl is a closed Word (thread decade)
in thread Slow evolution of Perl = Perl is a closed Word
I was a bit terse. The "cache" was the application part.
Okay. I didn't see that interpretation.
My first reaction is: whatever thread is responsible for the construction/generation of the objects that you want to cache, caches them.
Ie. If you have a DB thread that is issuing queryies and retrieving results on behalf of all the other threads in the application, then it does the caching. If any thread asks for the same data, (presumably via a queue), then it replies with the results from its local cache.
Ditto for user input. You have a single thread dealing with user input and when another thread requests input it is supplied from the input thread local cache if available.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^14: Slow evolution of Perl = Perl is a closed Word (thread decade)
by ysth (Canon) on Sep 04, 2007 at 17:42 UTC | |
by BrowserUk (Patriarch) on Sep 04, 2007 at 20:15 UTC |