I've been poking around with an application design that always seems to come to some basic issues.

It looks like the application will end up distributed across several servers (maybe three in the beginning, with the control module on the fourth in front of these three). Each of the three will host a separate and unique Perl application vital for the entire project. The controller will message each of the three for different reasons, at different times, and will require the acknowledgement of receipt and return data.

I suppose there are several ways to approach this, but I'm stuck on wanting to also build a somewhat 'universal' messaging bus (or broker, or proxy on steroids) that will serialize (if required based on the message cfg contained in the message itself) requests in/out, guarantee delivery/response if called for, etc.

This type of thinking led me to backhand and Spread.

However, in some discussions it turned out that we'd like to see Perl versions (with more limited functionality), for possibly both load balancing (for future scaling) and message brokering.

I think I'm looking for suggestions, guidance, tips or pointers to existing Perl (partial of full) solutions, name calling, etc.

Side effects of the messaging broker would make it useful for many other applications as well.

After much scouting around we've concluded we're probably going to have to roll our own, but I thought some quick brainstorming or monk-pleading here might be useful.

Replies are listed 'Best First'.
Re: Guaranteed messaging among apps
by IlyaM (Parson) on Feb 14, 2002 at 02:31 UTC
      Yes, thank you. It was interesting and we're taking a more extensive look at Stem as a result.

      Also thought the ever-present nodes about "to GPL, Artistic License, or LGPL" was interesting.

      Thanks again.

Stuck on an idea
by jepri (Parson) on Feb 14, 2002 at 02:32 UTC

    There's always SOAP. It can be proxied, etc. Especially good if you want serialisation.

    ____________________
    Jeremy
    I didn't believe in evil until I dated it.

Re: Guaranteed messaging among apps
by larryk (Friar) on Feb 14, 2002 at 09:36 UTC
Re: Guaranteed messaging among apps
by dash2 (Hermit) on Feb 14, 2002 at 17:17 UTC

    <puff>

    You could take a look at Net::Distributed (shortly due to be updated from my files). It should be easy for you to write a handler to do what you want. The latest version has a Migrator handler for process migration. If nothing else, it might help you understand the issues....

    </puff>

    dave hj~

Re: Guaranteed messaging among apps
by perrin (Chancellor) on Feb 14, 2002 at 17:13 UTC
    In addition to the Spread stuff that was pointed out, there are Perl bindings for IBM's MQ Series and I think they exist for Talarian Smart Sockets as well.
Re: Guaranteed messaging among apps
by tjh (Curate) on Feb 15, 2002 at 15:48 UTC
    Thanks to all!

    You have pointed out a couple of items we haven't looked at, and we'll spend some time with them to see what happens. Sure would be much easier if we don't have to build it. In the end, I'll let you know where we went with it.

    As always, thanks for the insight.