Re:FastMail's Email Search Architecture
by brongondwana on Sunday November 30, 2014 @10:42PM
(#8679397)
(during a clean shutdown, we copy all the indexes over to the SSD, and they get compacted to data in the next day's compact run)
Once the indexes are up to date, we can switch back to being masters again. We index on all the replicas independently so that they are always ready.