postgres-benchmarks VS aurora

Compare postgres-benchmarks vs aurora and see what are their differences.

postgres-benchmarks

A set of benchmarks focusing on the performance of Postgres client libraries for Node.js (by porsager)

aurora

CLI tool that orchestrates prisma files in a way that allows multiple .prisma files with cross-relations (by sabinadams)
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-benchmarks aurora
4 3
69 209
- -
10.0 0.0
over 3 years ago 5 months ago
JavaScript TypeScript
- -
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-benchmarks

Posts with mentions or reviews of postgres-benchmarks. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-10-14.
  • PostgresJs: The Fastest full featured PostgreSQL client for Node.js and Deno
    16 projects | news.ycombinator.com | 14 Oct 2023
    There's a link to a simple Benchmark right after the title.

    Here are two:

    https://github.com/porsager/postgres-benchmarks

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

  • Does Prisma work in production?
    14 projects | /r/node | 28 Mar 2022
    and really fast (https://github.com/porsager/postgres-benchmarks) even faster than the native postgres
  • Show HN: Postgres.js – Fastest Full-Featured PostgreSQL Client for Node and Deno
    15 projects | news.ycombinator.com | 24 Mar 2022
    > On the surface I'm not sure this explanation passes the smell test. Almost irrespective of how you get the data from your network card into v8 / nodejs, you're going to be crossing c++/v8 boundaries.

    yes, you are, but the differences are the object creation that occurs. a single buffer coming from c/c++ (a socket, let's say) can be parsed and turned into a large number of objects in javascript much more quickly. yes, you're passing through that barrier once, but creating all of those objects from c++ and passing through it 20-30 times is a lot more expensive.

    > Out of curiosity, do you have links to these other projects where they have similar benchmarking attempts/results?

    how about pg vs pg-native? https://github.com/porsager/postgres-benchmarks#results

    and unfortunately, I cannot find the original discussions from when node-redis went from native to pure javascript, but it was about a 30-40% speed increase originally if memory serves (I was the one who did that original conversion after a lot of deep dives into v8 and performance crossing the barrier).

    as an aside, I'm also the maintainer of plv8, and am happy to discuss the same types of performance issues of dealing with jsonb vs json (which in Postgres is text): creating objects vs a simple JSON.parse() in c++ is a significant difference.

aurora

Posts with mentions or reviews of aurora. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-08-21.
  • What is Prisma bad at?
    5 projects | /r/node | 21 Aug 2022
  • Does Prisma work in production?
    14 projects | /r/node | 28 Mar 2022
    Yes, there are a few ways to achieve this! It's not supported natively yet but in this issue lots of people list their favorite workarounds which you can draw inspiration from. One of the most popular ones is to use a library written by one of our community members (who we actually now hired as a Developer Advocate :D) called aurora.
  • what node ORM is worth it to learn
    10 projects | /r/node | 26 Feb 2022
    Splitting the schema file is indeed not yet possible but we will be working on this soon. Also, there are already a number of tools from the community that allow this (e.g. Aurora) and some people just use simple bash scripts to concat the .prisma files before running CLI commands against them (the GitHub issue lists a lot of workarounds).

What are some alternatives?

When comparing postgres-benchmarks and aurora you can also consider the following projects:

plv8 - V8 Engine Javascript Procedural Language add-on for PostgreSQL

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

pg-anonymizer - Dump anonymized PostgreSQL database with a NodeJS CLI

postgres - Postgres.js - The Fastest full featured PostgreSQL client for Node.js, Deno, Bun and CloudFlare

tuql - Automatically create a GraphQL server from a SQLite database or a SQL file

pgtyped - pgTyped - Typesafe SQL in TypeScript

blog - OpenSource,Database,Business,Minds. git clone --depth 1 https://github.com/digoal/blog

Prisma - Next-generation ORM for Node.js & TypeScript | PostgreSQL, MySQL, MariaDB, SQL Server, SQLite, MongoDB and CockroachDB

surrealdb-client-generator - Tool which generates a typescript client for SurrealDB and zod schema of a given database

node-redis - Redis Node.js client

rdb - Javascript and Typescript ORM with full intellisense, no-code generations. Works over http as well.