postgres VS rupy

Compare postgres vs rupy and see what are their differences.

postgres

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

rupy

HTTP App. Server and JSON DB - Shared Parallel (Atomic) & Distributed (by tinspin)
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 rupy
42 31
6,722 136
- -
8.2 1.1
5 days ago about 1 year ago
JavaScript Java
The Unlicense -
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.

rupy

Posts with mentions or reviews of rupy. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-02-17.
  • Considerations for a long-running Raspberry Pi
    11 projects | news.ycombinator.com | 17 Feb 2024
    I have been running a Raspberry 2 cluster for 10 years: http://host.rupy.se

    A few weeks back the first SD card to fail got so corrupted it failed to reboot!

    My key learning is use oversized cards, because then the bitcycle will wear slower!

    I'm going from 32GB to 256/512/1024!

  • What Kind of Asynchronous Is Right for You?
    1 project | news.ycombinator.com | 17 Jun 2023
    How this article does not mention SSE, comet or chunking escapes me.

    What does their definition of event-driven really look like in practice.

    Nobody has a clue.

    Here is the ideal event driven system, it's async-to-async: https://github.com/tinspin/rupy/wiki/Fuse

    The example is not working because I had to shut down the services for multiple reasons, but the high level of it is that you use 4 (potentially different) threads to do one request/response middle man transaction.

    That way you have _zero_ io-wait or idling. I'm surprised nobody has copied this approach since I invented it 10 years ago. I understand why though you need your entire chain to be async and that means rewriting everything and that is a big risk when it's hard to debug.

    But if you succeed you can build something that is 10x perf/watt than all other implementations. Which is going to be important when interest rates go higher and crash our entire industry.

  • An unknown Swedish startup’s €3B bid to build a green rival to AWS
    1 project | news.ycombinator.com | 10 Jun 2023
    The hardware is peaking.

    So software is where you can make the difference: http://host.rupy.se

  • Sandstorm: Open-source platform for self-hosting web app
    15 projects | news.ycombinator.com | 4 Jun 2023
  • You Want Modules, Not Microservices
    11 projects | news.ycombinator.com | 3 Jan 2023
    I think we're all confused over the definition. Also one might understand what all the proponents are talking about better if they think about this more as a process and not some technological solution:

    https://github.com/tinspin/rupy/wiki/Process

    All input I have is you want your code to run on many machines, in fact you want it to run the same on all machines you need to deliver and preferably more. Vertically and horizontally at the same time, so your services only call localhost but in many separate places.

    This in turn mandates a distributed database. And later you discover it has to be capable of async-to-async = no blocking ever anywhere in the whole solution.

    The way I do this is I hot-deploy my applications async. to all servers in the cluster, this is what a cluster node looks like in practice (the name next to Host: is the node): http://host.rupy.se if you click "api & metrics" you'll see the services.

    With this not only do you get scalability, but also redundancy and development is maintained at live coding levels.

  • I wish my web server were in the corner of my room
    9 projects | news.ycombinator.com | 11 Oct 2022
    I have hosted my own web server both physically and codevise since 2014.

    It's on a Raspberry 2 cluster:

    http://host.rupy.se

    Since 2016 i have my own database also coded from scratch:

    http://root.rupy.se

    We need to implement HTTP/1.1 with less bloat, a C non-blocking web server that can share memory between threads is probably the most interesting project for humans right now, is anyone working on that?

  • Ask HN: Free and open source distributed database written in C++ or C
    12 projects | news.ycombinator.com | 16 May 2022
    I have one in Java: https://github.com/tinspin/rupy

    Here is the 2000 lines of code of the entire database: http://root.rupy.se/code?path=/Root.java

    And here you can try it out: http://root.rupy.se

  • Dokku – Free Heroku Alternative
    13 projects | news.ycombinator.com | 14 May 2022
    The smallest PaaS you have ever seen is one order of magnitude larger than mine: https://github.com/tinspin/rupy

    And I bet you the same goes for performance, if not two!

  • Server-Sent Events: the alternative to WebSockets you should be using
    19 projects | news.ycombinator.com | 12 Feb 2022
    The data is here: http://fuse.rupy.se/about.html

    Under Performance. Per watt the fuse/rupy platform completely crushes all competition because of 2 reasons:

    - Event driven protocol design, averages at about 4 messages/player/second (means you cannot do spraying or headshots f.ex. which is another feature in my game design opinion).

    - Java's memory model with atomic concurrency which needs a VM and GC (C++ copied that memory model in C++11, but it failed completely because they lack both VM and GC, but that model is still to this day the one C++ uses), you can read more about this here: https://github.com/tinspin/rupy/wiki

    You can argue those points are bad arguments, but if you look at performance per watt with some consideration for developer friendlyness, I'm pretty sure in 100 years we will still be coding minimalist JavaSE on the server and vanilla C (compiled with C++ compiler) on the client.

  • Jodd – The Unbearable Lightness of Java
    12 projects | news.ycombinator.com | 17 Jan 2022

What are some alternatives?

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

pg-promise - PostgreSQL interface for Node.js

huproxy

trpc - 🧙‍♀️ Move Fast and Break Nothing. End-to-end typesafe APIs made easy.

cmdg - Command line Gmail client

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

Nullboard - Nullboard is a minimalist kanban board, focused on compactness and readability.

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

cakephp-swagger-bake - Automatically generate OpenAPI, Swagger, and Redoc documentation from your existing CakePHP code.

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

dbmate - :rocket: A lightweight, framework-agnostic database migration tool.

PostgreSQL - PostgreSQL client for node.js.

Aerospike - Aerospike Database Server – flash-optimized, in-memory, nosql database