postgres VS neon

Compare postgres vs neon and see what are their differences.

postgres

Postgres.js - The Fastest full featured PostgreSQL client for Node.js, Deno, Bun and CloudFlare (by porsager)

neon

Neon: Serverless Postgres. We separated storage and compute to offer autoscaling, branching, and bottomless storage. (by neondatabase)
SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
surveyjs.io
featured
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
postgres neon
42 124
6,722 12,327
- 3.5%
8.2 9.9
4 days ago about 20 hours ago
JavaScript Rust
The Unlicense Apache License 2.0
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.

postgres

Posts with mentions or reviews of postgres. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-15.
  • Neon Is Generally Available: Serverless Postgres
    6 projects | news.ycombinator.com | 15 Apr 2024
    I want to use this as a chance to bring attention to a GitHub issue that I think would help reduce friction for Neon:

    https://github.com/neondatabase/neon/issues/4989

    If the Neon driver were to allow us to easily pass in a localhost connection, the development and test experience would be easier. Perhaps Neon could swap to something like this internally: https://github.com/porsager/postgres.

    Having run a local dev environment connected to Neon and tests connected to Neon got in our way of adoption. We'd prefer to develop and run tests against a regular Postgres localhost database.

    To the PMs of Neon, put yourself in the shoes of a new developer thinking of giving Neon a try. What changes will I have to make to my code and my development workflow?

  • Drizzle is just as unready for prime-time as Prisma, what else is there?
    12 projects | /r/reactjs | 6 Dec 2023
    I'd push you to consider using postgres, slonik or similar for database queries. With these libraries, you just write SQL, but they perform input sanitization for you. So you can safely write:
  • Ask HN: If you were to build a web app today what tech stack would you choose?
    21 projects | news.ycombinator.com | 29 Oct 2023
  • PostgresJs: The Fastest full featured PostgreSQL client for Node.js and Deno
    1 project | /r/hypeurls | 16 Oct 2023
    16 projects | news.ycombinator.com | 14 Oct 2023
    Thanks Pier! Your comment saved me some frustration here :-D

    https://github.com/porsager/postgres/discussions/627#discuss...

  • We migrated to SQL. Our biggest learning? Don't use Prisma ORM
    3 projects | news.ycombinator.com | 8 Oct 2023
    There's a core client interface here:

    - https://www.postgresql.org/docs/current/client-interfaces.ht...

    On what makes it postgres.js faster, from author himself:

    > it seems Postgres.js is actually faster than, not only pg, but of any driver out-there

    - https://github.com/porsager/postgres/discussions/627

    - https://porsager.github.io/imdbench/sql.html

  • Relational is more than SQL
    11 projects | news.ycombinator.com | 16 Sep 2023
    When viewed as a DSL for set theory, views, CTEs, set-returning functions, et al are indeed proper first-class query abstractions.

    When viewed through the lens of general purpose imperative or functional programming languages, it's easy to see how it can be seen as falling short.

    I'll admit much of the tooling and driver APIs leave a lot to be desired.

    Some tools do make good efforts though such as nested fragments in this driver.

    https://github.com/porsager/postgres#building-queries

  • SQLite-based databases on the Postgres protocol? Yes we can
    4 projects | news.ycombinator.com | 4 Jul 2023
    I don't think this should turn in to an ORM or not debate, but there are plenty of reasons, especially for the crowd that would do anything to avoid ORMs. Just try to take a peek into the multitude of "ORMs are bad" articles / discussions.

    For instance - I would love to be able to use https://github.com/porsager/postgres with sqlite.

  • Is ORM still an anti-pattern?
    15 projects | news.ycombinator.com | 27 Jun 2023
    Demonstrate how easily and accidentally one can make an SQL injection with these:

    https://github.com/porsager/postgres

    https://github.com/gajus/slonik

  • Storage on Vercel
    3 projects | news.ycombinator.com | 1 May 2023
    They've looked at Postgres.js (https://github.com/porsager/postgres) before β€” wouldn't mind if they enabled those other cases in the same way.

neon

