Now available: auto-scaling PostgreSQL deployments
blog.compose.io
blog.compose.io
Is there a comprehensive guide on the various options and tradeoffs for this kind of things? Good resources one could use to learn more about it?
http://www.postgresql.org/docs/9.4/interactive/different-rep...
I recommend looking at streaming rep + hot stabdby first. Those are built in, officially supported by the project, lower administration effort and fewer pitfalls.
Personally I haven't used any of the others (i.e. Bucardo).
Also, what specifically did you hate about Slony?
Any resources you'd recommend on this?
1) Where are you physically located? As I would want to move my API servers very close to the database for performance. Knowing which city and datacenter would help.
2) Please fix the logo in to the top left of your blog to go to your main website. It's a UI fail when logos do not go to the main website even when the blog is on a sub-domain.
Good catch on the logo, that irks me too.
I mostly use Linode https://www.linode.com/speedtest and the locations of AWS are generally good for Amazon but bad for other services. For example in London nearly all smaller hosting providers, as well as major peering connectivity, is based around the LINX locations such as Telehouse.
Latency to the database is key, but without moving to AWS (which I wouldn't want to do for price and performance reasons) I couldn't achieve a low enough latency here to consider it.
Another thing... "sign-up for free" quickly followed by "enter payment method". Which is it? I wanted to sign up, in part just to receive future notifications and also to get a sense as to the qualitative feel of your dashboard tools. For reasons outlined above, I'm not going to buy a service today.
Deployments are on two servers and the write ahead log is streamed to both the slave and offsite secondary storage. Replication is async so there is potentially a small window of data loss if a whole server goes. We are considering letting people opt in to synchronous replication, but don't have it available yet.
So your persistence plan is RAID 10 it sounds like.
Scaling Postgres horizontally is not something most of our customers need right now. When we do release scale-out, it'll be obvious to customers how we do it — we might just make something from our good buddies at Citus Data available, for instance.
If you have backups, upgrade, access to monitoring tools, etc. 125$ / month is just 2 hours max of developer time.
That's a bargain and your standard Oracle admin should just feel threatened :-) (provided the company is willing to put its data on a server far away of its control room, which, I guess, doesn't happen so often :-))
so a bargain if you actually can make use of it...
Pretty sure that's not the comparison folks are making. They're comparing it to Heroku, RDS, and self-hosting
People who buy Oracle are likely reading management publications, and possibly Gigaom. They're not reading technical discussions of databases.
If you use it and run into connection limit issues, let us know and we'll gladly up them for you.
We scale on storage / memory, we try to keep the storage and memory scaling to a defined ratio for optimal performance
https://github.com/brettwooldridge/HikariCP/wiki/About-Pool-...
(And no I promise it's not because I'm using MongoDB.)
Additionally, do you have standard postgres modules installed? Specifically, at least for my use case, PostGIS?
Autoscaling is currently datasize only. You can scale deployments up manually, however, for DBs where our 1/10 ratio isn't quite right.