HackerPapers

arXiv:1906.07535cs.SE

Migrating to GraphQL: A Practical Assessment

Gleison Brito, Thais Mombach, Marco Tulio Valente

Early discovery. Linked by one identifiable commenter. This paper is outside the main ranking; a mention is not an endorsement.

Abstract

GraphQL is a novel query language proposed by Facebook to implement Web-based APIs. In this paper, we present a practical study on migrating API clients to this new technology. First, we conduct a grey literature review to gain an in-depth understanding on the benefits and key characteristics normally associated to GraphQL by practitioners. After that, we assess such benefits in practice, by migrating seven systems to use GraphQL, instead of standard REST-based APIs. As our key result, we show that GraphQL can reduce the size of the JSON documents returned by REST APIs in 94% (in number of fields) and in 99% (in number of bytes), both median results.

arXiv comments
11 pages. Accepted at 26th International Conference on Software Analysis, Evolution and Reengineering
Journal reference
DOI
doi:10.1109/SANER.2019.8667986
Subjects
cs.SESoftware Engineering

On Hacker News

Linked by 1 identifiable commenter in 1 comment across 1 thread, from Jul 2019 to Jul 2019. Found in 2 HN submissions from Jun 2019 to Jul 2019. Open submission discussions.

Comments linking this paper, per year.

Discussed in comments1 thread

Submitted to Hacker News

Connected through shared HN threads, not inferred similarity or a recommendation.