Neon Authorize just launched. Add row-level security to your codebase, with simplified syntax
Case Studies

Branch chose Neon for its true Postgres and serverless nature

Going serverless to ship product, not babysit infrastructure

Post image

Using Neon has meant our developers can continue to spend their time on things that meaningfully drive the business forward, instead of babysitting infrastructure.

Adithya Reddy, Developer 4 at Branch

Branch is a leader in innovative home and auto insurance that’s simple to buy and built for savings. As their services expanded, they needed a database solution capable of supporting complex queries and diverse data access patterns — a requirement that Amazon DynamoDB and other providers couldn’t fulfill.

Beyond NoSQL and the quest for a true serverless database

We were fully serverless from the start, but as we grew, our database needs evolved beyond what NoSQL could offer.

Branch has embraced a fully serverless tech stack from day one and initially used Amazon DynamoDB for all applications. However, they faced limitations with the NoSQL database, particularly in data storage and query flexibility. This led them to explore other options, including Aurora Serverless v1 and v2, and other distributed, and MySQL providers, but none met their needs of fast scale-up or scale-down to zero, resulting in a substantial bill for idle instances.

DynamoDB served and continues to serve us well, but its query limitations were a roadblock to our evolving data needs.

The company’s challenges with its previous database included:

  • Inefficiency in Data Handling: DynamoDB’s limitations in handling diverse query patterns.
  • Infrastructure Management: Challenges with Aurora Serverless, including slow scaling, VPC limitations, and cost inefficiencies.
  • Technical Limitations: Issues with payload limitations during large migrations and Aurora V2’s inability to scale to zero.

Ultimately, they chose Neon Serverless Postgres for its true serverless nature, scaling capabilities, and compatibility with their existing systems.

Neon checks all of our boxes. It’s real Postgres, scales down to zero, has no instances to manage, and only charges for data storage and actual usage

A perfect match for serverless architecture

Branch’s tech stack, including AWS Lambda, Vercel, Algolia, and Upstash, seamlessly integrates with Neon. Each developer at Branch is provided with their own isolated deployment environment using Neon’s database branching, ensuring a streamlined developer workflow. After extensive testing, Branch transitioned to Neon for its:

  • True Serverless Nature: Neon’s capacity to scale to zero and handle complex queries seamlessly.
  • Ease of Use: Simplified developer’s workflows with database branching, allowing developers to focus on app development rather than infrastructure.
  • Flexibility: Support for a wide range of PostgreSQL features, such as stored procedures and triggers.

An integrated part of the growth strategy

The best measure of Neon’s success for us has been that we have never had to think about Neon.

The implementation of Neon led to significant improvements:

  • Operational Efficiency: Zero time spent on database capacity and infrastructure management.
  • Scalability: Efficiently managed increasing data requirements with Neon’s automatic scaling capabilities.
  • Cost-Effectiveness: Pay-per-use model reduced costs significantly compared to other solutions.

Conclusion

Neon’s serverless Postgres database proved to be an ideal solution for Branch, aligning perfectly with their serverless architecture and simplifying database management while providing the flexibility and scalability required for their growing needs.
For companies seeking a hassle-free, scalable, and efficient database solution, Neon is a prime example of modern database technology, perfectly tailored for serverless architectures. Discover how Neon can eliminate operational burdens and bring standard Postgres into the modern development workflow by signing up here.