pg-ulid VS Hasura

Compare pg-ulid vs Hasura and see what are their differences.

pg-ulid

ULID Functions for PostgreSQL (by edoceo)

Hasura

Blazing fast, instant realtime GraphQL APIs on your DB with fine grained access control, also trigger webhooks on database events. (by hasura)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
pg-ulid Hasura
2 228
58 30,810
- 0.4%
0.0 9.8
over 4 years ago 2 days ago
C TypeScript
- 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.

pg-ulid

Posts with mentions or reviews of pg-ulid. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-11-09.
  • Lesser Known PostgreSQL Features
    7 projects | news.ycombinator.com | 9 Nov 2021
    Here's one[1], not actively maintained though.

    [1] https://github.com/edoceo/pg-ulid

  • PostgreSQL UUID vs. Serial vs. Identity
    10 projects | news.ycombinator.com | 31 May 2021
    Yeah, just use a UUID unless the bits to store the UUID really are your driving limitation (they're not), having a UUID that is non-linear is almost always the most straight-forward option for identifying things, for the tradeoff of human readability (though you can get some of that back with prefixes and some other schemes). I'm not going to rehash the benefits that people have brought up for UUIDs, but they're in this thread. At this point what I'm concerned about is just... what is the best kind of UUID to use -- I've recently started using mostly v1 because time relationship is important to me (despite the unfortunate order issues) and v6[0] isn't quite so spread yet. Here's a list of other approaches out there worth looking at

    - isntauuid[1] (mentioned in this thread, I've given it a name here)

    - timeflake[2]

    - HiLo[3][4]

    - ulid[5]

    - ksuid[6] (made popular by segment.io)

    - v1-v6 UUIDs (the ones we all know and some love)

    - sequential interval based UUIDs in Postgres[7]

    Just add a UUID -- this almost surely isn't going to be what bricks your architecture unless you have some crazy high write use case like time series or IoT or something maybe.

    [0]: http://gh.peabody.io/uuidv6/

    [1]: https://instagram-engineering.com/sharding-ids-at-instagram-...

    [2]: https://github.com/anthonynsimon/timeflake

    [3]: https://en.wikipedia.org/wiki/Hi/Lo_algorithm

    [4]: https://www.npgsql.org/efcore/modeling/generated-properties....

    [5]: https://github.com/edoceo/pg-ulid

    [6]: https://github.com/segmentio/ksuid

    [7]: https://www.2ndquadrant.com/en/blog/sequential-uuid-generato...

Hasura

Posts with mentions or reviews of Hasura. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-25.
  • Serious flaws in SQL – Edgar F. Codd (1990)
    2 projects | news.ycombinator.com | 25 Apr 2024
    > 2. ORMs do not hide SQL nastiness.

    This is certainly true!

    I mean: ORMs are now well known to "make the easy queries slightly more easy, while making intermediate queries really hard and complex queries impossible".

    I think the are of ORMs is over. It simply did not deliver.

    If a book on SQL is --say-- 100 pages, a book on Hibernate is 400 pages. So much to learn just to make the easy queries slightly easier to type? Just not worth it.

    I prefer jooq any day over ORMs. And dont get me started over what tools like Hasuna have to offer.

    There are also some languages (forgot the names) that are SQL-done-right. Select in the back, more type safe, more logic, more in the same steps as the query gets executed. These need to be adopted by PG and MySQL and we're good to go. (IMHO)

    https://www.jooq.org/

    https://hasura.io/

  • Ask HN: How Can I Make My Front End React to Database Changes in Real-Time?
    8 projects | news.ycombinator.com | 17 Apr 2024
    [4] https://github.com/hasura/graphql-engine/blob/master/architecture/live-queries.md
  • The Many Ways Not to Build an API
    4 projects | dev.to | 1 Apr 2024
    Another strategy is to model access control declaratively and enforce it in the application layer. ZenStack (built above Prisma ORM) and Hasura are good examples of this approach. The following code shows how access policies are defined with ZenStack and how a secured CRUD API can be derived automatically.
  • The 2024 Web Hosting Report
    37 projects | dev.to | 20 Feb 2024
    Today, this ecosystem is going strong with new providers like Hasura, AppWrite and Supabase powering millions of projects. There are a few reasons people choose this style of hosting, especially if they are more comfortable with frontend development. BaaS lets them set up a database in a secure way, expose some business logic on top of the data, and connect via a dev-friendly SDK from their app or website code to save data easily. These modern tools build a blend of managed database with curated plugins such as authentication, great admin dashboards, and function as a service type capability - all in one package, and often offered as a integrated hosted service.
  • Ask HN: Is There a Zapier for APIs?
    3 projects | news.ycombinator.com | 19 Feb 2024
    Hi! If you’ve ever thought about something like using GraphQL for something like this.. You might like Hasura. (Obligatory I work for Hasura)

    We’ve got an OpenAPI import and you can setup cron-jobs or one-off jobs and do things like load in headers from the environment variables to pass through. There isn’t currently an easy journey for chaining multiple calls together without writing any code at all, but you can wrap pretty much any API endpoint via OpenAPI import or a custom action, and you can even make minor edits to things like the API contract format to change aliases/naming.

    Our goal is to join all the things, databases and API’s. Most people know us for instant GraphQL API’s that give you CRUD on your database, but we also wrap APIs.

    Not sure if something like this would fit your use-case and do check out some of the other things mentioned, but depending what you are trying to do I think Hasura might potentially work.

    You can find out more here: https://hasura.io

  • Ask HN: What is the easiest way to create a CRUD web app in 2024?
    2 projects | news.ycombinator.com | 16 Feb 2024
  • 2024 Web Development Wish List
    7 projects | dev.to | 10 Jan 2024
    Nested Mutation - 113 thumbs up, and still open since 2019... another case of not listening to the users?
  • Hasura V3 Engine is in alpha
    1 project | news.ycombinator.com | 20 Dec 2023
  • Hasura: Instant GraphQL on your Postgres data
    1 project | news.ycombinator.com | 14 Dec 2023
  • Hasura and Keycloak integration with NestJS server
    5 projects | dev.to | 7 Dec 2023
    Hasura is an open-source real-time GraphQL API server with a strong authorization layer on your database. You can subscribe to database events via webhooks. It can combine multiple API servers into one unified graphQL API. Hasura is a great tool to build any CRUD GraphQL API. Hasura does not have any authentication mechanisms; e.g., you need an auth server to handle sign-up and sign-in.

What are some alternatives?

When comparing pg-ulid and Hasura you can also consider the following projects:

ksuid - K-Sortable Globally Unique IDs

supabase - The open source Firebase alternative.

cuid - Collision-resistant ids optimized for horizontal scaling and performance.

postgrest - REST API for any Postgres database

Dapper - Dapper - a simple object mapper for .Net

Kong - 🦍 The Cloud-Native API Gateway and AI Gateway.

tbls - tbls is a CI-Friendly tool for document a database, written in Go.

crystal - 🔮 Graphile's Crystal Monorepo; home to Grafast, PostGraphile, pg-introspection, pg-sql2 and much more!

timeflake - Timeflake is a 128-bit, roughly-ordered, URL-safe UUID.

KrakenD - Ultra performant API Gateway with middlewares. A project hosted at The Linux Foundation

postgres-elasticsearch-fdw - Postgres to Elastic Search Foreign Data Wrapper

Neo4j - Graphs for Everyone