Skip to content
yomo serve <zipper>

yomo serve


Zipper can be started by the following command:

yomo serve -c config.yaml

the config.yaml is a YAML file, which contains the configuration of the Zipper:

### general ###
name: america
port: 9000
### auth ###
  type: token
  token: <CREDENTIAL>
### sfn ###
  - name: sfn-ai-stream-response
  - name: sfn-async-log-events
### cascading ###
   - zipper-asia_pacific
     port: 9000
     credential: 'token: <CREDENTIAL>'
   - zipper-america
     port: 9000
     credential: 'token: <CREDENTIAL>'
   - zipper-europe
     port: 9000
     credential: 'token: <CREDENTIAL>'


General Config

  • name - the name of the Zipper, it is used to identify the Zipper in the network.
  • host - the IP address zipper listens on, default value is, which means listen on all network interfaces, so the Source can connect over public Internet network, while the StreamFunction can connect over internal network, it will be cost effective when hosting on AWS etc.
  • port - the port zipper listens on, default value is 9000. Becareful, YoMo uses QUIC protocol, which is a UDP based protocol, so this port should be allow UDP ingress.

Auth Config

  • auth - provides the credential for the Zipper, it is used to authenticate the Source and StreamFunction when they connect to this Zipper.
    • type - the type of the credential, currently only token is supported.
    • token - the credential, it is a string.

StreamFunction Config

Downstreams Config

  • downstreams - the list of downstream Zippers, the data will be forwarded to these Zippers when needed.
    • name - the name of the downstream Zipper, it is used to identify the Zipper in the network.
    • host - the IP address of the downstream Zipper.
    • port - the port of the downstream Zipper.
    • credential - the credential to connect to the downstream Zipper.

Self-Hosting Zipper Service

  • Tutorial: Deploy YoMo Zipper Service on Ubuntu 22.04
  • Tutorial: Linux Server Tuning for QUIC
  • Tutorial: Firewall Configuration for Server