citus
flyctl
Our great sponsors
citus | flyctl | |
---|---|---|
61 | 544 | |
9,801 | 1,302 | |
3.3% | 2.8% | |
9.5 | 9.9 | |
5 days ago | 4 days ago | |
C | Go | |
GNU Affero General Public License v3.0 | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
citus
- SPQR 1.3.0: a production-ready system for horizontal scaling of PostgreSQL
- Citus: PostgreSQL extension that transforms Postgres into a distributed database
-
Figma's Databases team lived to tell the scale
I see they don't mention Citus (https://github.com/citusdata/citus), which is already a fairly mature native Postgres extension. From the details given in the article, in sounds like they just reimplemented it.
I wonder if they were unaware of it or disregarded it for a reason βI currently am in a similar situation as the one described in the blog, trying to shard a massive Postgres DB.
-
PostgreSQL Is Enough
It is possible, if you pay for it. You can do Multi-AZ Clustered Instances in RDS, where you get the benefits of Multi-AZ failover with traffic sharing.
If you can run your own infra β at least on an EC2 level β you can do things like Citus [0] for Postgres, which is about as close to "just add database nodes" as you'll get.
[0]: https://www.citusdata.com/
-
Vitess 18
So while searching for something like this for postgres I came across citus. Any one know how that stacks up?
https://github.com/citusdata/citus
- In-Depth Guide: Citus Technical Readme
-
Revolutionizing Database Scaling with CitusDB
References: CitusDB
- Squeeze the hell out of the system you have
- Show HN: Hydra 1.0 β open-source column-oriented Postgres
- Schema-based sharding comes to PostgreSQL with Citus
flyctl
-
Getting started with Open SaaS
For frontend deployment, I used Netlify (for the generous free package) and the recommended fly.io for server + database (also cheap package).
-
Breaking the Myth: Scalable, Multi-Region, Low-Latency App Exists And Will Not Cost You A Kidney.
Create an account on Fly.io.
-
How to use fly.io and Tigris to deploy a Next.js app
You can learn more about fly.io and tigris, we will need to create an account on both platforms for this project regardless. Anyway with the theory out of the way let's get started in the next section as we create our accounts and start building the app.
-
Set up your own personal browser in the Cloud
Fly.io is a platform that helps you run your apps and databases closer to your users all around the world. It takes your app code, packages it up neatly, and puts it on virtual machines that can be quickly started or stopped. This makes your app faster for users and more reliable. Fly.io is easy to use, works well for small projects or personal apps. It's a great way to make sure your app runs smoothly for people no matter where they are.
-
NoSQL Postgres: Add MongoDB compatibility to your Supabase projects with FerretDB
In this post, we'll start from scratch, running FerretDB locally via Docker, trying out the connection with mongosh and the MongoDB Node.js client, and finally deploy FerretDB to Fly.io for a production ready set up.
-
Free tools for developers to build their apps
2- fly.io
-
Top 5 Ways To Host Your Full-Stack App For Free πβ¨
Fly is a cloud platform that focuses on global edge computing. Fly specializes in high-performance hosting and provides a global network of edge locations. Fly is known for its scalability and performance optimizations.
-
Tech stack used for SaaS
But videototextai.com is built using NextJS + Firebase auth + Firestore and a backend deployed at fly.io . Fly makes it really easy to deploy docker containers and that is IMO the fastest way to develop, you can setup a local setup
-
Is it still worth choosing Heroku in 2023?
Alternatives explored: * northflank: While running the wrk test, requests were taking 3-7 seconds. Couldn't repeat Heroku's phenomenon of "400ms-800ms" during such a load test. * fly.io: Reliability: Itβs Not Great * render.com: I remember the time when indiehackers.com was down because of an outage on Render, not sure if it's worth trusting.
-
what do I do in the meantime?
For personal/portfolio projects fly.io and render.com both have free tiers that support the major backend frameworks and Postgres at the very least (although I think with Render at least the DB expires and has to be reloaded after a certain amount of time, have not personally tried it).
What are some alternatives?
Greenplum - Greenplum Database - Massively Parallel PostgreSQL for Analytics. An open-source massively parallel data platform for analytics, machine learning and AI.
vercel - Develop. Preview. Ship.
yugabyte-db - YugabyteDB - the cloud native distributed SQL database for mission-critical applications.
supabase - The open source Firebase alternative.
vitess - Vitess is a database clustering system for horizontal scaling of MySQL.
s6-overlay - s6 overlay for containers (includes execline, s6-linux-utils & a custom init)
TimescaleDB - An open-source time-series SQL database optimized for fast ingest and complex queries. Packaged as a PostgreSQL extension.
podman-compose - a script to run docker-compose.yml using podman
dbt-core - dbt enables data analysts and engineers to transform their data using the same practices that software engineers use to build applications.
Dokku - A docker-powered PaaS that helps you build and manage the lifecycle of applications
stolon - PostgreSQL cloud native High Availability and more.
litestream - Streaming replication for SQLite.