I want to run an academic experiment and need to create a distributed database. My plan is to use four devices: two of them running the database, one running a load balancer algorithms and the other sending requests. How do I create this local distributed database system using multiple laptops or virtual machines?
I'm currently using macOS; however, windows works too.
MYSQL or Postgres is favourable. Otherwise, any technology is fine.
Thanks