KMail dependence on Akonadi

Aleksey Midenkov midenok at gmail.com
Tue Jul 11 14:14:18 BST 2017


On Tue, Jul 11, 2017 at 2:53 PM, Kevin Krammer <krammer at kde.org> wrote:
> On Monday, 2017-07-10, 03:26:08, Aleksey Midenkov wrote:
>> On Sun, Jul 9, 2017 at 6:44 PM, Kevin Krammer <krammer at kde.org> wrote:
>> > On Saturday, 2017-07-08, 11:58:02, Aleksey Midenkov wrote:
>> >> On Sat, Jul 8, 2017 at 11:34 AM, Kevin Krammer <krammer at kde.org> wrote:
>> >> > On Saturday, 2017-07-08, 02:37:22, Aleksey Midenkov wrote:
>> ...
>>
>> >> Why you invented some
>> >> service if there are commonly used SQL servers?
>> >
>> > Not sure what you mean, the Akonadi services is using standard databases
>> > for its data management needs: MySQL, PostgreSQL, SQLite are options as
>> > far as I remember.
>>
>> Then why there is additional proxy process (Akonadi) between KMail and
>> DBMS? What special functions this Akonadi service does that require it
>> to be additional process? Why can't it be just shared library that
>> will adapt this PIM API (so called Akonadi) to DBMS services? In other
>> words: put Akonadi as shared library inside KMail, Calendar, etc.
>> instead of separate process.
>
> A database server is essentially useless without data and none of them can
> access stored data other than their own.
>
> Extending an existing database server to be able to connect to an IMAP server,
> read a local maildir, connect to a CalDav server or read a local ical file
> would essentially require forking that server's code base and maintaining it
> from there on.

That surely would be bad idea. But this does not contradict to what I
wrote: it does not have to be a daemon. It can be just driver library
(like ODBC) that is loaded into client application and provides PIM
API to any existing data technologies, not only DBMS, but IMAP,
maildir, CalDav, etc. (what's the difference). So I'll repeat my
question: what are special functions of Akonadi that require it to be
additional process?

>
> Cheers,
> Kevin
>
> --
> Kevin Krammer, KDE developer, xdg-utils developer
> KDE user support, developer mentoring




More information about the kde mailing list