durusmail: quixote-users: Re: How do you handle long running requests?
How do you handle long running requests?
2003-07-18
2003-07-18
Re: How do you handle long running requests?
2003-07-18
2003-07-18
2003-07-18
2003-07-18
2003-07-19
2003-07-18
2003-07-19
Graham Fawcett (5 parts)
2003-07-20
2003-07-21
2003-07-21
2003-07-18
Re: How do you handle long running requests?
lucio
2003-07-21
Graham Fawcett wrote:

>> Got me to thinking about XML-RPC, pickle, etc, and other issues:
>>   Using something like this would require that the agents responsible
>> for
>> doing the work (running queries, etc) poll the tuple space at some
>> interval
>> to detect the presence of tuples that they're interested in.  Is there a
>> provision in the concept of tuple spaces for a subscriber agent that
>> wants
>> to be notified of insertion of tuples matching specific criteria, or
>> is that
>> outside the bounds of responsibility of a formal tuple space?
>
>
> I'm not an authority on tuple spaces. But my understanding is that a
> formal Linda system supports only writes and takes. However, some
> "Linda-like" implementations, notably JavaSpaces, have included a
> 'notify' mechanism that does exactly what you've described.


Im not an authority either, and maybe much less than that. buy my
understing, from just reading
http://sarasavi.cmb.ac.lk/academic/Science/Computer/dscs/staff/dn_ranasinghe/pap
er3.pdf
is that the main 3 operations on linda are:
out: writes to the tuple space (a specific tuple)
in:  removes from the tuple space (a kind of tuple [ie, ("query", r:
result_type)  ] )
rd: read from the tuplespace (a kind of tuple)

both in and rd block until some matching tuple is available.

btw, weird choice out=write, in=remove.

Lucio


reply