arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1903.07712cs.SEcs.DC
收藏

Web API质量基准--再访

Benchmarking Web API Quality -- Revisited

David Bermbach, Erik Wittern

摘要:

现代应用程序越来越多地与Web API进行交互-可重用组件,在应用程序外部部署和操作,并通过网络访问。可以说,它们的存在刺激了应用程序的创新,使数据或功能的集成变得容易。虽然以前的工作已经分析了Web API的生态系统及其设计,但对Web API在运行时的质量知之甚少。这一差距至关重要,因为可用性、延迟或提供商安全偏好等质量可能会严重影响应用程序和用户体验。在本文中,我们重新审视了一个为期3个月的流行Web API的地理分布基准测试,最初是在2015年进行的。我们在2018年重复这个基准测试,并比较这两个基准测试在可用性和延迟方面的结果。此外,我们还介绍了2015年和2018年收集的评估提供商安全偏好的新结果,以及我们试图通过2015年实验结果与API提供商联系的结果。我们广泛的实验表明,Web API质量各不相同1。基于客户端的地理分布,2.)在我们的个人实验中,和3.)在两个实验之间。我们的研究结果为促进围绕Web API质量的讨论提供了证据,并可以作为创建工具和方法以减轻质量问题的基础。

英文摘要:

Modern applications increasingly interact with web APIs -- reusable components, deployed and operated outside the application, and accessed over the network. Their existence, arguably, spurs application innovations, making it easy to integrate data or functionalities. While previous work has analyzed the ecosystem of web APIs and their design, little is known about web API quality at runtime. This gap is critical, as qualities including availability, latency, or provider security preferences can severely impact applications and user experience. In this paper, we revisit a 3-month, geo-distributed benchmark of popular web APIs, originally performed in 2015. We repeat this benchmark in 2018 and compare results from these two benchmarks regarding availability and latency. We furthermore introduce new results from assessing provider security preferences, collected both in 2015 and 2018, and results from our attempts to reach out to API providers with the results from our 2015 experiments. Our extensive experiments show that web API qualities vary 1.) based on the geo-distribution of clients, 2.) during our individual experiments, and 3.) between the two experiments. Our findings provide evidence to foster the discussion around web API quality, and can act as a basis for the creation of tools and approaches to mitigate quality issues.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