Syntactic Confectionery Delight | |
PerlMonks |
Re^2: When to use forks, when to use threads ...?by Krambambuli (Curate) |
on Sep 05, 2008 at 08:03 UTC ( [id://709194]=note: print w/replies, xml ) | Need Help?? |
Care to expand on that ? Well, I'm not sure how to do that efficiently, it's a rather convoluted story - my baseline so far is that I will avoid for now and the near future to try using threads for parallelizing conditional-insert-or-updates into Oracle. The base problem is something like 'given a (rather big) amount of new data, add it to the existent tables that are holding it, inserting or updating if similar records are already there. Speed up the process so that it gets done as fast as possible.' What I seem to have so far is that Oracle's libclntsh.so in conjunction with Perl threads will loose 4 or 8 bytes on every thread-switch. Which thread to use depends on the input record. Krambambuli ---
In Section
Seekers of Perl Wisdom
|
|