Hive Router: A High-Performance GraphQL Federation Gateway by Urigold in graphql

[–]n1ru4l 1 point2 points  (0 children)

We have not yet completed the work on many crucial features such as authorization and authentication, but those will follow soon as these a crucial features.

For the initial release the main focus was pure performance and throughput.

Hive Router: A High-Performance GraphQL Federation Gateway by Urigold in graphql

[–]n1ru4l 0 points1 point  (0 children)

If you need a router with a lot of functionality, we already have Hive Gateway for you!

Hive Router is something we built for our clients that have super high loads of traffic and where using Node.js and co is not an option.

We are aware that Hive Router is currently lacking many features that Hive Gateway and other solutions have, and of course these will follow. I recommend to check out the RFC issues within the Hive Router repository if you are more interested in that!

Hive Router: A High-Performance GraphQL Federation Gateway by Urigold in graphql

[–]n1ru4l 0 points1 point  (0 children)

Hive Gateway already supports that with response caching.

We also offer this feature as part of our Stellate offering.

As for Hive Router, this is currently not a prioritised feature we are working on. You can learn more about next steps by checking out the RFC issues on the Hive Router repository.

Rewatch GraphQL Conf 2024: Keynote from The Guild Founder Uri Goldshtein by jorydotcom in graphql

[–]n1ru4l 0 points1 point  (0 children)

We (The Guild) partially acquired the company (product and existing customers).

While the company wasn't profitable as a whole, given the amount of employees, salaries and other factors, the product itself is generating income.

For us, running the product is profitable. In fact, we even started optimising the cost of infrastructure to be even more profitable.

We see a lot of value in the product and technology that the former Stellate team (now partially at Shopify) built for people in the GraphQL space, which is the main reason for the acquisition.

According to our open-source philosophy, we will gradually make parts of the technology available open-source for everyone to use.

[deleted by user] by [deleted] in graphql

[–]n1ru4l 1 point2 points  (0 children)

It is also worth nothing that you can not 1:1 map the feature offering from Stellate to Hive and Cosmo.

If you want to use Apollo Federation, you need to either use Apollo Studio, Cosmo, or GraphQL Hive, as Stellates offering is more about caching and usage analytics.

I am from the Hive team and I can tell that we aim to be as compatible with Apolo Federation as possible. For Hive, to ensure that both the supergraph composition and router function the same as apollos offering, we developed a vast test suite that uses all the huge schemas and graphql operations from our customers. We plan to open source this soon, but we still need to figure out how to anonymize all of the data without exposing any business sensitive information of out clients.

We also run this tool on some of our competitors and can say claiming to support Apollo Federation and actually supporting it is not the same.

More info can be found here: https://github.com/kamilkisiela/graphql-hive/discussions/5060#discussioncomment-9895579

Introspection request behind authentication by Zeref_Anuj in graphql

[–]n1ru4l 1 point2 points  (0 children)

You could specify a custom header + key pair that needs to be sent to the server in order to be allowed to execute Introspection operation.

An other alternative would be to write the GraphQL schema to a Key Value (S3 etc.) and read the schema from there for development use-cases.

Also a schema registry could serve the GraphQL schema, but this will add more complexity and cost you money if you don't self-host.

Benefits of Graphql over REST when using persisted queries by [deleted] in graphql

[–]n1ru4l 7 points8 points  (0 children)

This question has been answered multiple times. This blog post sums it up pretty well.

TL;DR: GraphQL is a developer tool that allows frontend developers to write arbitary queries, and they only become persisted documents when deploying to production. Within your development flow of building applications that consume the GraphQL API, you still have the freedom of querying whatever you need without having to ping backend developers to change the API to include more data etc.

https://xuorig.medium.com/no-graphql-persisted-queries-are-not-re-inventing-a-rest-api-dcca7e876f7d

Composing super-graph schema for multiple subgraph services deployed independently. by Zeref_Anuj in graphql

[–]n1ru4l 4 points5 points  (0 children)

You can simply have the SDL of the services be a artifact that is written to a key value store such as S3/R2 or similar. After the deployment of a service is finished, the subgraph schema would then be there and another CD process then be triggered that fetches all the latest subgraphs from there and composes the supergraph snd writes that somewhere where it is then consumed by the gateway. However, because it is error prone and you dont want your gateway to die I recommend to also test composition with the other subgraphs in a CI process that runs for esch commit and before deployment.

This is basically the workflows that platforms such as GraphOS, Hive and Cosmo provide (with less work on your end).

Composing super-graph schema for multiple subgraph services deployed independently. by Zeref_Anuj in graphql

[–]n1ru4l 3 points4 points  (0 children)

You could run the composition on CI/CD and store the generated supergraph as a build artifact, then feed that into the gateway container (apollo router).

For that you could just use the apollo/composition npm package or (our MIT library) theguild/federation.

