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: Daniel <>
  • To: Michael Bischoff <>
  • Cc:
  • Subject: Re: [pS-dev] Question regarding Request/Response Messages
  • Date: Wed, 29 Apr 2009 14:38:57 -0300
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=RXUUHZtXHbSZ8mZvIjCQ3FhSQ+jb9bp8UXqcstFkHRs38dQyv8VxeUao/T2YLwIcXC L4hM2Pp4QYbTQcNphvKMhpLnvbL+oYCZfhpjcP44jFAselvdCEk1hvhmhxZ3jHpMwr0t 4O2ywacUSLti6nFXbWFxJZ7CClxG2xazcwZgU=

Hello,

I was trying to avoid making lots of connections on different ports, as they'll be lots of clients.

For now I'll concatenate a window of results on a single message, so I still have the 1-request-1-response model and I won't overload the webservice by sending lots of messages.

Thanks,

Daniel.

On Tue, Apr 28, 2009 at 12:26 PM, Michael Bischoff <> wrote:
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