Introducing Crunchy Data Warehouse: A next-generation Postgres-native data warehouse. Crunchy Data Warehouse Learn more

Posts about Crunchy Bridge

  • 3 min read

    Postgres + Tailscale – A database you can trust with a simple VPN

    Craig Kerstiens

    If you are like us, Tailscale was an obvious tool to add to our network — as soon as we saw it, we knew we needed it. For those who haven’t tried Tailscale yet, it’s best described as a programmable, re-sizeable, distributed private network mesh. Yes, it’s that great. The better part is that Tailscale is fairly simple, and because it’s simple, it is easy to get correct.

    When we set out to build Crunchy Bridge

    Read More
  • 5 min read

    Postgres at Scale: Running Multiple PgBouncers

    Elizabeth Christensen

    Multi-PgBouncer is our affectionate in-house name for a special use case of running multiple instances of PgBouncer. PgBouncer is the venerable go-to tool for managing connection pooling at the database layer for Postgres. For some of our customers with notably large databases and high throughput, running multi-PgBouncer has been a great way to keep up with load and connections.

    David Christensen recently did a talk at PGConf.NYC entitled “How to Tame a Mastodon: Lessons for PostgreSQL at Scale

    Read More
  • 5 min read

    Security and Team Management in Crunchy Bridge

    Craig Kerstiens

    I wanted to take a little time today to walk through some of the security and team controls you get out of the box on Crunchy Bridge. Within teams for Crunchy Bridge you have the ability to:

    • Restrict authentication for a team to SSO
    Read More
  • 11 min read

    Crunchy Bridge's Ruby Backend: Sorbet, Tapioca, and Parlour-Generated Type Stubs

    Brandur Leach

    When we started building Crunchy Bridge two years ago, we chose Ruby as the language to write our database state machine and control plane API. Ruby may not have been the most popular language choice in 2022, but we picked it anyway. A major reason is that everyone on the team already knew it well and liked it. Terse and elegant syntax is perfect for expressing our database state machine logic. Another reason we picked Ruby is that it lets us have a REPL running in production so we can carry out flexible operational work, and expediently thanks to that same terse syntax. Ruby is so efficient for managing a big fleet of servers that it feels a bit like cheating compared to clunky admin dashboards and CLIs.

    But Ruby by itself has a major challenge in that it lacks any kind of built-in mechanism for expressing variable and method type signatures. Every one of us had managed large Ruby codebases in the past and wanted to avoid the quagmire of uncertainty around what the types of anything are supposed to be, which makes code hard to reason about and dangerous to change.

    That's why we chose to type everything with Sorbet

    Read More
  • 3 min read

    Making Postgres More Affordable - New Low Cost Plans on Crunchy Bridge

    Craig Kerstiens

    We love Postgres and want it to be available to as many as possible. This is why we released our playground for people to come and learn Postgres. This is why we write about using Postgres and why we published our Postgres tips

    Read More
  • 3 min read

    Crunchy Bridge Terraform Provider

    Elizabeth Christensen

    In a world where everything is stored in git following IaC (infrastructure as code) you may want the same from your database. For many following this style of engineering modernization we see a focus on IaC and K8s. We have many users standardizing on our PGO

    Read More
  • 7 min read

    PostGIS For Newbies

    Elizabeth Christensen

    PostGIS is one of the most awesome extensions for PostgreSQL and can turn a relational database into a really powerful GIS (Geographic Information System). The PostGIS community is really great about documentation and training

    Read More
  • 6 min read

    Announcing Postgres Container Apps: Easy Deploy Postgres Apps

    Craig Kerstiens

    Today, I'm excited to announce the public beta of Postgres Container Apps for your Postgres databases on Crunchy Bridge. With Postgres Container Apps you can, from directly inside Postgres with a simple function call, spin up a container that is running right alongside your Postgres database. Let's take an immediate look of how we can spin up a Postgres featureserv:

    CREATE EXTENSION pgpodman;
    CREATE EXTENSION postgis();
    SELECT run_container('-dt -p 5435:7800/tcp -e DATABASE_URL=<DATABASE_URL> docker.io/pramsey/pg_featureserv:latest');
    
    Read More
  • 3 min read

    Fully Managed Postgres for Kubernetes with Crunchy Bridge

    Craig Kerstiens

    Whether you are starting a new development project, launching an application modernization effort, or engaging in digital transformation, chances are you are evaluating Kubernetes. If you selected Kubernetes, chances are you will ultimately need a database

    Read More
  • 5 min read

    Introducing the Crunchy Bridge CLI

    Craig Kerstiens

    Many years ago a group of colleagues and I latched onto this idea of flow and what it means for developer experiences. Flow was one of those things that was always hard to measure, but you could tell when it was right or wrong. It wasn’t about KPIs or deploy metrics, but it was about the overall efficiency of the process. A big part of flow when it came to DX was a great CLI experience.

    A great CLI is intuitive, it allows you to work efficiently while building on simplicity. A great CLI can be key to developer flow.

    In developing our CLI for Crunchy Bridge

    Read More