Maximum number of cases to load on a device?

In general is there a maximum number of cases that could be assigned to a
particular mobile worker and loaded onto a mobile device? I am trying to
load several thousand cases onto a tablet and having problems where the
sync times out and the cases don’t appear in the case list. I’m not sure if
this is because our internet connection is too weak or we have exceeded the
maximum number of cases.

Thanks,
Kevan

Hello, Kevan,

There is no strict limit to the number of cases - the number that can be
handled varies depending upon the number of case properties and the
specific device. For this reason it unfortunately requires just doing some
testing. For an Android device running CommCare we usually say that a
thousand or so cases with a limited number of properties (~20-30) would
likely work, though may be a bit slow. Several thousand cases could be
reaching some performance limits. Would it be possible to break it up into
a couple of separate lists assigned to different mobile worker accounts?
For example, if a mobile worker only works in one area part of the month,
maybe they could use one account for that portion of the month which has
fewer cases, and then switch to another account later on.

Jeremy

··· On Tue, Oct 14, 2014 at 4:53 AM, Kevan Christensen < christensen.kevan@gmail.com> wrote:

In general is there a maximum number of cases that could be assigned to a
particular mobile worker and loaded onto a mobile device? I am trying to
load several thousand cases onto a tablet and having problems where the
sync times out and the cases don’t appear in the case list. I’m not sure if
this is because our internet connection is too weak or we have exceeded the
maximum number of cases.

Thanks,
Kevan


You received this message because you are subscribed to the Google Groups
"commcare-users" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to commcare-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Jeremy Wacksman
Dimagi http://www.dimagi.com, Inc.

Hi Kevan,

In addition to performance limits on the device, as you’ve discovered there
can be some difficulty syncing down large numbers of cases to the phone.

We’re releasing some performance improvements (hopefully later today!) that
should make syncs happen faster and more reliably for users with large case
lists. This should help improve your sync times.

Thanks,
Amelia

··· On Tue, Oct 14, 2014 at 10:19 AM, Jeremy W. wrote:

Hello, Kevan,

There is no strict limit to the number of cases - the number that can be
handled varies depending upon the number of case properties and the
specific device. For this reason it unfortunately requires just doing some
testing. For an Android device running CommCare we usually say that a
thousand or so cases with a limited number of properties (~20-30) would
likely work, though may be a bit slow. Several thousand cases could be
reaching some performance limits. Would it be possible to break it up into
a couple of separate lists assigned to different mobile worker accounts?
For example, if a mobile worker only works in one area part of the month,
maybe they could use one account for that portion of the month which has
fewer cases, and then switch to another account later on.

Jeremy

On Tue, Oct 14, 2014 at 4:53 AM, Kevan Christensen < christensen.kevan@gmail.com> wrote:

In general is there a maximum number of cases that could be assigned to a
particular mobile worker and loaded onto a mobile device? I am trying to
load several thousand cases onto a tablet and having problems where the
sync times out and the cases don’t appear in the case list. I’m not sure if
this is because our internet connection is too weak or we have exceeded the
maximum number of cases.

Thanks,
Kevan


You received this message because you are subscribed to the Google Groups
"commcare-users" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to commcare-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Jeremy Wacksman
Dimagi http://www.dimagi.com, Inc.


You received this message because you are subscribed to the Google Groups
"commcare-users" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to commcare-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Thanks for the replies. It would be possible to break the list into smaller
groups but not ideal given that it isn’t necessarily predictable which
cases will need to be accessed by which workers at which times. But it’s
helpful to have a general sense of the limitations and we can work around
them. We’ll definitely be looking forward to the new release and faster
case loading time!

Best,
Kevan

