airavata-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emre Brookes (JIRA)" <>
Subject [jira] [Commented] (AIRAVATA-1649) [GSoC] Airavata Java SDK Integration with GenApp
Date Sat, 11 Apr 2015 12:54:12 GMT


Emre Brookes commented on AIRAVATA-1649:


Airavata provides AMQP messaging documented here:
which can inform a subscriber of events related to a job submission, 
such as job leaving the waiting queue and starting,
failing or finishing.  This is more efficient than having to poll for 
i.e. if I want to know the status of a job, I can ask, but if I keep 
asking, I have to create a lot of messages -
on the other hand, if I subscribe to a message service, the service 
calls me and lets me know about events
which minimizes the message traffic and provides timely updates 
(otherwise I would have to call very frequently
= poll) to know about events.

GenApp provides WS (WebSocket) messaging in HTML5/PHP language to the 
client about job status,
which currently are routed directly from the executable via a UDP to WS 
JAVA and also Qt based GenApp can also take advantage of messaging.

What Suresh has suggested and I agree, is that it would be helpful to 
tie Airavata's AMQP
messaging to GenApp's messaging so that the GenApp client can be 
informed about events
related to Airavata submitted jobs.  I haven't thought too much about 
exact implementation,
but a rough idea would be to have GenApp's WS message service programs 
subscribe to Airavata's AMQP
messaging for GenApp's submitted jobs and make them available to GenApp 
clients via subscription.

The job management and other client screens in GenApp would then have 
the ability to get updated "live"
about events related to Airavata submitted jobs.


> [GSoC] Airavata Java SDK Integration with GenApp 
> -------------------------------------------------
>                 Key: AIRAVATA-1649
>                 URL:
>             Project: Airavata
>          Issue Type: Task
>            Reporter: Suresh Marru
>              Labels: gsoc, gsoc2015,, mentor
>             Fix For: WISHLIST
> 2014 GSoC project integrated C++ interfaces with GenApp [1]. This seem to be working
well. Building on this prototype, GenApp could integrate with Apache Airavata's Java SDK.
This project should produce meaningful samples to be released within Airavata's Java SDK.
Further explore the long running application support of Airavata.
> The project could also explore integrating with Airavata's AMQP based messaging system
to get push based messaging support between GenApp, Airavata integration. 
> [1] -

This message was sent by Atlassian JIRA

View raw message