[CalendarServer-users] Performance and Parallel Requests to Calendarserver

Andre LaBranche dre at apple.com
Tue Jul 3 12:34:53 PDT 2012


On Jul 3, 2012, at 12:23 PM, emport wrote:

> 
> hi,
> 
> i tested your suggestion by increasing the ProcessCount to 3.
> 
> 
> Andre LaBranche-2 wrote:
>> 
>> 
>> Verify that you have the server configured properly (e.g. enough daemons
>> to handle concurrent requests - see ProcessCount in caldavd.plist).
>> 
>> 
> 
> i discovered that the server opens up 3 "instances" which are accessible via 
> 
> http://localhost:8008
> http://localhost:8009
> http://localhost:8010
> 
> is this intended? [sorry for this clueless question...]

Yes, that is expected in your configuration, for this ancient version. In your version, there is a python software load balancer that distributes requests to available instances. You now have three available instances and not one, so it's expected to see additional listeners.

There is, however, one additional variable that affects concurrency, the config variable MaxRequests. This defines how many requests can be handled in parallel by a single daemon, *but only when those requests are doing deferrable work*. You might just be bottlenecked in the filesystem. If your disk IO is railed while these requests are processing, that is the bottleneck. There's really no way around this other than upgrading. Just to set your expectation, doing such a large-distance upgrade successfully (when there is data to be maintained / upgraded) will be a lot of work.

-dre

> 
> but the result is: if i concurrently fire three requests i still send the
> request to http://localhost:8008, since my programm has no clue that there
> are other ports to use and thus the response time for all three requests is
> nearly the same, i.e. the triple time as if i would send only one request.
> 
> uah, this is complicated to describe. i hope my description is intelligible,
> although.
> 
> maybe someone could give me some more advise...
> 
> thanks,
> emport
> -- 
> View this message in context: http://old.nabble.com/Performance-and-Parallel-Requests-to-Calendarserver-tp34103740p34109545.html
> Sent from the Calendar Server - Users mailing list archive at Nabble.com.
> 
> _______________________________________________
> calendarserver-users mailing list
> calendarserver-users at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/calendarserver-users



More information about the calendarserver-users mailing list