[horde] How to improve waiting times for ajax requests?

Jan Schneider jan at horde.org
Fri Apr 19 14:57:25 UTC 2013


Please answer correctly inline. This quoting style is really confusing.

Zitat von Andreas Rieger <andreas.rieger at zel.uni-hannover.de>:

> Hey,
>
>> Are at least some of those remote calendars? Also, which view is this?
>
> It's the default view which is the week-view in our case.
> And no, none of these calendars are external calendars.
>
>> 3KB for a month or even week view is a pretty huge calendar.
>
> These are only circa 4 events per day for a single week. Some of these
> events are recurring and some exceptions are defined.

Then I don't understand why there is so much data sent. Take a look at  
the payload returned from the server for that huge response.

> I just checked the demo installation from Horde for a comparison.
> What's striking though is that even listCalendars takes nearly 4 seconds in
> our installation.

Again, this might happen if you have a remote calendar in on your  
list, even if it's not selected for display. We need to check whether  
that calendar is writable.

> Greetings,
> Andreas
>
> Jan Schneider <jan <at> horde.org> writes:
>
>>
>>
>> Zitat von Andreas Rieger <andreas.rieger <at> zel.uni-hannover.de>:
>>
>> > Hi,
>> >
>> > we recently upgraded from Horde 4 to Horde 5 and while we really enjoy the
>> > new ajaxy interface we noticed that some parts of the system feel slower
>> > than in H4.
>> >
>> > Especially the display of the calendar events takes really long  
>> (as you can
>> > see here: https://dl.dropboxusercontent.com/u/6900359/horde.jpg).
>> >
>> > I'd assume this is an configuration issue, but at this point i am a bit
>> > unsure how to further debug this. So i would be really glad for some
>> > pointers, how to trace this problem.
>> >
>> > The error logs don't show anything irregular and our Apache and Mysql
>> > configs *should* be fine too. Switching to http didn't make a difference.
>> > Furthermore, if i use the Api to fetch the events for a calendar  
>> the results
>> > are displayed almost immediately.
>> >
>> > So, what might go wrong?
>> >
>> > Thanks,
>> > Andreas
>>
>> Are at least some of those remote calendars? Also, which view is this?
>> 3KB for a month or even week view is a pretty huge calendar.


-- 
Jan Schneider
The Horde Project
http://www.horde.org/



More information about the horde mailing list