Esteemed Perl professionals and enthusiasts alike,
I'm looking for a solution or a product. What I need to do is to scale an application across servers.
The preferred method of doing so would be to send hundreds (or a few thousand) messages to a queue a second, and then whoever is available will grab a message from the queue and process it. The messages are small, just a short string containing a tablename and an ID.
All nodes will have a database connection to the same database, so I am indeed considering implementing this in a database table. But are there better alternatives out there?
I know about these solutions:
- Websphere MQ server - which is interesting but expensive, yet within reach for really large clients.
- Spread - which is not really suited for our purposes, as it sends one copy to each node.
- Spread::Queue - has not been maintained since 2002, not thread-safe, but looks OK otherwise.
- POE - a framework, so I need to create both server and client code.
Are there any I have missed that I should know about? What are your 2c?
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.