News for hackers. Stuff that matters.
Re:Building a high performance JSON parser by markl42 on Sunday November 05, 2023 @11:49AM (#38152832)
How big of an issue is this for GQL servers where all queries are known ahead of time (allowlist) - i.e. you can cache/memorize the ast parsing and this is only a perf issue for a few minutes after the container starts up

Or does this bite us in other ways too?

Re:Building a high performance JSON parser by jensneuse on Sunday November 05, 2023 @11:56AM (#38152911)
I build GraphQL API gateways / Routers for 5+ years now. It would be nice if trusted Documents or persisted operations were the default, but the reality is that a lot of people want to open up their GraphQL to the public. For that reason we've build a fast parser, validator, normalizer and many other things to support these use cases.