Greetings,
Thanks to the comment of a more experienced monk I have been made aware of a vast field of software engineering known as message queue.
After a bit of googling and a lot of stackoverflowing I went to have a look at Spread. Since it has a package on cpan I decided to install it (using someone else's better built code would save me a lot of debugging and rewriting). Then I got this :

Reading '/root/.cpan/Metadata' Database was generated on Thu, 27 Aug 2015 07:53:25 GMT Running install for module 'Spread' Checksum for /root/.cpan/sources/authors/id/J/JE/JESUS/Spread-3.17.4.4 +.tar.gz ok Scanning cache /root/.cpan/build for sizes ...................................................................... +......DONE 'YAML' not installed, will not store persistent state Configuring J/JE/JESUS/Spread-3.17.4.4.tar.gz with Makefile.PL Checking if your kit is complete... Looks good Warning: -L../.. changed to -L/root/.cpan/build/Spread-3.17.4.4-VvdIsK +/../.. Warning (mostly harmless): No library found for -lspread Generating a Unix-style Makefile Writing Makefile for Spread Writing MYMETA.yml and MYMETA.json JESUS/Spread-3.17.4.4.tar.gz /usr/bin/perl Makefile.PL INSTALLDIRS=site -- OK Running make for J/JE/JESUS/Spread-3.17.4.4.tar.gz cp Spread.pm blib/lib/Spread.pm AutoSplitting blib/lib/Spread.pm (blib/lib/auto/Spread) Running Mkbootstrap for Spread () chmod 644 "Spread.bs" "/usr/bin/perl" "/usr/share/perl/5.14/ExtUtils/xsubpp" -typemap "/usr +/share/perl/5.14/ExtUtils/typemap" -typemap "typemap" Spread.xs > Sp +read.xsc && mv Spread.xsc Spread.c cc -c -I ../.. -I ../spread-src-3.17.0/ -D_REENTRANT -D_GNU_SOURCE -D +DEBIAN -fstack-protector -fno-strict-aliasing -pipe -I/usr/local/incl +ude -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -DVERSION=\"3 +.17.4.4\" -DXS_VERSION=\"3.17.4.4\" -fPIC "-I/usr/lib/perl/5.14/CORE" + Spread.c Spread.xs:15:16: fatal error: sp.h: No such file or directory compilation terminated. make: *** [Spread.o] Error 1 JESUS/Spread-3.17.4.4.tar.gz /usr/bin/make -- NOT OK Failed during this command: JESUS/Spread-3.17.4.4.tar.gz : make NO

I'm using debian wheezy, it seems other peoples have encountered the same problem but I had no luck finding an answer, so if anyone here used that package successfully I'd love to know how (sh|h)e did it.
Cheers!


In reply to Message Queue in Perl by QuillMeantTen

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • 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:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.