Am 12.06.2012 14:04, schrieb Zieris, Franz:
> Dear Saros Developers,
>
> during the last months some of you might have noticed that Saros is lacking a 
> useful specification. Every once in a while I heard someone say something 
> like "We need to define our intended behavior!" -- and you were right.
>
> As discussed in yesterday's stand-up meeting I set up Wiki topic with a rough 
> structure and a few questions to be answered [1]. We agreed on the following 
> procedure:
>    * The first step is a high-level specification that covers all areas of 
> Saros. It's a Wiki page: feel free to add content and subpages!
>    * Every time someone stumbles upon an ambiguity and feels an urgent need 
> for specification, he/she keeps this topic in mind and we are going to 
> discuss it after our stand-up. Afterwards we write down both the results and 
> the decisions made on the way, put them on the Wiki page and share them on 
> dpp-devel.
>    * There will be no new features without a specification. The author is 
> responsible for embedding his/her work in the existing specification.
>
> Best wishes,
> Franz
>
> Links:
> [1] https://www.inf.fu-berlin.de/w/SE/DPPSpecification
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Dpp-devel mailing list
> Dpp-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dpp-devel
Chat:

The chat needs a session. On invitation, the Host opens a MUC
on a server, the details (server url, room name and password) are
then send to the invitee who can now join the MUC.

* How does the algorithm for the concurrent editing work? ALERT!

http://www.inf.fu-berlin.de/inst/ag-se/theses/Rieger08-eclipse-erweiterung-PP.pdf
http://www.inf.fu-berlin.de/inst/ag-se/theses/Ziller09-saros-nebenlaeufigkeit.pdf

Short: local changes are applied immediatly and then send to the server 
/ host.
Host does the "correction" and send the results back, which are then applied
locally.

Inconsistency handling:

Host collects every 30 seconds all LOCAL document checksums from all 
open editors
(local and remote, this does not mean that an editor must be open on 
local side).
These are send to all clients. The client then verifies the checksum.

Saros Network:

Topo: Full P2P. Connections are created on demand when calling the 
sendDirect method
from the DataTransferManager.

How are the connections created ?

Upon connection to the XMPP server, Saros will query all network interfaces
for their ip addresses. Second, STUN discovery is used to determine the 
public
IP address (if there is any) and last but not least, if Saros finds UPNP 
IGDs,
it will query them for the public IP address.

Connection order is: (if not changed in the advanced settings)

Socks5 (direct / mediated)

If that fails, IBB is used.

Socks5 connection establishment is done in both ways, while
A connects to B, B also connects to A.

If IBB is used, some "packets" are send via XMPP Chat messages
instead over IBB. The ActivitySequencer will rebuild the correct order.

XMPP Server is used for:

Saros Feature Support (Service Discovery)
Saros Version (IQ)

Exchanging Host addresses for Socks5 (handled by Smack)
IBB (handled by Smack)
Chat Messages
MUC

http://www.inf.fu-berlin.de/inst/ag-se/theses/Gustavs11_saros-netzwerkschicht.pdf
http://www.inf.fu-berlin.de/inst/ag-se/theses/Szuecs10-DPPVI.pdf
http://www.inf.fu-berlin.de/inst/ag-se/theses/Staib10-DPPX.pdf

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Dpp-devel mailing list
Dpp-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dpp-devel

Reply via email to