Javaspaces and perl

Jonathan Rockway jon at
Wed Nov 8 16:24:04 GMT 2006

Jonathan Stowe wrote:
> This sounds very much like a message queue with multiple concurrent
> readers and  writers. See also "Enterprise Service Bus". 

Rather than Jabber, what about Berkeley database?  It has a database
type called "queue" that works perfectly for producer/consumer
applications.  I've found that it's pretty fast because writers only
need write locks and readers only need read locks (so reading can happen
during writing, if there are already nodes in the queue).  It also has
an RPC interface, so you can distribute the readers/writers on the
network.  I haven't done the RPC with perl (but it's documented), but I
have used the queue database in a (i-)threaded environment.  Works great
(and persists between program invocations, which I found helpful).

Probably not quite what the OP wants, but maybe heading in the right

Jonathan Rockway

package JAPH;use Catalyst qw/-Debug/;($;=JAPH)->config(name => do {
$,.=reverse qw[Jonathan tsu rehton lre rekca Rockway][$_].[split //,
";$;"]->[$_].q; ;for 1..4;$,=~s;^.;;;$,});$;->setup;

More information about the mailing list