Developing a Production Ambassador

The eicar.py and filesystem.py Ambassadors discussed in previous sections are proof of concept Ambassadors that do not address many requirements desirable of production ambassadors, including, but not limited to:

  1. 面向消费者的 API*
  2. the ability to speak to multiple Communities
  3. 跟踪消费者请求的手段,达到限制费率和记账等目的
  4. 可扩展的基础设施,根据需求进行调整,确保低延迟和高吞吐速率
  5. 过去的查询和结果的可扩展存档,哈希搜索、查杀和其他功能在此基础上创建

Swarm Technologies' Ambassador offers a public-facing API that is accessible using the polyswarm-api CLI tool & library.

You should consider supporting the same APIs so your customers can also make use of polyswarm-api to interact with your Ambassador.

Achieving these goals will vary heavily based on chosen architecture. If you're a Swarm Technologies partner, please reach out to us for additional guidance.