recentpopularlog in

graphql

« earlier   
GraphQL at Twitter
First, they measure query complexity. They assign a "score" (some point value) to each field, and calculate the total cost of a query. The total cost is the complexity of a query, and is calculated before execution. They then limit queries to some maximum complexity, and reject queries that are too costly.

Twitter also uses query depth measurement, which simply calculates the height of a query. For example, they could reject queries that goes further than 10 fields deep.

They don't allow arbitrary queries. All queries must be uploaded and stored ahead of time and exchanged for a unique key:

POST /graphql/eyBuaWNlIHsgdHJ5IH0gfQ
These are called stored operations or persisted queries. This protects against attackers exploring the GraphQL API or running introspection queries against it to find out what data is available or looking for vulnerabilities.
graphql  Twitter  APIs 
4 hours ago by earth2marsh
Picking the right API Paradigm | Phil Sturgeon
Platform Engineer @ WeWork who talks about APIs a lot. Programming Polyglot, Pragmatist, Centerist and Sarcasist. Ex-The League of Extraordinary Packages, PHP The Right Way, Ex-PHP-FIG, Ex-CodeIgniter, Ex-FuelPHP, Ex-PyroCMS.
api  flowchart  grpc  graphql  rest  devops  platform 
yesterday by bobzoller
GraphQL Context & Services – Eric Clemmons – Medium
Having used GraphQL for quite some time, two of my favorite patterns are: “GraphQL Context & Services” is published by Eric Clemmons
graphql 
yesterday by ElliotPsyIT
Twitter
I spoke at about extending type-safety through to external, typed systems like . I love iterating…
graphql  elmconf  from twitter_favs
2 days ago by jackfranklin
Gridsome - Build blazing fast websites with Vue.js and GraphQL
Use any CMS or data source for content. Pull data from WordPress, Contentful, local Markdown, or any other headless CMS or APIs and access it with GraphQL in your pages and components.
graphql  vue  static  generator  wordpress 
2 days ago by to
Introducing GraphQL resolver tracing in AWS X-Ray – Life and Tech @ LifeOmic – Medium
Introducing GraphQL resolver tracing in AWS X-Ray - Added June 18, 2018 at 02:38PM
aws  aws-xray  graphql  read2of 
2 days ago by xenocid
302 Found
Introducing the GraphQL Guide - Added June 15, 2018 at 03:40PM
books  graphql  read2of 
2 days ago by xenocid
Build a Serverless GeoSearch GraphQL API using AWS AppSync & Elasticsearch
Build a Serverless GeoSearch GraphQL API using AWS AppSync & Elasticsearch - Added June 15, 2018 at 03:18PM
api  aws  aws-appsync  elasticsearch  graphql  read2of  serverless  tutorial 
2 days ago by xenocid
The GraphQL Stack, explained
The GraphQL Stack, explained - Added June 15, 2018 at 02:58PM
graphql  read2of 
2 days ago by xenocid
302 Found
Full Stack Error Handling with GraphQL and Apollo ? - Added June 14, 2018 at 02:38PM
api  graphql  javascript  read2of 
2 days ago by xenocid

Copy this bookmark:





to read