Confused about replacing db's with processes and gen servers

A post was split to a new topic: Designing HA server