![]() |
|
There's more than one way to do things | |
PerlMonks |
Re^3: Need suggestion on problem to distribute workby Marshall (Canon) |
on Jun 18, 2020 at 02:30 UTC ( #11118219=note: print w/replies, xml ) | Need Help?? |
I am still not understanding your application. I alluded to this before, but running 200 insertions as a single DB transaction can take about the same time as 1 or 2 single transactions. The transaction overhead is HUGE. Doing 200 insertions at once doesn't take much more time than doing just a single insertion. I am not sure that forking or threading is your answer. I now suspect that your DB code is flawed.
In Section
Seekers of Perl Wisdom
|
|