From iikku at eduix.fi Fri Oct 10 06:32:41 2008 From: iikku at eduix.fi (Iikku Mattila) Date: Fri, 10 Oct 2008 09:32:41 +0300 Subject: [kronolith] XML-RPC calls to calendar.import really slow Message-ID: <48EEF709.4050203@eduix.fi> Hi, I have an application which at its busiest will be importing ~15 000 single events per day to users' calendars. Importing a single event takes around five seconds, though, so importing 15k events would take about 20 hours. That's quite a while. How can the importing be that slow and is there anything I could do to fasten it up? I'm using Apache's xml-rpc client for java and Kronolith H3 (2.2), if that matters. Writing straight to the database is a possibility, but are there any ready-made Kronolith-libraries for Java or should I write one of my own? Thanks, Iikku From elliot at marlboro.edu Fri Oct 10 17:39:05 2008 From: elliot at marlboro.edu (Elliot Anders) Date: Fri, 10 Oct 2008 13:39:05 -0400 Subject: [kronolith] alarm dismissals and snoozes in Sunbird Message-ID: So this isn't exactly a kronolith bug, but since we're using kronolith as a webdav backend for Sunbird and it's been bothering our users I wrote a patch for kronolith/horde to implement dismissals and snoozes so Sunbird can be happy. Is there anyone else using the latest version or kronolith with Sunbird or Lightning who could give this a try on their test systems? Details are in the bug report. http://bugs.horde.org/ticket/7470 Thanks, Elliot From jan at horde.org Sat Oct 11 16:26:46 2008 From: jan at horde.org (Jan Schneider) Date: Sat, 11 Oct 2008 18:26:46 +0200 Subject: [kronolith] XML-RPC calls to calendar.import really slow In-Reply-To: <48EEF709.4050203@eduix.fi> References: <48EEF709.4050203@eduix.fi> Message-ID: <20081011182646.96470je3yawwtyh4@neo.wg.de> Zitat von Iikku Mattila : > Hi, > I have an application which at its busiest will be importing ~15 000 single > events per day to users' calendars. Importing a single event takes around > five seconds, though, so importing 15k events would take about 20 hours. > That's quite a while. > > How can the importing be that slow and is there anything I could do to > fasten it up? I'm using Apache's xml-rpc client for java and Kronolith H3 > (2.2), if that matters. You can install Xdebug and locate the bottlenecks in the Kronolith code. Importing is not a functionality that would have been worth optimizing so far. But if you provide some profiling data, we could see where optimizations are possible. > Writing straight to the database is a possibility, but are there any > ready-made Kronolith-libraries for Java or should I write one of my own? That's not worth it. RPC is a good choice if you don't want to write the database directly. Jan. -- Do you need professional PHP or Horde consulting? http://horde.org/consulting/ From elliot at marlboro.edu Sun Oct 12 17:09:54 2008 From: elliot at marlboro.edu (Elliot Anders) Date: Sun, 12 Oct 2008 13:09:54 -0400 Subject: [kronolith] AJAX rewrite Message-ID: <841C6195-159F-494D-8FE6-E515E0444D93@marlboro.edu> We'd be very interested in seeing this implemented: http://wiki.horde.org/Project/KronolithAjax Would it help to throw some money at it, or is there a portion I could start coding? I think we're particularly interested in the CalDAV backend and making the views within kronolith drag and drop friendly. Thanks, Elliot From jan at horde.org Sun Oct 12 17:29:38 2008 From: jan at horde.org (Jan Schneider) Date: Sun, 12 Oct 2008 19:29:38 +0200 Subject: [kronolith] AJAX rewrite In-Reply-To: <841C6195-159F-494D-8FE6-E515E0444D93@marlboro.edu> References: <841C6195-159F-494D-8FE6-E515E0444D93@marlboro.edu> Message-ID: <20081012192938.17312wbdlk5bqgao@neo.wg.de> Zitat von Elliot Anders : > Would it help to throw some money at it, or is there a portion I > could start coding? I think we're particularly interested in the > CalDAV backend and making the views within kronolith drag and drop > friendly. We are rather lacking developers than money at the moment. Two developers are already working on the CalDAV support, but we could probably need some more hands once the initial interface is committed. If you are interested in helping out with development, contact me privately. Jan. -- Do you need professional PHP or Horde consulting? http://horde.org/consulting/ From chuck at horde.org Sun Oct 12 17:40:56 2008 From: chuck at horde.org (Chuck Hagenbuch) Date: Sun, 12 Oct 2008 13:40:56 -0400 Subject: [kronolith] AJAX rewrite In-Reply-To: <20081012192938.17312wbdlk5bqgao@neo.wg.de> References: <841C6195-159F-494D-8FE6-E515E0444D93@marlboro.edu> <20081012192938.17312wbdlk5bqgao@neo.wg.de> Message-ID: <20081012134056.374336vb6zu2qkzk@technest.org> Quoting Jan Schneider : > We are rather lacking developers than money at the moment. Two > developers are already working on the CalDAV support, but we could > probably need some more hands once the initial interface is committed. And I'd imagine that especially people to test and do bugfixes and careful tweaks on the caldav stuff will be needed. -chuck