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.