{"id":1683,"date":"2010-08-07T18:02:40","date_gmt":"2010-08-07T17:02:40","guid":{"rendered":"http:\/\/www.devco.net\/?p=1683"},"modified":"2011-09-28T14:36:10","modified_gmt":"2011-09-28T13:36:10","slug":"mcollective_and_other_languages","status":"publish","type":"post","link":"https:\/\/www.devco.net\/archives\/2010\/08\/07\/mcollective_and_other_languages.php","title":{"rendered":"MCollective and other languages"},"content":{"rendered":"
I often get asked about MCollective<\/a> and other programming languages. Thus far we only support Ruby but my hope is in time we’ll be able to be more generic.<\/p>\n Initially I had a few requirements from serialization:<\/p>\n That was about it really. This was while we used a pre-shared key to validate requests and so the result of the encode and decode should be the same on the sender as on the receiver. With YAML this was never the case so I used Marshal.<\/p>\n We recently had a SSL based security plugin contributed that relaxed the 2nd requirement so we can go back to using YAML. We could in theory relax the 1st requirement but it would just inhibit the kind of tools you can build with MCollective quite a bit. So I’d strongly suggest this is a must have.<\/p>\n Today there are very few cross language serializers that let you just deal with arbitrary data YAML is one that seems to have a log of language support<\/a>. Prior to version 1.0.0 of MCollective the SSL security system only supported Marshal but we’ll support YAML in addition to Marshal in 1.0.0.<\/p>\n This enabled me to write a Perl client that speaks to your standard Ruby collective (if it runs this new plugin).<\/p>\n\n