··· On Tuesday, October 14, 2014 8:44:20 PM UTC+3, Amelia Sagoff wrote: > > Hi Kevan, > > In addition to performance limits on the device, as you've discovered > there can be some difficulty syncing down large numbers of cases to the > phone. > > We're releasing some performance improvements (hopefully later today!) > that should make syncs happen faster and more reliably for users with large > case lists. This should help improve your sync times. > > Thanks, > Amelia > > On Tue, Oct 14, 2014 at 10:19 AM, Jeremy W. <jwac...@dimagi.com > wrote: > >> Hello, Kevan, >> >> There is no strict limit to the number of cases - the number that can be >> handled varies depending upon the number of case properties and the >> specific device. For this reason it unfortunately requires just doing some >> testing. For an Android device running CommCare we usually say that a >> thousand or so cases with a limited number of properties (~20-30) would >> likely work, though may be a bit slow. Several thousand cases could be >> reaching some performance limits. Would it be possible to break it up into >> a couple of separate lists assigned to different mobile worker accounts? >> For example, if a mobile worker only works in one area part of the month, >> maybe they could use one account for that portion of the month which has >> fewer cases, and then switch to another account later on. >> >> Jeremy >> >> On Tue, Oct 14, 2014 at 4:53 AM, Kevan Christensen <christen...@gmail.com > wrote: >> >>> In general is there a maximum number of cases that could be assigned to >>> a particular mobile worker and loaded onto a mobile device? I am trying to >>> load several thousand cases onto a tablet and having problems where the >>> sync times out and the cases don't appear in the case list. I'm not sure if >>> this is because our internet connection is too weak or we have exceeded the >>> maximum number of cases. >>> >>> Thanks, >>> Kevan >>> >>> >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "commcare-users" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to commcare-user...@googlegroups.com . >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> >> >> -- >> Jeremy Wacksman >> Dimagi , Inc. >> >> -- >> You received this message because you are subscribed to the Google Groups >> "commcare-users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to commcare-user...@googlegroups.com . >> For more options, visit https://groups.google.com/d/optout. >> > >

Hey Kevan,

The improved syncing is released now. The way it works is that if you try
to sync and it times out it keeps working in the background, and then when
you try to sync again it reuses that work so the second sync should be much
faster. The behavior you might see is that the first (or even second or
third) syncs will timeout, but if you try several times in a row it should
eventually go through.

We’re looking into improving this in the future but this is currently the
best stop gap we have for very large case lists.

Cory

··· On Thu, Oct 16, 2014 at 8:14 AM, Kevan Christensen < christensen.kevan@gmail.com> wrote:

Thanks for the replies. It would be possible to break the list into
smaller groups but not ideal given that it isn’t necessarily predictable
which cases will need to be accessed by which workers at which times. But
it’s helpful to have a general sense of the limitations and we can work
around them. We’ll definitely be looking forward to the new release and
faster case loading time!

Best,
Kevan

On Tuesday, October 14, 2014 8:44:20 PM UTC+3, Amelia Sagoff wrote:

Hi Kevan,

In addition to performance limits on the device, as you’ve discovered
there can be some difficulty syncing down large numbers of cases to the
phone.

We’re releasing some performance improvements (hopefully later today!)
that should make syncs happen faster and more reliably for users with large
case lists. This should help improve your sync times.

Thanks,
Amelia

On Tue, Oct 14, 2014 at 10:19 AM, Jeremy W. jwac...@dimagi.com wrote:

Hello, Kevan,

There is no strict limit to the number of cases - the number that can be
handled varies depending upon the number of case properties and the
specific device. For this reason it unfortunately requires just doing some
testing. For an Android device running CommCare we usually say that a
thousand or so cases with a limited number of properties (~20-30) would
likely work, though may be a bit slow. Several thousand cases could be
reaching some performance limits. Would it be possible to break it up into
a couple of separate lists assigned to different mobile worker accounts?
For example, if a mobile worker only works in one area part of the month,
maybe they could use one account for that portion of the month which has
fewer cases, and then switch to another account later on.

Jeremy

On Tue, Oct 14, 2014 at 4:53 AM, Kevan Christensen < christen...@gmail.com> wrote:

In general is there a maximum number of cases that could be assigned to
a particular mobile worker and loaded onto a mobile device? I am trying to
load several thousand cases onto a tablet and having problems where the
sync times out and the cases don’t appear in the case list. I’m not sure if
this is because our internet connection is too weak or we have exceeded the
maximum number of cases.

Thanks,
Kevan


You received this message because you are subscribed to the Google
Groups “commcare-users” group.
To unsubscribe from this group and stop receiving emails from it, send
an email to commcare-user...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Jeremy Wacksman
Dimagi http://www.dimagi.com, Inc.


You received this message because you are subscribed to the Google
Groups “commcare-users” group.
To unsubscribe from this group and stop receiving emails from it, send
an email to commcare-user...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


You received this message because you are subscribed to the Google Groups
"commcare-users" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to commcare-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.