On 09/08/2010 01:59 AM, Chase Venters wrote: > Greetings everyone, > > I have a small piece of code I want to share. I'm using Perl pretty > extensively on some cluster systems, including full time processes that > monitor our backend servers and automatically reconfigure load balancers. > > As a corosync user, I was thrilled to see the easy-to-use libcpg C api > in the code base. I created Corosync::CPG, a perl XS binding for that > library. It enables Perl scripts to access the reliably ordered > multicast bus. I'm currently using it with POE to great effect, and use > Storable to serialize arbitrary Perl structures for transmission over > that bus (though those two details are not mandated or implemented by > this module). > > This first release is early, early alpha. The inline POD documentation > is incomplete, and there are pieces of the software's skeleton like > README files missing (not to mention any sort of unit test). However, it > works for me, as I have tested it pretty thoroughly and am now using it > in my own environment. > > I plan to correct some of those shortcomings and submit the module to > CPAN, but for now I was hoping to see if any other interested developers > had comments. > > http://github.com/cventers/perl-Corosync-CPG > > Thanks, > Chase Venters >
Chase, Nice work! I'll put a link on our wiki for other users interested in a perl binding. Let us know when its merged into CPAN so I can update the wiki. One thing I might suggest is adding a cpg_model_initialize api (which is our new initializer) coming in 1.3 (and currently in trunk) when it arrives. The api is backwards compatible, so current cpg_initialize will still work. Regards -steve > > _______________________________________________ > Openais mailing list > [email protected] > https://lists.linux-foundation.org/mailman/listinfo/openais _______________________________________________ Openais mailing list [email protected] https://lists.linux-foundation.org/mailman/listinfo/openais
