good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re: redesign everything engine?by theorbtwo (Prior) |
on Jan 28, 2003 at 17:52 UTC ( [id://230666]=note: print w/replies, xml ) | Need Help?? |
I think the answer isn't really technical, or at the very least, not a problem with Everything, apache, or perl. All indications are saying the problem is with the database server getting overloaded. First off, mysql on freebsd isn't a happy thing, due to differences between Linux's threading model and freebsd's. The recent kernel upgrade should have helped with that, but it's still not good, just better. Secondly, trafic is increasing, possibly to the point where we need either a better DB server, or two DB servers. Two DB servers would probably require changing the way we do certian things, but not the point of rewriting everything. Yeah, there are certian things that Everything could do better... but you should fix it, not rewrite it. Caching the code as bytecode, instead of evaling it, would help, but that's not a reason for a complete rewrite, just a fix. Warning: Unless otherwise stated, code is untested. Do not use without understanding. Code is posted in the hopes it is useful, but without warranty. All copyrights are relinquished into the public domain unless otherwise stated. I am not an angel. I am capable of error, and err on a fairly regular basis. If I made a mistake, please let me know (such as by replying to this node).
In Section
Perl Monks Discussion
|
|