用户接口

这里介绍Pegasus服务所提供的用户接口。客户端可以在我们的服务接口上做二次封装。 通常你只需要通过 客户端文档 学习如何与Pegasus交互。

当前Pegasus支持几种接口协议:

Pegasus 协议

这也是我们的客户端与Pegasus服务端交互所使用的协议。我们通过该协议暴露了

  • 单行非幂等原子操作,如 set/get/del/ttl…

  • 单行幂等原子操作,如 check_and_mutate/incr…

  • 多行幂等原子操作,如 multiset/multiget/multidel…

  • 支持过滤的扫描操作,如 hash_scan/unordered_scan…

Redis 协议

我们通过Pegasus Redis Proxy这一组件在Pegasus协议之上支持了Redis协议。 你可以阅读 Redis适配 了解更多。

因为Redis接口提供了GEO支持,我们也借此支持了地理信息查询的功能。 你可以阅读 GEO支持 了解更多。

Apache Incubator
Copyright © 2020 The Apache Software Foundation. Licensed under the Apache License, Version 2.0.

Apache Pegasus is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.