Vagrantfile to try out https://github.com/citusdata/pg_shard
pg_shard
is a Postgresql extension that enables a sharded Postgresql setup.
-
Install Vagrant from https://www.vagrantup.com
-
git clone https://github.com/swaroopch/vagrant-pg-shard.git && cd vagrant-pg-shard
-
vagrant up
-
You now have 1 master (with
pg_shard
) and 3 worker postgresql instances running!