Download presentation
Presentation is loading. Please wait.
Published byMartina Allyson Kelly Modified over 9 years ago
1
Condor Project Computer Sciences Department University of Wisconsin-Madison Asynchronous Notification in Condor By Vidhya Murali
2
www.cs.wisc.edu/Condor Existing Condor Notification System Email Notifier Machine –N startD schedD logs Condor Pool
3
www.cs.wisc.edu/Condor Goal -1 F I L T E R Machine –N startD schedD logs Condor Pool
4
www.cs.wisc.edu/Condor Goal -2 Machine –N startD schedD logs Condor Pool I N T E R M E D I A T E
5
www.cs.wisc.edu/Condor Goals Asynchronously transfer condor’s event logs(messages) to external listener client(s) Event Log Format Transformation Event Log Filtering Without affecting current schedD setup!
6
www.cs.wisc.edu/Condor Condor-Messaging System Architecture Event Log Forwar der (Client Publish er) EXCHANGEEXCHANGE Queue1 Queue2 Queue-n Client -1 (Write to File) Client-n (Email) Messaging System Client -2 (IM) Machine –N startD schedD logs Condor Pool
7
www.cs.wisc.edu/Condor Outline › MOM › Introduction to AMQP › Integration of Qpid with Condor › Applications – Skype Integration › Conclusion
8
www.cs.wisc.edu/Condor Message-oriented middleware (MOM) › Infrastructure focused on sending and receiving messages that allows application modules to be distributed over heterogeneous platforms › Features: Asynchronous Delivery Routing messages (broadcast, multicast possible) Message transformation /mapping › Specifications eg: XMPP, AMQP
9
www.cs.wisc.edu/Condor Advanced Message Queuing Protocol (AMQP ) › Open standard application layer protocol for MOM › Key Features: Message orientation Queuing Routing Reliability Security
10
www.cs.wisc.edu/Condor AMQP Model
11
www.cs.wisc.edu/Condor AMQP Entities › Exchanges : entities to which messages are sent. Belongs to component Broker. Config : DURABLE › Queues : entities which receive messages Config : DURABLE,EXCLUSIVE › Binding : ties one queue to an exchange Config : Conditional on routing key
12
www.cs.wisc.edu/Condor AMQP contd... › Typical messaging patterns Request-Response : messages are sent to or from specific recipients Publish-Subscribe : information is distributed to a set of recipients according to various subscription criteria Round-Robin : tasks are distributed fairly among a set of recipients.
13
www.cs.wisc.edu/Condor Client Publisher Client Publisher AMQP Broker Entry 1 Entry 2 Entry 3 Session Link Queue (Source) - persistent Head Tail Client Subscriber Session Link Client Subscriber Session Link Head Entry 1 Entry 2 Head Entry 1 Tail Link Queue (Worker) - persistent Durable (persistent) Pub/Sub Delivery
14
www.cs.wisc.edu/Condor Integration of Qpid with Condor Apache Qpid is an open source implementation of AMQP. - Using C++ library Condor_Qpid Daemon: runs the Qpid broker, initializes the queues,publishes classAd Condor_jobs: CLIENT PUBLISHER: Condor_EventLog_Forwarder CLIENT SUBSCRIBER : Any listener that reads messages writes to file,send emails, IMs
15
www.cs.wisc.edu/Condor Condor-Qpid Integration Architecture Condor Event Log Forwarder (Client Publisher) Exchange Queue1 Queue2 Queue-n Client -1 (Write to File) Client-n (Email) Qpid Broker
16
www.cs.wisc.edu/Condor Skype for Qpid Client › Configurations for sending messages: 1 to 1 1 to selected ids in the contact list 1 to all in the contact list
17
www.cs.wisc.edu/Condor Conclusion › Part of condor add-ons › Event log message filtering at client listener level – Feedback mode › Extension to integrate with other clients like Twitter, Facebook
18
www.cs.wisc.edu/Condor Questions?
19
www.cs.wisc.edu/Condor Thank You!
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.