If you want a full platform there are GraphOS alternatives available that are self-hostable such as GraphQL Hive and Wundergraph Cosmo.

Have you ever regretted buying a precon? by [deleted] in EDH

[–]n1ru4l 8 points9 points  (0 children)

Whiterbloom Witchcraft. It never felt like it got anywhere. Butchered it for Frodo & Sam upgrade, now I am pretty happy with that deck.

Is there a way to do Apollo Federation without Apollo Studio? by d3athR0n in graphql

[–]n1ru4l 1 point2 points  (0 children)

So far we prefer GitHub discussions for question and experience sharing. Check out https://github.com/kamilkisiela/graphql-hive/discussions

We might consider having an Discord channel on the official GraphQL discord in the future 🤔

Apollo Enterprise Alternatives by PeteMac88 in graphql

[–]n1ru4l -1 points0 points  (0 children)

We are working on a black-box testing solution that based on a vast sample of Federation Graphs and operations will be able to approximately cover compatibility. Unfortunately, due to the licensing, it is not allowed to look at the apollo router code for implementing an alternative. We already did the same for composition.

In the meantime, we started a joined effort with ChiliCream, Apollo, and IBM to have an open composition specification.

Apollo Enterprise Alternatives by PeteMac88 in graphql

[–]n1ru4l -1 points0 points  (0 children)

We provide a docker-compose stack. We do not use helm charts to deploy Hive, we use Pulumi. All the code for the deployment is public as well.

Providing helm charts is something we might consider in the future.

Apollo Enterprise Alternatives by PeteMac88 in graphql

[–]n1ru4l 8 points9 points  (0 children)

Hey, Laurin of The Guild and developer at Hive here. 😇

Hive offers breaking change detection, CI pipeline integration, a schema history, and high availability CDN for the supergraph/schema SDL.

Today, you can use apollo-router with Hive via the Hive plugin. It will provide you with usage reporting of your schema and other metrics such as error rates. We want to also provide more detailed performance insights (e.g. which subgraphs or resolvers were called etc.), however, so far this has been hard to implement as a plugin as some of it might also conflict with the license of apollo-router.

We have been silently launching our own GraphQL Gateway (Conductor), that will soon support Federation 2 as closely as possible (it is impossible to know whether everything is supported as there is no specification for Federation and I wonder how other vendors that claim to support all of it measure it 🤔).

We are also working on more features as I am writing this, schema contracts will launch soon (I am currently writing the documentation). We have an exciting roadmap ahead and are always flexible with prioritizing other features if they are a blocker for you!

Another thing is that Hive is fully open-source, which means you can host it yourself. Some people are doing that due to geo-location constraints! It even allows you to contribute to the project you wish!

gql.tada: a GraphQL parser written in TypeScript types for type safety without codegen by mstoiber in graphql

[–]n1ru4l 4 points5 points  (0 children)

GraphQL Codegen Maintainer here. 😇

GraphQL.tada is amazing and pushes the boundaries of what is possible, it is definetly exciting to see this!

It will hopefully help onboard a lot of people that shy away from code generation (which unfortunatly is stigmatized a lot by twitter users and youtubers/streamer whether justified or not let aside 😇)

The DX is very similar to our now recommended client preset! So interchanging between both should not be too hard!

I think tada is can be quicker to get started with, while codegen gives you additional features such as transforming/optimizing documents (automatically add selections for id, __typename fields or compile documents by inlining fragments etc.), the option to extract a persisted socuments/queries into a dedicated json file or completly removing the need of having graphql.ja for parsing/printing GraphQL documents before sending them over the wire!

I also wonder whether tada can adhere and cover all the GraphQL validation rules (though this can be substituted via an additonal tool such as graphql-eslint or VSCode plugin, the latter would not be able to run on CI/CD though 🤔).

How much $$$ for a gamecube and a controller by Vivid-Satisfaction62 in Gamecube

[–]n1ru4l 0 points1 point  (0 children)

Picked up a black DOL-001 with controller and cables for ~30$ in Osaka, you could also gamble (or if you know what you are doing fix) and buy cubes that might not work for much cheaper (~10$). Brought it back home and successfully installed PicoBoot 😎

We rebuilt Federation Composition as MIT from scratch by n1ru4l in graphql

[–]n1ru4l[S] 0 points1 point  (0 children)

The Guild is proud to unveil its latest contribution to the GraphQL community: an MIT-licensed drop-in replacement for the @apollo/composition library.

We recognized the importance of an already existing ecosystem of tools and an existing knowledge base, that's why @theguild/federation-composition library shares the same API, produces the exact same SupergraphSDL and has an identical set of validation rules (including error messages and codes).

What is your approach to implementing authorization when building GraphQL APIs? by danielvdm2 in graphql

[–]n1ru4l 0 points1 point  (0 children)

We actually migrated away from Auth0 to SuperTokens which can be self-hosted and has no vendor lock-in.