Re: [CalendarServer-dev] [CalendarServer] #198: Consider moving to databases from files for calendar data stores
#198: Consider moving to databases from files for calendar data stores ---------------------------------+------------------------------------------ Reporter: wsanchez@apple.com | Owner: wsanchez@apple.com Type: Enhancement | Status: new Priority: 2: Expected | Milestone: CalendarServer-2.x Component: Calendar Server | Severity: Other Resolution: | Keywords: ---------------------------------+------------------------------------------ Comment(by wsanchez@apple.com): Files are a challenge in a couple of ways: * open/close of lots of small files adds up, and can be very expensive for reporting. * we mitigate this somewhat by using SQLite indexes * Atomicity is pretty well impossible: if I change a meeting with 100 attendees, in the current code, I'm touching 100 files. If an error occurs mid-way, we have inconsistent data which needs cleanup. I'd also like to see that for a given meeting (UID = x), that there is one master copy of the meeting, and attendees have that master copy plus their own edits. That's possible with files as well as with a DB, but my gut feel is that it will be harder with files. -- Ticket URL: <http://trac.calendarserver.org/ticket/198#comment:1> CalendarServer </> HTTP/WebDAV/CalDAV Server
participants (1)
-
CalendarServer