[ALL] let's think about Query Language for 2.0

Ruslan Zasukhin sunshine at public.kherson.ua
Sat May 24 01:33:39 CDT 2003


on 5/24/03 12:39 AM, Andreas Grosam at agrosam at computerworks.ch wrote:

>> By the way, you have some ideas for RPC implementations?
>> For now we simply build packet for each operation we need send on
>> network.
> 
> There is only a vague idea, currently.
> I did not study the existing solutions.
> This issues will be covered in my approach:
> Threads, Concurrency
> Atomic messages
> Message-Queues,
> ObjectID, MemberFuncID, ObjectVersion
> flatten, unflatten of arguments.
> ActiveObjects (performing asynchronous RPC)
> MessageDispatching
> 
> When an Object sends a message foo(v) to the remote part, then the
> arguments will be flattened, and a message packet will be composed
> containing OID and FuncID and the stream of arguments. foo()  will
> block until a "return message" arrives in the local message queue send
> from the remote part. The  return value and output arguments will be
> unflattened and  foo() returns to the caller on the local side.
> 
> Objects listen to an incoming  RPC by listening to the local message
> queue (as an ActiveObject). Once a RPC has arrived, the corresponding
> call will be performed in an separate thread owned by the object
> (ActiveObject pattern).
> Much like the Listener / Acceptor pattern. There is only one internal
> thread for several functions.
> 
> Note that for an object, RPC and local calls will perform concurrently.
> The RPC is performed within a separate thread owned by the object
> itself. Before the function returns, it sends a return message to the
> client. When the function returns, it immediately starts listening to
> the message queue for incoming or pending RPC calls from remote clients.
> 
> 
> So far the idea. If you have further suggestions, I would like to know!

Okay, I see.

Looks not easy for own implementation. :-)

I am sure that ACE have some features here,
But I afraid in its CORBA part. We do not use it now.

-- 
Best regards,
Ruslan Zasukhin      [ I feel the need...the need for speed ]
-------------------------------------------------------------
e-mail: ruslan at paradigmasoft.com
web: http://www.paradigmasoft.com

To subscribe to the Valentina mail list go to:
http://lists.macserve.net/mailman/listinfo/valentina
-------------------------------------------------------------



More information about the Valentina mailing list