RABBITMQ Irfu/Sédi JI in2p3-irfu septembre 2016 Page 1 MOTIVATIONS Synchronize all components activities in our system : • • • • Hey ! I’m ready to work. I need input data ! I’m done computing. My results are available. Take care ! No more space on disk /mnt/dsk341 Mister logger : I’m fine Minimize as much as possible coupling between components. Use something very robust. Irfu/Sédi JI in2p3-irfu septembre 2016 Page 2 THE RABBITMQ FRAMEWORK Based on the RabbitMQ libraries. Good documentation. API for a bunch of languages. Implementation of the AMQP protocol. Publish & subscribe model. Irfu/Sédi JI in2p3-irfu septembre 2016 Page 3 THE BUNNY DEMO Bunny is my demo on Irfu’s gitlab: java and python It is a wrapper around existing programs. Built with gradle Start, stop programs. java org.svom.bunny.worker.Launcher –v -n my-launcher "processor.py -n p1" Irfu/Sédi JI in2p3-irfu septembre 2016 Page 4 Done ! Irfu/Sédi JI in2p3-irfu septembre 2016 Page 5