计算机科学 > 软件工程
[提交于 2019年6月18日]
标题:Migrating to GraphQL: A Practical Assessment
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要: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.
提交历史
来自:Marco Tulio Valente[v1] 2019年6月18日 星期二 12:52:05 UTC