Hacker News new | ask | show | jobs
by filleokus 2859 days ago
>Tools that do performance monitoring (AppDyn, datadog, etc) don't grok GraphQL well.

If you haven't seen Apollo Engine[0], you might want to checkit out. Maybe its too expensive or problematic in some way for your scale, but I've used it quite successfully (on a much smaller scale). You implement their status-format for your responses, and place a proxy between your graphql server and client requests, which then siphons of the status data to them.

Regarding CDN, it would be interesting to see if someone tries to do some "computing on the edge" (i.e Cloudflare workers) to calculate/modify cache info from the graphql response.

EDIT: Apparently Apollo have a proposed standard for indicating cache status inside of responses[1], which then Engine can use to calculate correct cache headers for the CDN.

[0]: https://www.apollographql.com/engine [1]: https://github.com/apollographql/apollo-cache-control

1 comments

The Apollo people have a prototype of Apollo Server running on top of Cloudflare Workers, at the edge: https://github.com/jbaxleyiii/apollo-server-cloudflare

(Disclosure: I'm the tech lead for Workers at Cloudflare.)