首页> 外文会议>IEEE/ACM International Conference on Mining Software Repositories >RestMule: Enabling Resilient Clients for Remote APIs
【24h】

RestMule: Enabling Resilient Clients for Remote APIs

机译:RestMule:为远程API启用弹性客户端

获取原文

摘要

Mining data from remote repositories, such as GitHub and StackExchange, involves the execution of requests that can easily reach the limitations imposed by the respective APIs to shield their services from overload and abuse. Therefore, data mining clients are left alone to deal with such protective service policies which usually involves an extensive amount of manual implementation effort. In this work we present RestMule, a framework for handling various service policies, such as limited number of requests within a period of time and multi-page responses, by generating resilient clients that are able to handle request rate limits, network failures, response caching, and paging in a graceful and transparent manner. As a result, RestMule clients generated from OpenAPI specifications (i.e. standardized REST API descriptors), are suitable for intensive data-fetching scenarios. We evaluate our framework by reproducing an existing repository mining use case and comparing the results produced by employing a popular hand-written client and a RestMule client.
机译:从诸如GitHub和StackExchange之类的远程存储库中挖掘数据涉及执行请求,这些请求可以轻松达到各个API所施加的限制,以保护其服务免于过载和滥用。因此,数据挖掘客户端将独自处理这种保护性服务策略,这通常涉及大量的手动实施工作。在这项工作中,我们介绍RestMule,该框架用于通过生成能够处理请求速率限制,网络故障,响应缓存的弹性客户端来处理各种服务策略,例如一段时间内的有限数量的请求和多页响应。 ,并以优美,透明的方式进行分页。结果,根据OpenAPI规范(即标准化的REST API描述符)生成的RestMule客户端适用于密集的数据获取方案。我们通过重现现有的存储库挖掘用例并比较使用流行的手写客户端和RestMule客户端产生的结果来评估我们的框架。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号