I am almost finished with a project i am working on - a search engine project written 98% in perl. Previous versions of this software however has fallen victim to "click bombing", or, in other words, clicking many, many times. A maximum load limitator would prevent any more "clicks" after the system load reached beyond a predefined point. However it also blocked legitimate users, and thus could be used as a crude DOS attack. Since this new rewrite also can use a real database, like MySQL, instead of just flat files, this now becomes a stronger issue than ever - it would be possible for someone to lock the machine for hours or more if they try hard enough.
My question is "what are the possible solutions"? I have many, many solutions swirling in my head, and i've gotten even more by interested parties, but they're all theories. I'm looking for something that has acutally been used, and proven to work without adding too much overhead.
Any suggestions?
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.