Re: [Fresco-devel] [ReFresco 03] Proposed network architecture overview

Tobias Hunger <[email protected]> Sat, 31 Jan 2004 00:59:26 +0100
Newsgroups gmane.comp.video.fresco.devel
Message-ID <[email protected]>
This is a MIME-formatted message.  If you see this text it means that your
E-mail software does not support MIME-formatted messages.

--=_heaven-15731-1075503995-0001-2
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

> Messages also contain a second cap, to which any return values or
> errors are to be reported.  If a program does not wish to receive any
> response, this cap should be set to all zeroes; this is a special
> address whose object is the equivalent of /dev/null -- it will eat any
> messages sent to it and never do anything with them.

Isen't that very wasteful? I think we can expect those one-way messages
to be rather small in the typical case.

Lets assume I want to send a integer (4 Bytes) to some object. That's
4 bytes of data, 16 Bytes to encode the recipient plus 16 zeros (=3D36
bytes). If we had one byte as a message-identifier we could reduce that
to 1 byte "one way message", 16 bytes recipient and 4 bytes data (21
Bytes, a 40% reduction). We might need to a flag to mark fragmented
packages or similar things, too.

Of course this spoils the elegant design;-)

> This is the only
> mechanism for matching requests with replies; we don't have sequence
> numbers or anything like that, because replies need to not be
> forgeable; only the object to whom we send the request should have the
> capability to reply to it.

I still fail to see why we don't need sequence numbers. Is the cap thrown
away after receiving a single message? What else stops me from resending
a reply at a later time or sending several replies? If one cap requests
some information from two others, how does it figure out which reply=20
came from where? Or can there be only one "open" request at any given
time??

--=20
Gruss,
Tobias

------------------------------------------------------------
Tobias Hunger           The box said: 'Windows 95 or better'
[email protected]                      So I installed Linux.
------------------------------------------------------------

--=_heaven-15731-1075503995-0001-2
Content-Type: application/pgp-signature; name="signature.asc"
Content-Transfer-Encoding: 7bit
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFAGu/ev0FZW3NyoqURAqDGAJ0dBATL4Z3tMMLvIaRazqeZwral1QCgobgl
5+8G5Ddl4khtZDSVs8FG9WA=
=wA5F
-----END PGP SIGNATURE-----

--=_heaven-15731-1075503995-0001-2--