Posts with mentions or reviews of neon. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-05-01.
  • How to ditch Neon
    2 projects | dev.to | 1 May 2024
    If you're reading this you probably got a really steep bill from Neon after finding yourself on their "Scale" plan. If you do want to stay with Neon but avoid surprise bills then go to the Plans page and choose what you actually want.
  • Serverless Postgres with Neon - My first impression
    1 project | dev.to | 24 Apr 2024
    Such is the case with Neon, a serverless Postgres service, that went generally available on April 15. Congrats Nikita Shamgunov and team on the launch. When I saw the announcement, I knew I had to try it out for myself and report back with my findings.
  • Neon Is Generally Available: Serverless Postgres
    6 projects | news.ycombinator.com | 15 Apr 2024
    I want to use this as a chance to bring attention to a GitHub issue that I think would help reduce friction for Neon:

    https://github.com/neondatabase/neon/issues/4989

    If the Neon driver were to allow us to easily pass in a localhost connection, the development and test experience would be easier. Perhaps Neon could swap to something like this internally: https://github.com/porsager/postgres.

    Having run a local dev environment connected to Neon and tests connected to Neon got in our way of adoption. We'd prefer to develop and run tests against a regular Postgres localhost database.

    To the PMs of Neon, put yourself in the shoes of a new developer thinking of giving Neon a try. What changes will I have to make to my code and my development workflow?

  • 11 Planetscale alternatives with free tiers
    8 projects | dev.to | 11 Apr 2024
    Neon is an open source and cloud-native serverless database platform that focuses on simplicity and ease of use. It supports Postgres databases and offers built-in features like bottomless storage, autoscaling, and branching.
  • Breaking the Myth: Scalable, Multi-Region, Low-Latency App Exists And Will Not Cost You A Kidney.
    4 projects | dev.to | 11 Apr 2024
    For MySQL, we've got PlanetScale, and for PostgreSQL, there's Neon.
  • Ask HN: Freelance website builders/maintainers, what's in your 2024 toolkit?
    9 projects | news.ycombinator.com | 1 Apr 2024
    8. https://neon.tech/As you might know not one tool fits all, I still have strong preferences for the following. It helps me get going faster and get things done right first time and helps in ease of maintenance.

    Language: Typescript.

  • Why PlanetScale broke our trust in database startups
    1 project | news.ycombinator.com | 15 Mar 2024
    Migrated away when they removed the free tier, ended up using https://neon.tech/
  • Parsing the Postgres protocol – logging executed statements
    5 projects | news.ycombinator.com | 14 Mar 2024
    Cool! At Neon[0], I work full time on our custom postgres proxy[1]. It's a very nice protocol to work with, although our usecase is quite a bit more complex compared to the ideas presented in the post.

    Neon databases scale to zero, so the proxy needs to spin up databases on the fly. The proxy doesn't do that but it knows if the databases is running and asks our control plane to schedule it if it isn't. It's a fun service to maintain.

    The biggest pain is error handling. Postgres is really bad for error messages and codes. The only available code we can use is usually protocol violation...

    [0]: https://neon.tech/

  • Neon: Serverless Postgres
    1 project | news.ycombinator.com | 13 Mar 2024
  • No More Free Tier on PlanetScale, Here Are Free Alternatives
    3 projects | dev.to | 8 Mar 2024
    Neon - PostgreSQL

What are some alternatives?

When comparing postgres and neon you can also consider the following projects:

pg-promise - PostgreSQL interface for Node.js

supabase - The open source Firebase alternative.

trpc - πŸ§™β€β™€οΈ Move Fast and Break Nothing. End-to-end typesafe APIs made easy.

cockroach - CockroachDB - the open source, cloud-native distributed SQL database.

slonik - A Node.js PostgreSQL client with runtime and build time type safety, and composable SQL.

yugabyte-db - YugabyteDB - the cloud native distributed SQL database for mission-critical applications.

prisma-redis-middleware - Prisma Middleware for caching queries in Redis

orioledb - OrioleDB – building a modern cloud-native storage engine (... and solving some PostgreSQL wicked problems) Β πŸ‡ΊπŸ‡¦

MySQL - A pure node.js JavaScript Client implementing the MySQL protocol.

MongoDB - The MongoDB Database

PostgreSQL - PostgreSQL client for node.js.

edgedb - A graph-relational database with declarative schema, built-in migration system, and a next-generation query language