unsubscribe
2015-02-04 12:22 GMT+08:00 Nico Coetzee nicc...@gmail.com:
On Wed, Feb 4, 2015 at 1:42 AM, Scott Lo joba62r...@gmail.com wrote:
--
Best Regards,
Scott Lo
--
[image: --]
Nico Coetzee
[image: http://]about.me/nico.coetzee
On Wed, Feb 4, 2015 at 1:42 AM, Scott Lo joba62r...@gmail.com wrote:
--
Best Regards,
Scott Lo
--
[image: --]
Nico Coetzee
[image: http://]about.me/nico.coetzee
http://about.me/nico.coetzee?promo=email_sig
Unless I’m entirely wrong it appears that you want to use shared threaded
memory.
This would allow you to keep out of apache altogether.
Here is an example of using threads that I worked out using shared memory.
We took a 4 hour task, serial, and turned it into 5 minutes with threads.
This worked
Cache::FastMmap is a great module for sharing read/write data, but it can't
compete with the speed of loading it all into memory before forking as Alan
said he plans to do.
- Perrin
On Tue, Feb 3, 2015 at 2:05 AM, Cosimo Streppone cos...@streppone.it
wrote:
Alan Raetz wrote:
So I have a
I agree, either threads or Parallel::ForkManager, depending on your
platform and your perl, will be a lot faster than mod_perl for this. Of
course there might be other reasons to use mod_perl, e.g. it's useful to
have this available as a remote service, or you want to call this
frequently for
You will find that when you share the memory the hashes are not copied to each
thread.
The docs are a little misleading.
On Feb 3, 2015, at 11:54 AM, Alan Raetz
alanra...@gmail.commailto:alanra...@gmail.com wrote:
Thanks for all the input. I was considering threads, but according to how I
read
Thanks for all the input. I was considering threads, but according to how I
read the perlthreadtut (
http://search.cpan.org/~rjbs/perl-5.18.4/pod/perlthrtut.pod#Threads_And_Data),
quote: When a new Perl thread is created, all the data associated with the
current thread is copied to the new thread,
unsubscribe
--
Best Regards,
Scott Lo