databaseHaving a distributed system while at the same time preserving privacy poses challenges.

The database approach will likely be mixed.

We will use a PostgreSQL with replication for several lookup tables, and MongoDB for storing other data on particular servers. Interfaces between the servers will be handled using a RESTful protocol. All traffic will be SSL/TSL, using certificates generated for the cluster by our certificate authority.