On 19/10/2016 21:41, Michael Behringer (mbehring) wrote:
>> -----Original Message-----
>> From: Anima [mailto:[email protected]] On Behalf Of Brian E
>> Carpenter
>> Sent: 18 October 2016 22:06
>> To: Anima WG <[email protected]>
>> Subject: [Anima] GRASP issue 58: Maximum message size?
>>
>> 58: Maximum message size?
>>
>> MR: I'm also a bit concerned that we have no statement about maximum
>> message size.
>>
>> BC: Me too. I coded my prototype with recvfrom limited to 2048 bytes, but
>> we probably need to specify something. On the other hand, Michael B wants
>> to send infinitely long Intents, I think.
> 
> :-) 
> 
> My view: 
> - We use GRASP to signal which Intent version we have, and where the latest 
> version can be fetched from, and with which method / protocol. 
> - We use that protocol to actually get the Intent file. 
> 
> This is the most flexible and extensible model, IMHO.

One possible tweak: if Intent is in fact short enough to fit in one message,
we send it via GRASP. If not, we send the file coordinates. Just needs
a little syntactic sugar in the Intent objective.

> 
> So, from my point, no problem with a maximum message size of 2048 bytes, as 
> long as we send the Intent file separately :-)

Yes. I would tend to do it by defining a new constant GRASP_MSG_LIMIT
so that the value (2048 or whatever) is only specified in one place,
along with the other protocol constants.

Any other opinions?

   Brian

> 
> Michael
>  
>> Regards
>>    Brian
>>
>>
>> _______________________________________________
>> Anima mailing list
>> [email protected]
>> https://www.ietf.org/mailman/listinfo/anima
> 

_______________________________________________
Anima mailing list
[email protected]
https://www.ietf.org/mailman/listinfo/anima

Reply via email to