Re: [ogpx] event queues for fun and profit

Suzy Deffeyes <suzyq@pobox.com> Wed, 03 June 2009 01:46 UTC

Return-Path: <suzyque@gmail.com>
X-Original-To: ogpx@core3.amsl.com
Delivered-To: ogpx@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id EECD83A6A15 for <ogpx@core3.amsl.com>; Tue, 2 Jun 2009 18:46:46 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.976
X-Spam-Level:
X-Spam-Status: No, score=-1.976 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id zNo+dqoDQCQM for <ogpx@core3.amsl.com>; Tue, 2 Jun 2009 18:46:46 -0700 (PDT)
Received: from mail-qy0-f136.google.com (mail-qy0-f136.google.com [209.85.221.136]) by core3.amsl.com (Postfix) with ESMTP id BA1FA3A6850 for <ogpx@ietf.org>; Tue, 2 Jun 2009 18:46:45 -0700 (PDT)
Received: by qyk42 with SMTP id 42so316889qyk.29 for <ogpx@ietf.org>; Tue, 02 Jun 2009 18:46:43 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:reply-to:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:cc:content-type; bh=4qZ1WKkRZINn1mjnnl+83Uc478uGgB2w6KJe473Sf50=; b=GPwuyZCnLtAeU55nQyAs3p/KszQMFaSXIy3XomT+4VGD83U3qGFI1NG0m/yWK6/Pmw aLP2SXhObEU9Ocpk61gAXZ2yNDCYWskfhqkInbufeIAKTGiHRk3GALDTp1ssC9laDrpU RiiPijv1zvzTGswKQ7akORdBLWZu81Dq34sII=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:reply-to:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; b=SwRKJ6/cSeyrm2UgTPuXIrQeqVhv4c01Y7aSjQ/xeZ6Tw5QjXgOW6EwC1zlSAaTRKG qUJ/SpVsLWh4ZiYomgzk6caZfc5fhDH38Z18ozr6pm5ifHFjCCGQ1BK2Tusd0X2dxu3G 85kG3CMxoo/opYovP5d7IQ+Y/YsoGWTRe28Gk=
MIME-Version: 1.0
Sender: suzyque@gmail.com
Received: by 10.229.84.196 with SMTP id k4mr219241qcl.86.1243993603384; Tue, 02 Jun 2009 18:46:43 -0700 (PDT)
In-Reply-To: <3a880e2c0906021522g1883adh326fa837d6189130@mail.gmail.com>
References: <3a880e2c0906021522g1883adh326fa837d6189130@mail.gmail.com>
Date: Tue, 2 Jun 2009 20:46:43 -0500
X-Google-Sender-Auth: f034c8722bf5a470
Message-ID: <2bd5b7f10906021846v31fedb6k2dda78582701fc32@mail.gmail.com>
From: Suzy Deffeyes <suzyq@pobox.com>
To: Infinity Linden <infinity@lindenlab.com>
Content-Type: multipart/alternative; boundary=001636427491d53142046b67d42e
Cc: "ogpx@ietf.org" <ogpx@ietf.org>
Subject: Re: [ogpx] event queues for fun and profit
X-BeenThere: ogpx@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: suzyq@pobox.com
List-Id: Virtual Worlds and the Open Grid Protocol <ogpx.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ogpx>, <mailto:ogpx-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ogpx>
List-Post: <mailto:ogpx@ietf.org>
List-Help: <mailto:ogpx-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ogpx>, <mailto:ogpx-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 03 Jun 2009 01:46:47 -0000

On Tue, Jun 2, 2009 at 5:22 PM, Infinity Linden <infinity@lindenlab.com>wrote;wrote:

> so... event queues...
>
> * how many event queues do we need? are we only going to have one
> event queue from the client to the agent domain, and then have all
> other services forward messages they want to send to the client to the
> AD? or do we say... "one event queue per client : host pair"? or do we
> further define the concept of a "service" as a collection of related
> caps, including an event queue?


>From a viewer standpoint, I tend to like the "funnel your service requests
to the AD" because that makes it simpler to implement in the viewer, or at
least my fuzzy brain thinks that today.

Is it proper to assume that any grouping of services will be comfortable
forwarding their requests to the AD? At first glance, it feels a bit like
the AD is doing more than managing the agent, and feels like a bit of an odd
control point.

That said, should we be attempting to define what service belongs in what
collection? Different OGP implementations might want to group their services
differently.



>
> * message count - should we let multiple server -> client messages
> flow in a single request to the event queue cap?
>

Yes. Performance wise that seems to make sense, especially as more and more
starts showing up in the event queue path.


>
> * capabilities on the client - readers familiar with COMET or AJAX
> will remember that simply defining an event queue is just half the
> battle; rich clients are likely to have multiple objects that will
> receive messages along the queue, so you have to have some way to
> demultiplex messages. one way to do this is to model capabilities on
> the client as endpoints for messages flowing across the event queue.


This makes me think of another issue. The viewer's current way of thinking
is that messages on either  HTTP or UDP is valid and acceptable. What is the
expected behavior in OGP when group im is being handled by the AD, and
suddenly a group im message comes across from region UDP? Should the viewer
ignore it? If so, how do we do a runtime config of what messages are valid
(and trusted) from what sources?


>
>
> * externally identifying event queues - so imagine you're a client.
> you authenticate yourself to the agent domain and ask for caps for a
> couple services. we'll call them "search:group",
> "search:group:event_queue", "group:im" and "group:im:event_queue". the
> protocol makes no assumptions as to whether the protocol endpoint that
> implements the "search:group:event_queue" and "group:im:event_queue"
> caps are the same URL or if they're different URLs. it would be
> advantageous for the client to be able to, upon seeing that both caps
> are implemented on the same URL NOT open a second connection to the
> url. so the question is.. representing event_queues as URLs is not a
> problem, right?


Ouch, head exploded.  :-). So do you mean that since
both "group:im:event_queue" and "search:group:event_queue" have the same cap
URL returned to the viewer, the viewer should only open one event queue to
that URL that expects to get both types of event queue traffic?

Suzy Deffeyes / Pixel Gausman
IBM