News for hackers. Stuff that matters.

tusharmath

Never knew that additive changes could also be breaking. Nice one. Thanks for sharing!
Re:Why is Hasura so slow? on Monday July 22, 2024 @09:14AM (#41033987)
Hello!

We've conducted benchmarks across various GraphQL backends and discovered that Hasura is performing significantly slower than its counterparts. We want to ensure the accuracy of these results and are eager to collaborate with Hasura experts to explore potential improvements. Could we discuss strategies to optimize Hasura's performance in our benchmarks? Looking forward to your expert insights.

P.S.: Please focus on the constructive aspects of these benchmarks, as they specifically test a feature present in Hasura, which is marketed to deliver "fast" GraphQL APIs on top of any data source.

Ask HN: Offering free GraphQL migration support

Hello everyone,I want to ask if anyone is interested in having me build a best-practice GraphQL API on top of your existing REST or gRPC APIs, completely free of charge.We're currently running a pilot with our open-source GraphQL runtime, which you can check out at https://tailcall.run/, and would like to test it out with some real production APIs. Anyone who is interested, please comment and...

( Read More... | no comments | on HN )
Re:Why, after 6 years, I'm over GraphQL on Thursday May 30, 2024 @11:51PM (#40531302)
Re:GraphDev: GraphQL-First API Development Tool on Tuesday May 28, 2024 @02:17PM (#40503758)
Looks interesting. Im building:

https://tailcall.run

I wanted to integrate a better UI for our GraphQL playground. If you are open for a collab, send me a DM on LinkedIn in.

Re:Ask HN: When should I use GraphQL on Tuesday May 28, 2024 @02:14PM (#40503727)
Re: on Tuesday March 19, 2024 @08:44AM (#39755135)
Must Have:

- Strong understanding of GraphQL and related technologies.

- Previous experience in a developer relations, advocacy, or evangelism role.

- Proven ability to present technical concepts in a clear and engaging manner.

- Active participation in relevant tech communities.

Nice to Have:

- Experience with Rust or other modern programming languages.

- Familiarity with web proxies, networking, and related technologies.

- Established online presence (e.g., on GitHub, Twitter, blogs).

- Contributor to Tailcall - https://github.com/tailcallhq/tailcall

Additional Requirements:

- Passionate about connecting with developers and understanding their needs.

- Positive attitude towards collaboration and community building.

- Self-driven and adaptable to the evolving needs of the project.

Share your linkedin/twitter profile here and we will connect with you.

Re:Ask HN: Is There a Zapier for APIs? on Tuesday February 20, 2024 @02:17AM (#39438776)
With Tailcall, you could compose API over multiple any of the following formats REST, GraphQL, and GRPC APIs to create a unified API endpoint. This could also be any of the above. So you could expose a set of REST endpoints atop, multiple GRPC APIs, where you are not just doing basic translations, but also sophisticated data transformation that has business logic inside it.
Re:Ask HN: Is There a Zapier for APIs? on Tuesday February 20, 2024 @02:14AM (#39438761)
Actually, you might want to check out https://tailcall.run (Disclaimer: I am the core maintainer of the project)

It's an open-source API Orchestrator, in other words "a Zapier for APIs". If you find it interesting, hit our discord channel to learn more about it.

What are you using for GraphQL?
Re:The Ur Programming Language Family on Tuesday January 30, 2024 @02:20AM (#39187277)
Tailcall is building something similar in that regard. The idea is to allow developers to specify their orchestration requirements using a DSL and then behind the scenes generate an ultra high performance backend for GraphQL. The query could span over REST, GRPC and other GraphQL services. Check it out — https://github.com/tailcallhq/tailcall
This sure seems very interesting. Have you written the GraphQL layer by hand? Have you tried https://github.com/tailcallhq/tailcall

With tailcall, you can quickly bootstrap a GraphQL service on top of existing APIs. I would love to collaborate on this and help you on board.

It's open source and free. Use it if you like what it offers.

Disclaimer: I am not promoting it, I am just stating facts :)

Yes, that is the best time to build a GraphQL API. It will save you many hours later. Like it or not, eventually if you are building a mobile app, you will move to GraphQL eventually. It's a massive pain to do it when you have everything running. GraphQL will save you from embarrassing errors on the client and improve performance for sure. My recommendation is — Build API and expose them using REST or GRPC. Use a solution like https://tailcall.run/ to create a GraphQL facade on top of it for your clients to consume.
Re:Ask HN: GraphQL in 2024 on Tuesday December 19, 2023 @07:13AM (#38694613)
I am not sure if I understand what you by the "frontend server"? I think Tailcall is closer to AppSync than Amplify.

Second part of your question: You can define a set of "allowed headers" that will be automatically forwarded upstream. In your case, you can set the allowed headers to `Authorization`.

Link to the doc:

https://tailcall.run/docs/guides/operators/#allowedheaders

Re:Ask HN: GraphQL in 2024 on Sunday December 17, 2023 @12:41AM (#38670600)
The idea of tailcall is to move the graphQL abstract closer to the client. So for example, if you are building a web application, you don't need to depend on the backend teams to build a GraphQL implementation for you. You should be able to use the tailcall DSL and express your orchestration requirements using it. The DSL looks like a normal GraphQL file so there is no new language to learn. Because this file is for the client, it can be literally in the same repository as the client, effectively ensuring the GraphQL server and the client are always on the same version. A simple git ops is then implemented, to auto-deploy the orchestration logic and release the mobile application simultaneously.

Because you have a DSL to represent the orchestration logic, you can introspect how the orchestration would happen even before your server starts. So you can apply lint rules on the configuration, and also a ton of ahead-of-time optimizations. You can also identify n + 1 upfront, restrict them in certain cases, and allow for others. Moreover, you don't need to think about the performance and maintenance of this service. Once deployed on your/our infra, every time there is a configuration change, we just perform a reload and within seconds it is updated across the infrastructure.

This is a fundamental shift from how graphQL is maintained traditionally. It gives backend engineers an opportunity to think in terms of orthogonal APIs or migrate from monolith to microservices etc. without worrying. Secondly, it gives frontend engineers the power to design the schema that makes sense for them, without writing any code or being on-call for any outages.

Ask HN: GraphQL in 2024

Hi, I am the founder of https://tailcall.run. I have personally built and used GraphQL at a massive scale (100M rpm, 1K APIs, 100s services). I believe have a fair understanding of the problem it solves, as well as its pitfalls. We built Tailcall because we realized that manually writing a GraphQL service is inefficient and doesn't scale well. Our main learning was that APIs should be built and...

( Read More... | 5 comments | on HN )
Re:Ask HN: What apps have you created for your own use? on Wednesday December 13, 2023 @08:11AM (#38626809)
Have you considered using https://tailcall.run It can automatically create a high performance graphql API.
Re: on Monday November 20, 2023 @01:36AM (#38343441)
If you are a cranelift expert and have worked with compilers wasm using rust we have something that might interest you. Just send us your prior work with cranelift to jobs at tailcall.run and we will get in touch.
Re:Tailcall beats every single GraphQL benchmark on Friday November 03, 2023 @10:54AM (#38129730)
Tailcall is a no-code solution for writing GraphQL backends. It is heavily focussed on building a high-performance implementation that can make GraphQL practical for service to service communication. Tailcall does a lot of AOT optimizations to get performance that's practically very hard to achieve while writing code by hand. You will clearly see in the benchmarks above that it's only slower than static rust.
Re:Kotlin Multiplatform Is Stable and Production-Ready on Thursday November 02, 2023 @11:56PM (#38124312)
Have you tried https://tailcall.run/ It's a fairly powerful and performance focussed solution to building GraphQL backends.
Re:TailCall: High-performance API Gateway for GraphQL back ends on Saturday October 28, 2023 @11:47PM (#38055685)
The configuration that is provided by the user, is text, however it's parsed into an AST, then converted into a low-level implementation called the blueprint. The hash is that of the blueprint and is free of any whitespaces or textual changes.
Re:TanStack Query(a.k.a. React Query) v5 announced on Thursday October 19, 2023 @07:42AM (#37941503)
Writing your own backend for GraphQL doesn't scale. You should stick to no-code solutions that can auto generate graphQL on top of existing APIs. Checkout https://tailcall.run
Re:Microfront ends should be your last resort on Thursday October 19, 2023 @04:10AM (#37939925)
The iframes can share service workers if they are all on the same origin. I would recommend using a service-worker which intercepts every graphQL request and caches on that layer. You can do a lot more on that layer once it's setup. For example — Enable batching, Rate limiting etc.
Re:What SWE job hunting is like right now on Tuesday October 17, 2023 @10:54AM (#37916089)
What's wrong with GraphQL? "CAN-OPEN-WORMS-EVERYWHERE"

Older »