Re: Cache unseen count

2016-02-11 Thread Timo Sirainen
On 10 Feb 2016, at 17:30, Jorge Carling wrote: > > Dear all, > Lately I am working on PHP mail account management application. It has, among > others, Unread messages count column. > To get the number of unread messages, I execute "doveadm search" command for > each

Cache unseen count

2016-02-10 Thread Jorge Carling
Dear all, Lately I am working on PHP mail account management application. It has, among others, Unread messages count column. To get the number of unread messages, I execute "doveadm search" command for each database row. The search time for single account is about 0.03 seconds. Our system has