利用灵活的RPC解决方案使系统更加稳健
Making Systems More Robust with Flexible RPC Lookup
摘要:
现代分布式系统在任何地方都使用名称。像Challow和ZooKeeper这样的Lockservice提供了一种有效的机制,可以将应用程序名称映射到服务器实例,但是正确使用它们需要大量容易出错的样板代码。应用程序员经常尝试编写包装器来抽象这种逻辑,但事实证明,有一种更通用、更简单的方法来处理这个问题。我们表明,通过扩展RPC库的现有名称解析功能,我们可以消除对这种恼人的样板代码的需要,同时使我们的服务更加健壮。
英文摘要:
Modern distributed systems use names everywhere. Lockservices such as Chubby and ZooKeeper provide an effective mechanism for mapping from application names to server instances, but proper usage of them requires a large amount of error-prone boiler-plate code. Application programmers often try to write wrappers to abstract away this logic, but it turns out there is a more general and easier way of handling the issue. We show that by extending the existing name resolution capabilities of RPC libraries, we can remove the need for such annoying boiler-plate code while at the same time making our services more robust.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。