perfsonar-dev - Re: [pS-dev] Question regarding Request/Response Messages
Subject: perfsonar development work
List archive
- From: "Michael Bischoff" <>
- To: "Daniel" <>
- Cc:
- Subject: Re: [pS-dev] Question regarding Request/Response Messages
- Date: Tue, 28 Apr 2009 17:26:38 +0200 (CEST)
- Importance: Normal
Sorry forgot to include
> Hello,
>
>
> I'm a developer working on a RNP project which deals with Stream Processing
> Engines, in a similar way that ps-flowsub deals with flows.
>
>
> In this project, a client can subscribe to a flow (given a specific query on
> the stream) sending a QueryRegisterRequest to the WebService, receiving a
> QueryRegisterResponse saying it was sucessfull registered.
>
>
> This QueryRegister carries query info, that will be applied into a stream
> (not webservice's function) being generated in real-time by other
> applications.
>
> My question is: When the webservice receives a QueryRegisterRequest, is
> there any "correct" way to make the webservice start sending periodic
> messages (like,
> QueryResult) to the client?
>
>
> I'm asking this because the approach used @ ps-flowsub is to create a
> zebedee tunnel when a Subscription arrives, the webservice then makes a
> pseudo-direct
> connection to the client. I would like to know if it's possible to send
> periodic nmwg
> messages without making a direct connection.
Before I write some long email which probably doesn't hit home..
What is the rational for avoiding a 'direct' connection.
kind regards, Michael
>
> Also, I don't see any way to send messages w/o "returning" function to the
> requestHandler. I know that perfsonar's message schema is
> request-response, but is it 1-to-1,
> or can I send multiple responses to a single request?
>
> Thanks in Advance, and sorry for the long message.
>
>
- Re: [pS-dev] Question regarding Request/Response Messages, Michael Bischoff, 04/28/2009
- Re: [pS-dev] Question regarding Request/Response Messages, Daniel, 04/29/2009
Archive powered by MHonArc 2.6.16.