Home

Awesome

wasi-runtime-config

A proposed WebAssembly System Interface API.

Current Phase

wasi-runtime-config is currently in Phase 2.

Champions

Portability Criteria

wasi-runtime-config should have at least two implementations in runtimes (such as wasmCloud, Spin, Wasm Workers Server, etc.) and/or config providers/platforms like Azure App Configuration, AWS App Config, GCP Runtime Configurator, etc. and pass the testsuite for Windows, Linux, and MacOS.

Table of Contents

Introduction

The wasi-runtime-config world aim to provide a set of generic interfaces for providing configuration to a component. Configuration values are often polled by the application for

  1. Configuring the runtime behavior of a component. Yes, that sounds generic, but applications do all sorts of crazy things with configuration values! Calling entirely different branches of code, setting upstream URLs or services, configuring the number of threads to use, etc.
  2. toggling on/off feature flags
  3. A/B testing

and many more use cases.

TODO

This readme needs to be expanded to cover a number of additional fields suggested in the WASI Proposal template.