70 likes | 345 Views
Purdue: Jungha Woo , Jaewoo Lee, Jalaja Padma, David Braun Indiana University: Marlon Pierce Condor Team: Faisal Khan, Todd Tannenbaum. Condor Java Daemon Core - JMS Job Event Notification. Project Overview. Java Daemon Core Common way to create condor daemons for java.
E N D
Purdue: Jungha Woo, Jaewoo Lee, Jalaja Padma, David Braun Indiana University: Marlon Pierce Condor Team: Faisal Khan, Todd Tannenbaum Condor Java Daemon Core - JMS Job Event Notification
Project Overview • Java Daemon Core • Common way to create condor daemons for java. • Defines an abstract class and flexibility. • Condor daemon management. • JMS Job Event Notification • Asynchronous notification of job events. • Removes the need for polling. • For the time being publish only.
Architecture Overview Gateway Poll Poll … Schedd BirdBath Poll Gateway Msg broker Push Log file Msg broker Poll … Condor JavaD
Java Core Daemon Service • Daemons • Use DaemonCore class • Extends Service class • Java Daemon Core • JNI Implementation of Daemon Core • C++ base class runs to handle signals • Launches JVM through JNI • Loads and calls an implementation of AbstractDaemonClass.java … Master Schedd JavaDaemon Main Thread JVM Loads Abstract Daemon Class
Job Events Event Provider • Event Interface • Sub Types • Event Factory • Creates Sub Types from serialized form • Event Store EventFactory Event Interface Event Store Event Sub Type
JMS Job Event Notification • JMS Event Daemon • Publish to a JMS event broker. • JMS Broker • Notification replication • Order and Persistence • Security and Guaranteed delivery • Clients and standards • Multiple event fetchers planned. Web App Service Swing Client JMS Broker Condor JMS Job Event Daemon JNI EventLog Java Log Parser Cedar Event Log
Current Issues and the Future • Thousands of events per second! • JNI memory speeds • Multiple ways of fetching event data. • Event sub type matching with C++ version. Considering auto generated solutions. • JMS Broker Scaling. • Clustering will be considered. • Multiple client interface examples. • If this will survive in ourenvironment it should work anywhere.