Do you know where your variables are? | |
PerlMonks |
Re: Highly efficient variable-sharing among processesby Marshall (Canon) |
on Aug 28, 2016 at 00:53 UTC ( [id://1170601]=note: print w/replies, xml ) | Need Help?? |
I looked at your node history and saw this post Efficient shared memory - possible? how?? from
2012 and others. Looks like you've been working on this project for
many years and whatever you've been doing has been working, but now
you are reaching some kind of performance limit? Is that right? I suppose that it is possible that in order for this application to scale to really big levels, a fundamentally different approach may be needed rather than just making what you have now faster? I don't know. A brief description of what you have working now, the benchmarking that you've done and the problems that are happening now as this application scales could be useful in "thinking outside the box".
You say that this huge hash lookup feeds some web application. I am wondering if some distributed DB that uses a pile of smaller machines in a distributed network rather than this single 200GB super monster, could be considered? That could provide further scalability and redundancy? Maybe the DB lookup needs to be more complex than just one hash key at a time? (get what you need for the page all in one transaction). Sorry that I don't have a simple answer that says "x". I am curious since your questions over the years seem to have a common theme that is hard to solve easily.
In Section
Seekers of Perl Wisdom
|
|