Skip to the content.

Migrating Messenger storage to optimize performance

img.png

Background

In 2018, the data store backed by the Facebook messenger was HBase + HDFS. Facebook decided to migrate to their own database project called MyRocks(underneath is RocksDB).

Challenges

Two migration flows

The main keyword of migration is double-writing. The similar idea was used by Akkio

Normal migration

img_1.png

Buffered migration

img.png

References