[Dovecot] Scalability plans: Abstract out filesystem and make it someone else's problem
Ed W
lists at wildgooses.com
Mon Sep 28 22:11:10 EEST 2009
Timo Sirainen wrote:
> On Mon, 2009-09-28 at 19:21 +0100, Ed W wrote:
>
>>> In my mind this is more about what lib-storage API was supposed to
>>> abstract out, whereas my filesystem API would be used simply for binary
>>> data storage. The same FS API could be used to store both dbox files and
>>> index files.
>>>
>>>
>> I guess in this case it would be interesting to hear the kind of use
>> cases you imagine that the storage API will be used for in practice? I
>> think I might be kind of overthinking the problem?
>>
>
> lib-storage API has existed since Dovecot v1.0 and it's used to abstract
> out access to maildir, mbox, dbox, cydir, etc. SQL would fit right there
> with those.
>
OK, I thought that was what you were going to be simplifying...
I did have a poke around in there some time back and it did feel "quite
complicated" to follow what was going on... I found your sql backend
code as a simpler way to poke around, but even there it was pretty
quickly going to need some earnest digging to figure out how it was all
working...
OK, I guess this can never be an easy middle ground - presumably things
are as they are for a reason...
Cheers
Ed W
More information about the dovecot
mailing list