I'm working on a perl application which should run on multiple small hosts, some for storage and some for number crunching. ... Now I'm searching for a clean and fast solution to interconnect these hosts.
"It depends". What do you mean by "interconnect"? Do you need to coordinate number crunching (say, by handing out subtasks from some central server)?
I've work on one load-balanced Perl application server that shared heavyweight data via the database tier (Oracle, in this case), with lightweight "event" propagation via sockets between the servers. The lightweight part would correspond to "some sort of home brew binary/ASCII protocol" on your list. It worked fine for us.
But to answer "what are your thoughts on my problem?" we would need to know more about your problem. Can you characterize the nature of the number crunching? (E.g., is the crunching coordinated between servers? At what level of granularity?) The nature of storage? (E.g., are stored computations shared between servers, or is storage write-only?)
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.