World: r3wp
[All] except covered in other channels
older newer | first last |
Pekr 7-Jan-2005 [348x2] | It is really nice when oportunities rise that way and that someone can see potential in small, flexible tools ..... |
... more on that in my upcoming probably two or threee docs coming during weekend ... | |
Gabriele 7-Jan-2005 [350x3] | RFC: http://www.colellachiara.com/soft/Libs/messaging.r(while we wait for RS) |
and BTW, maye IN-INTERVAL? can be useful to anyone else too? checks if a value is inside an interval, assuming a ring. can be easily used for rings mod 2^n where n is multiple of 8, just using binaries. see http://www.colellachiara.com/soft/Libs/chord.r | |
maye = maybe | |
Pekr 7-Jan-2005 [353] | how can we compare to Rugby, Uniserve - in principle? |
eFishAnt 7-Jan-2005 [354] | that is very short, maybe < 2 pages...it that the whole cannoli? |
Gabriele 7-Jan-2005 [355x3] | Petr: wrt to Rugby, it is somewhat similar, but message-oriented instead of RPC oriented |
Rugby is more advanced, but in principle Rugby is a subset of this one. | |
Steve: that's all, even though it depends on a couple minor things. | |
Pekr 7-Jan-2005 [358] | message or rpc, it just sounds the same to me? |
Gabriele 7-Jan-2005 [359x2] | RPC means that you call a function on the other side, and you get back a result |
messaging means that you send a value to the other side, and you get (possibly) a value in return | |
Pekr 7-Jan-2005 [361] | or you don't, if you call it in async mode ... but maybe Maarten already implemented more than only RPC then ... |
Gabriele 7-Jan-2005 [362x2] | messaging does not imply a procedure call, even though in practice you will be doing that |
if you want to test it, do timers.r and async-protocol.r first (from async-protocol it only needs the wait-start and wait-stop functions, but you will probably need the async-protocol anyway so...) | |
Pekr 7-Jan-2005 [364] | well, I seem to understand ... |
Gabriele 7-Jan-2005 [365] | http://www.colellachiara.com/soft/Libs/timers.r |
Pekr 7-Jan-2005 [366] | hmm, what about complete package? |
Gabriele 7-Jan-2005 [367x2] | http://www.colellachiara.com/soft/Libs/async-protocol.r |
Petr: probably soon. | |
Pekr 7-Jan-2005 [369] | where's chord? :-) I can see only a parser, that is surely not everything Chord related? Is Chord needed for messages.r to work? |
Gabriele 7-Jan-2005 [370x6] | and, I tend to always depend on utility.r so you might need it too (same location) |
http://www.colellachiara.com/soft/Libs/utility.r | |
chord: will be there tomorrow or so. | |
i have a prototype that can be easily translated to real code using messaging.r and the in-interval? function you see there. | |
so i just need to change the prototype code into real working code... and then test it a bit. | |
Chord needs messaging.r, not viceversa. | |
Pekr 7-Jan-2005 [376] | What will we be able to do using Chord? I heard Chord is not about P2P (sharing), but some look-up mechanism. Any examples how all that stuff could be used within some kind of interesting project/product? |
Gabriele 7-Jan-2005 [377x4] | any P2P network needs routing as its basis, doesn't it? Chord provides that by providing distributed lookup. |
that is, if Gabriele wants to send a message to Petr, he has to know where Petr is. In some P2P networks this is handled by sending a message to someone esle and route it up to Petr. | |
with Chord, you directly look up where Petr is and then send a message to him directly. | |
I guess this is the easiest explanation I can give of it :-) | |
Pekr 7-Jan-2005 [381x2] | Hmm, interesting. Could be used for look-up of Rebservices later :-) |
I just wanted to have better idea of how all that stuff compares ... protocols | |
Gabriele 7-Jan-2005 [383] | exactly. it is very good for implementing DHTs (Distributed Hash Tables) |
Pekr 7-Jan-2005 [384] | (schemes), Rugby, Rebservices, Uniserve .... |
Gabriele 7-Jan-2005 [385] | messaging.r is what I need until RS are out :) |
Pekr 7-Jan-2005 [386] | I can see Uniserve a multiplexing engine, multiprotocol ... while Rebservices could be sent via e.g. IRC procol, whatever - it will probably be independent (to some extent) of transport mechanism? |
Gabriele 7-Jan-2005 [387] | AFAIK it will. |
Pekr 7-Jan-2005 [388] | hmm, and if RS will not provide any such advanced look-up mechanism? (as I expect it to not) |
Gabriele 7-Jan-2005 [389x3] | mine is not, because that is too much effort. (but it is partially) |
Chord can be implemented over RS instead of over messaging.r | |
Chord could be just implemented over UDP too etc., or over Rugby and so on | |
Pekr 7-Jan-2005 [392] | From what I read so far, it seems to me RS are similar to WS, - exposed functionality, and you don't do any look-up, you have to know where is catalog providing you with description of service and its location ... |
Gabriele 7-Jan-2005 [393] | Indeed, that's why I think we need a DHT instead of a catalog service for RS |
Pekr 7-Jan-2005 [394] | ah, ok, so Chord is independent of messaging.r, messaging.r being just temporal solution till RS appear ... |
Gabriele 7-Jan-2005 [395x2] | a catalog service is a single point of failure. |
exactly... | |
Pekr 7-Jan-2005 [397] | maybe we could use both of worlds? But then - I can see it with most P2P networks - once someone decides to shut-down central site, whole system collapses ... |
older newer | first last |