by gavinray · 4y ago · 0 comments
> Hydra automatically picks the right DB for the right task and pushes down computation, meaning each query will get routed to where it can be executed the fastest. We’ve seen results return 100X faster when executing to the right database.
This is really interesting. Could you talk a bit more about query pushdown and planning/optimization?Is this through FDW's? Would love to hear more about the technical details.
Shameless plug -- I work at Hasura (turn DB's into GraphQL API's) and this seems incredibly synergistic and useful to get access to databases we don't have native drivers for at the moment.
Any chance of an OSS limited version?
Hydra does not use FDWs except for Postgres-to-Postgres communication (for now). What we found was that FDWs do not do pushdown very well, even when Postgres has full information. You can get FDWs to push down aggregations, but complex queries with subqueries etc quickly get slow again. In short, our goal is to have your queries take full advantage of the power of each datastores, and we found that FDWs do not accomplish that goal.
We want to support GraphQL at some point, so same goes for us!
We are thinking about an OSS version, I think how we do "limited" is a big part of what that means. What would you like to see in an OSS version? What would you use it for?
> What would you like to see in an OSS version? What would you use it for?
I think that's a difficult question to answer because it's hard to do data-access partially. How do you gate that, so it doesn't give everything away for free and incentivizes people to still pay you?Read-only access might be one way, but I'm unsure how popular that would be.
> What would you use it for?
Generating GraphQL API's for other datasources by funneling them through PostgresI know that EnterpriseDB is heavily invested in FDW development and core Postgres stuff, so maybe we'll see some more neat stuff come out of that team that makes it upstream.
[0] https://www.splitgraph.com/blog/postgresql-fdw-aggregation-p...
"Splitgraph connects numerous, unrelated data sources into a single, unified SQL interface on the Postgres wire protocol."
Just my 2 cents.
The basic pitch is for a "Unified Data Stack – an integrated and modern solution for working with data without worrying about its infrastructure." Connecting unrelated data sources is one part of the product, but it also includes a data catalog, modeling, integration, warehousing...
By integrating the discovery, access and (optionally) storage layers, we reduce the friction for a lot of common workflows, kind of like GitLab does by bundling CI pipelines and version control. Even if each layer has some tradeoffs, the benefit of integrating them has a multiplicative effect on the platform itself. And if you need a more specialized provider for one layer, that's fine too – the "data middleware" model makes Splitgraph incrementally adoptable.
But yeah... marketing is hard, especially in the "bag of tools" stage of product/market fit when the optimal messaging can differ so much by use case. Thanks for your suggestion!
1 - https://steampipe.io 2 - https://github.com/turbot/steampipe 3 - https://hub.steampipe.io/plugins
(I see your company has some pretty big costumers, but I suppose you're not just selling them a cloud version of Steampipe)
Steampipe Cloud [2] is in private preview providing a hosted version of Steampipe (and more). We're iterating fast and would love your feedback :-)
If it's OSS, I am definitely interested in experimenting with this. Maybe I can write a blogpost or something?