comp.lang.ada
 help / color / mirror / Atom feed
* Re: Handling objects in a distributed system
@ 1989-08-23 13:58 S Muralidharan
  1989-08-23 17:44 ` Edward Berard
  0 siblings, 1 reply; 7+ messages in thread
From: S Muralidharan @ 1989-08-23 13:58 UTC (permalink / raw)



Vladmir G. Ivanovic writes:

>>Ed Berard poses an issue in dealing with objects in a distributed 
>>system:  how to send an object to another node.  
>>...

>Maybe there is something I'm missing, but why on earth would one want
>to send an object to another node?  Isn't it like passing an array to
>a procedure?  Why not just pass the name of the object?  In a truly
>distributed system, the name server will provide the access path.
>Then there is only one copy and no consistency problem.


	A very good question. In fact, in the context of reusable software
there are several problems with any object movement. 
	Any approach which advocates object movement generally assumes
that a single person is both the developer and a client of a
component. This assumption is certainly invalid, if software reuse
is based on component specifications and not source code, 
as done in Ada. While only the developers know the details of the software, 
only the clients know the nature of the hardware architecture where 
the software would be executed.
	We have proposed an approach to distributing programs built
from reusable software components whereby most short-lived objects
are never moved. Details of this work can be found in the following
technical report:

S. Muralidharan and B. W. Weide, On Distributing Programs Built from
Reusable Software Components, Technical Report OSU-CISRC-11/88-TR36,
Department of Computer Science, The Ohio State University, Columbus, 
OH 43210, November 1988.

	If you are interested in getting a copy of the report, please
send me mail to murali@cis.ohio-state.edu.

Cheers,

Murali

PS: I am cross-posting this article to comp.sw.components.

^ permalink raw reply	[flat|nested] 7+ messages in thread
* Re: Handling objects in a distributed system
@ 1989-08-28 18:49 S Muralidharan
  0 siblings, 0 replies; 7+ messages in thread
From: S Muralidharan @ 1989-08-28 18:49 UTC (permalink / raw)


eberard@ajpo.sei.cmu.edu (Edward Berard) writes:

>murali@catamaran.cis.ohio-state.edu (S Muralidharan) writes:

>>       Any approach which advocates object movement generally assumes
>> that a single person is both the developer and a client of a
>> component.

>As Murali says later, this is indeed an invalid assumption. I am not
>sure, however, whether anybody actually makes this assumption. If

I believe that there are distributed systems/languages which profess
concerns for spec-based software reusability, but also aid object movement.
It is not obvious (to me) how this is possible if it is agreed that
neither the developers nor clients of reusable components can independently
decide when to move an object.

Murali

^ permalink raw reply	[flat|nested] 7+ messages in thread
* Re: Handling objects in a distributed system
@ 1989-08-25 19:13 Vladimir G. Ivanovic
  0 siblings, 0 replies; 7+ messages in thread
From: Vladimir G. Ivanovic @ 1989-08-25 19:13 UTC (permalink / raw)


In article <555@ajpo.sei.cmu.edu> eberard@ajpo.sei.cmu.edu (Edward Berard) writes:
>Yes, "call by reference" makes sense many times. However, "call by value," 
>"call by name," and redundancy have their places.

I (belatedly) agree.  The situations with which I am most familiar are
networked (not truely distributed) real-time applications where the cost of
maintaining the consistency of the database is high enough already without
having to deal with multiple writable objects, hence my intial skepticism.  

My tendency is not to stray from the "call by reference" model unless special
circunstances prevail, and clearly, as Ed Berard has pointed out, some exist.

^ permalink raw reply	[flat|nested] 7+ messages in thread
* Handling objects in a distributed system
@ 1989-08-08 16:48 dave davis
  1989-08-16 18:13 ` Vladimir G. Ivanovic
  0 siblings, 1 reply; 7+ messages in thread
From: dave davis @ 1989-08-08 16:48 UTC (permalink / raw)



Ed Berard poses an issue in dealing with objects in a distributed 
system:  how to send an object to another node.  As Ed suggests, 
one solution is to have the knowledge of all the objects within the 
system be present at each node.  However, this might be inefficient 
in certain cases, and could cause difficulties if we with to create 
new objects dynamically.

I suggest that an approach would be to transmit "installation
instructions" (or template, or frame) with each transmitted object so
that the recieving node only needs to know a general schema for object
installation.  The instructions would have to contain information
about the object's interface, its last state, and enough information
about its structure to recreate it locally.  Assuming for a moment
that all of the objects in our system are created from more primitive
objects the mechanism need only have a representative of each
primitive object on hand, and know how to apply them in a specific
case.  Such a mechanism could also be two-way, translating objects
to/from non-objective representations.  This mechanism might also be
of use in storing and retrieving persistent objects off-line.

=================================================================
Dave Davis
MITRE Corp;
McLean, VA

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~1989-08-28 18:49 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1989-08-23 13:58 Handling objects in a distributed system S Muralidharan
1989-08-23 17:44 ` Edward Berard
  -- strict thread matches above, loose matches on Subject: below --
1989-08-28 18:49 S Muralidharan
1989-08-25 19:13 Vladimir G. Ivanovic
1989-08-08 16:48 dave davis
1989-08-16 18:13 ` Vladimir G. Ivanovic
1989-08-19  2:06   ` Edward Berard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox