aboutsummaryrefslogtreecommitdiff
path: root/pipermail/nel/2000-December/000084.html
blob: 0d5d29f9f6c5fdd18fdedde7954567d0ddd238b9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
 <HEAD>
   <TITLE> [Nel] Suggestion for the NeL network library / architecture</TITLE>
   <LINK REL="Index" HREF="index.html" >
   <LINK REL="made" HREF="mailto:x5101920%40fedro.ugr.es">
   <LINK REL="Previous"  HREF="000083.html">
   <LINK REL="Next" HREF="000085.html">
 </HEAD>
 <BODY BGCOLOR="#ffffff">
   <H1>[Nel] Suggestion for the NeL network library / architecture</H1>
    <B>MIGUEL ANGEL BLANCH LARDIN</B> 
    <A HREF="mailto:x5101920%40fedro.ugr.es"
       TITLE="[Nel] Suggestion for the NeL network library / architecture">x5101920@fedro.ugr.es</A><BR>
    <I>Tue, 12 Dec 2000 12:20:32 +0100 (MET)</I>
    <P><UL>
        <LI> Previous message: <A HREF="000083.html">[Nel] Suggestion for the NeL network library / architecture</A></li>
        <LI> Next message: <A HREF="000085.html">[Nel] Bugs on nevrax.org</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#84">[ date ]</a>
              <a href="thread.html#84">[ thread ]</a>
              <a href="subject.html#84">[ subject ]</a>
              <a href="author.html#84">[ author ]</a>
         </LI>
       </UL>
    <HR>  
<!--beginarticle-->
<PRE>&gt;<i> Ahem, no. I might have used object and agent in various contexts, 
</I>but
&gt;<i> an agent is the only one which is authorised to change its state. 
</I>The
&gt;<i> other objects are &quot;replica&quot;, or passive objects. Each agent may 
</I>exist
&gt;<i> only as a single copy over the set of processes, and he is the 
</I>entity
&gt;<i> responsible for updating the local states of the replica objects in
</I>&gt;<i> the other processes.
</I>&gt;<i>
</I>&gt;<i> If you want &quot;what is your XYZ&quot;, the local replica answers. However, 
</I>if
&gt;<i> you want &quot;teleport to XYZ&quot;, the message is transmitted across the 
</I>network
&gt;<i> to the unique agent, which updates its internal state, and then 
</I>retransmits
&gt;<i> to all replicas &quot;set internal state XYZ&quot;. And the latter is when 
</I>multicast
&gt;<i> helps when there are many replicas to update.
</I>
Ok, as far as I am thinking about agents, a replica only show info but 
can't process code. So all the modificators should be send to the 
main agent, that then update.

There is still the possibility of an object to get two contradictory 
updates at the same time. To avoid this you should order the messages, 
something that I feel is unefficient and ugly.

Just image agent is a ball, and then two user decide to kick the two 
replica of the agent, so the replicas get the kick commnand and send 
it to the agent.

&gt;<i> &gt; Replycating work can be a real pain.
</I>&gt;<i>
</I>&gt;<i> Hey, if I could buy a terahertz processor and have everything run on 
</I>a
&gt;<i> single process, I'd be happy too :)
</I>
If you need a terahertz processor to run the server, you better start 
again the design stage.

Just I want to note that replycanting the work can lead to ugly 
things and race conditions.

</pre>


<!--endarticle-->
    <HR>
    <P><UL>
        <!--threads-->
	<LI> Previous message: <A HREF="000083.html">[Nel] Suggestion for the NeL network library / architecture</A></li>
	<LI> Next message: <A HREF="000085.html">[Nel] Bugs on nevrax.org</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#84">[ date ]</a>
              <a href="thread.html#84">[ thread ]</a>
              <a href="subject.html#84">[ subject ]</a>
              <a href="author.html#84">[ author ]</a>
         </LI>
       </UL>
</body></html>