We built Hasura over the last few years to help us build products fast. We didn't know what it would look like when we started, but we've ended up with something like a Parse + Heroku but on your own infra so that you can mess around with the internals when required. Key features: 1. Data APIs on a Postgres database 2. Deploy with git-push, or any docker image 3. Expose HTTP services on the API gateway over subdomain…
Fun fact: hasura in Greek stands for "loss/ lost".
Show HN: Hasura – A Postgres BaaS and Kubernetes PaaS on Your Own Infrastructure
41–50 of 72 posts
Re: Show HN: Hasura – A Postgres BaaS and Kubernetes PaaS on Your Own Infrastructure
#42Earlier quoted context omitted.
This seems like working on a similar space as loopback.io, is this correct? if not, how would you compare the two? I ask because I'm currently using LB for a project and while I actually like it a lot I always like to be aware of alternatives and similar tools that I might need in the future.
The motivation is quite similar, especially with the out of the box APIs. The architecture/implementation is significantly different. Key value-prop differences are that out-of-box APIs are just one part of Hasura. The idea is to make it easy to integrate with community services (containerised) or deploy your own services in whatever language/stack. Some other specific differences: 1. Hasura Data API is a graphql lik…
Re: Show HN: Hasura – A Postgres BaaS and Kubernetes PaaS on Your Own Infrastructure
#43Earlier quoted context omitted.
This seems like working on a similar space as loopback.io, is this correct? if not, how would you compare the two? I ask because I'm currently using LB for a project and while I actually like it a lot I always like to be aware of alternatives and similar tools that I might need in the future.
The motivation is quite similar, especially with the out of the box APIs. The architecture/implementation is significantly different. Key value-prop differences are that out-of-box APIs are just one part of Hasura. The idea is to make it easy to integrate with community services (containerised) or deploy your own services in whatever language/stack. Some other specific differences: 1. Hasura Data API is a graphql lik…
Re: Show HN: Hasura – A Postgres BaaS and Kubernetes PaaS on Your Own Infrastructure
#44We built Hasura over the last few years to help us build products fast. We didn't know what it would look like when we started, but we've ended up with something like a Parse + Heroku but on your own infra so that you can mess around with the internals when required. Key features: 1. Data APIs on a Postgres database 2. Deploy with git-push, or any docker image 3. Expose HTTP services on the API gateway over subdomain…
First impressions: very little magics/transparent, reasonable pieces, reasonable architecture, well packaged, nicely automated, descriptive UI, no glaring wtfs, all the bases are covered, looks easy enough to customize at any layer with skills I already have — all very sensible.
Damn.
Re: Show HN: Hasura – A Postgres BaaS and Kubernetes PaaS on Your Own Infrastructure
#45We built Hasura over the last few years to help us build products fast. We didn't know what it would look like when we started, but we've ended up with something like a Parse + Heroku but on your own infra so that you can mess around with the internals when required. Key features: 1. Data APIs on a Postgres database 2. Deploy with git-push, or any docker image 3. Expose HTTP services on the API gateway over subdomain…
Aside: ran through the demo and got a "bad gateway" at the very end trying to access the todomvc-jquery app. Guessing HNs'd. First impressions: very little magics/transparent, reasonable pieces, reasonable architecture, well packaged, nicely automated, descriptive UI, no glaring wtfs, all the bases are covered, looks easy enough to customize at any layer with skills I already have — all very sensible. Damn.
Re: Show HN: Hasura – A Postgres BaaS and Kubernetes PaaS on Your Own Infrastructure
#46Earlier quoted context omitted.
Interesting, a couple quick questions: * for the host-your-own version are there any HA features for Postgres? * what language is it written in? GitHub link?
> for the host-your-own version are there any HA features for Postgres? Not right now. This is definitely on our roadmap though. > what language is it written in? GitHub link? It's mostly in Haskell, with smatterings of Python. Planning to open source it soon!
Re: Show HN: Hasura – A Postgres BaaS and Kubernetes PaaS on Your Own Infrastructure
#47Earlier quoted context omitted.
Aside: ran through the demo and got a "bad gateway" at the very end trying to access the todomvc-jquery app. Guessing HNs'd. First impressions: very little magics/transparent, reasonable pieces, reasonable architecture, well packaged, nicely automated, descriptive UI, no glaring wtfs, all the bases are covered, looks easy enough to customize at any layer with skills I already have — all very sensible. Damn.
Thanks for the feedback! Can you elaborate what you mean by little magics/transparent?
Transparency: I felt like it wouldn't be hard to figure out what was going on behind each step. First guess easy vs black box not-so-fun.
Overall easy to grok created app plus Hasura meta data associations and transformation points.
Re: Show HN: Hasura – A Postgres BaaS and Kubernetes PaaS on Your Own Infrastructure
#48One thing that concerns me is the "Don't make changes to your Postgres schema outside of the UI, it'll mess things up" warning. If I already have a tool to manage database migrations, it sounds like using it with this would be a bad idea?
Edit: Also, what accounts for the speed increase over a bare VM? I'm assuming something Hasura does for you, but it would be nice to know what that is.
Re: Show HN: Hasura – A Postgres BaaS and Kubernetes PaaS on Your Own Infrastructure
#49Looks kinda like Dokku + PostgREST + a fancy UI, is that mostly right? Not trying to disparage it, just trying to relate figure out what Hasura is, there's a lot going on. One thing that concerns me is the "Don't make changes to your Postgres schema outside of the UI, it'll mess things up" warning. If I already have a tool to manage database migrations, it sounds like using it with this would be a bad idea? Edit: Als…
Hasura is indeed kind of what you described.
The warning on the UI is mostly for non power-users who probably don't have a good db migration kind of practice. Underneath, the Hasura data API stores its minimal metadata within Postgres itself.
That means that you can always use Postgres directly, and your migration tool works exactly the way it should. Whenever your schema migrations affect a data API, you need to ensure a metadata update for the Data API as well. We're going to be publishing examples of how DB migrations look using just a raw SQL setup, and an alembic setup!
The speed increase for the Data APIs is because of a few reasons:
1) Efficient serialization/deserialization of the JSON queries and responses (https://hackage.haskell.org/package/aeson)
2) Prepared statements
3) JSON aggregations done within Postgres (not generating the JSON)
4) Every client API call needs to be authenticated. The authentication is done by a efficient middleware written inside nginx with redis as the session store. The data API layer, then just does the authorization (this user-id can access this row).
Re: Show HN: Hasura – A Postgres BaaS and Kubernetes PaaS on Your Own Infrastructure
#50One of the features, that I know how to do in MongoDB quickly but not in Postgres, is creating permissions not on the the role level (user, admin, etc) but on the id level like users with unique id blah234 and blah546 can access this table/row. I can figure it out in sql with time but it is not a tradeoff worth taking in my certain situation. I always look for this feature when I see a baas/paas tool show up on hacke…
If you know the multiple id's, why not make a role for them?