Notifications with Jabber/XMPP-based messages
At the moment, clients have to ask the storage server every 10-30 seconds if there are new updates. Not only is this ugly, it also consumes traffic where is is not necessary. The problem is that the server cannot notify the clients if changes occurred because it's just a flat storage with not "intelligence".
SparkleShare distributes change notifications to all online users via IRC. Although this works quite good, I believe XMPP/Jabber is the better option. Here's how it should work:
Clients add their Jabber address+password to their "profile" (= machine name, client name, profile picture, and jabber address+password), so that these addresses are available to all participating clients. On startup, Syncany connects to the Jabber server.
After any local change, i.e. after uploading the new update file, the local client sends a jabber "notify" message to all clients. This message does not have to include any changes. The word "CHANGE" is enough.
What do you think of the idea? Any suggestions?
Possible libraries can be found here: http://
Smack looks nice. It's Apache 2 License, so it can be included.
http://
Here are some examples:
http://
I've also created a small test that demostrates what I mean:
http://
Blueprint information
- Status:
- Not started
- Approver:
- None
- Priority:
- Undefined
- Drafter:
- None
- Direction:
- Needs approval
- Assignee:
- None
- Definition:
- Drafting
- Series goal:
- None
- Implementation:
- Unknown
- Milestone target:
- None
- Started by
- Completed by
Whiteboard
What about http://