[Dovecot] A new director service in v2.0 for NFS installations

Oliver Eales jester at arcor.de
Wed Jun 16 16:19:50 EEST 2010


Am 19.05.2010 10:51, schrieb Timo Sirainen:
> As http://wiki.dovecot.org/NFS describes, the main problem with NFS has always been caching problems. One NFS client changes two files, but another NFS client sees only one of the changes, which Dovecot then assumes is caused by corruption.
>
>    host = vhosts[ md5(username) mod vhosts_count ]
>    

Hello Timo,
i am currently playing around with the new director service and i am 
really looking forward for it in 2.0
Wouldn't it be better to use a consistent hash function instead of the 
md5 ?
So that you would only get a new assignment of users belonging to the 
failed server and not a "complete remapping".
With this setup it might be possible to store local indexes in a NFS 
Backend setting, as the users stay kind of sticky to their server.
And there would also be no need for the distribution of the currently 
active mappings within the ring. Maybe only for the state for the servers.

Regards,
Oliver


More information about the dovecot mailing list