Skip to Content.
Sympa Menu

perfsonar-dev - Re: [pS-dev] Question regarding Request/Response Messages

Subject: perfsonar development work

List archive

Re: [pS-dev] Question regarding Request/Response Messages


Chronological Thread 
  • 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.
>
>





Archive powered by MHonArc 2.6.16.

Top of Page