rhosync sources and threading

6 views
Skip to first unread message

Jorge

unread,
Nov 20, 2009, 9:06:36 PM11/20/09
to rhomobile
A few questions:

1. Do different sources sync in separate threads?

2. I want to build a rhosync source that syncs to multiple backends,
and I would like to pull the data in parallel.
I don't want one slow backend to slow down the rest of the sync.
Conceptually, I want the sync to trigger
a number of asynchronous server requests, and to update my view as the
data comes in chunk by chunk. Is
this possible with rhosync?

3. How difficult would it be to allow dynamic addition and removal of
sources?

Thanks,
Jorge

evgeny vovchenko

unread,
Nov 21, 2009, 1:25:53 AM11/21/09
to rhom...@googlegroups.com
Hello Jorge,

1. Now client has only one sync thread.
2. Sources synced one by another - this is server restriction.
3. Why you need it? You can trigger sync of specific source on the client,
so you can implement app logic of skipping some sources.

And remember client si on the phone, which has limited resources, so the
idea was to make as much as possible on server side to simplify the client
logic.

I will discuss your questions with rhosync server guys.

Regards,
Evgeny.
--

You received this message because you are subscribed to the Google Groups
"rhomobile" group.
To post to this group, send email to rhom...@googlegroups.com.
To unsubscribe from this group, send email to
rhomobile+...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/rhomobile?hl=.


Reply all
Reply to author
Forward
0 new messages