spec VS proxy-wasm-go-sdk

Compare spec vs proxy-wasm-go-sdk and see what are their differences.

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
spec proxy-wasm-go-sdk
8 2
512 660
1.6% 0.9%
3.1 6.2
10 months ago 2 months ago
Go
Apache License 2.0 Apache License 2.0
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

spec

Posts with mentions or reviews of spec. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-02-08.
  • Hardening Apache APISIX with the OWASP's Coraza and Core Ruleset
    6 projects | dev.to | 8 Feb 2024
    OWASP also provides Coraza, a port of ModSecurity available as a Go library. Coraza Proxy Wasm is built on top of Coraza and implements the proxy-wasm ABI, which specifies a set of Wasm interfaces for proxies. Finally, Apache APISIX offers proxy-wasm integration.
  • A "Tiny" APISIX Plugin
    4 projects | dev.to | 27 Nov 2023
    APISIX supports Wasm through the WebAssembly for Proxies (proxy-wasm) specification. APISIX is a host environment that implements the specification, and developers can use the SDKs available in multiple languages to create plugins.
  • Show HN: WebAssembly dev environment for Envoy Proxy
    4 projects | news.ycombinator.com | 3 Aug 2023
    Hi HN!

    For the past few weeks we've been working on Proximal - a workflow engine that lets you quickly iterate on WebAssembly extensions for Envoy Proxy[0] (or other proxies) right on your local machine: https://github.com/apoxy-dev/proximal

    This work is based on Proxy-WASM[1] extension ABI for Envoy (and other proxies like APISIX and Mosn[2]) which allows you to execute WebAssembly code on every API request a la Cloudflare Workers. As part of our wider effort at https://apoxy.dev to improve API glue code we built an experimentation / development platform and hope you will find it useful!

    On the technical side this project packs Envoy itself, Envoy controller, REST API (for controlling the controller =)), React SPA, and Temporal server/worker (for orchestration) - all baked into a single Go binary. You can find more on architecture and limitations in the repository README[4].

    This project is pretty early stage and we would appreciate community feedback!

    Previous HN discussions on this topic:

    * https://news.ycombinator.com/item?id=36113542

    * https://news.ycombinator.com/item?id=22582276

    ---

    [0] https://www.envoyproxy.io/

    [1] https://github.com/proxy-wasm/spec/blob/master/docs/WebAssem...

    [2] https://apisix.apache.org/ https://mosn.io/

    [3] https://github.com/apoxy-dev/proximal/blob/main/README.md#ar...

  • Hardening Drupal with WebAssembly
    3 projects | news.ycombinator.com | 29 May 2023
    Wasm Labs dev here :)

    In mod_wasm, there are some differences with a pure CGI implementation. When Apache boots, it loads the configuration and initializes the WasmVM. When a new HTTP request arrives, the VM is ready so you don't need to initialize a different process to manage it.

    You still need to process the request and pass the data to the Wasm module. This step is done via STDIN through the WebAssembly System Interface (WASI) implementation [0]. The same happens in the opposite direction, as the module returns the data via STDOUT.

    So, the CGI pattern is still there, but it doesn't require new processes and all the code runs in a sandbox.

    However this is not the only way you can run a Wasm module. In this specific case, we use CGI via WASI. In other cases, you may compile a module to fulfill a specific API, like ProxyWasm [1] to create HTTP filters for proxies like Envoy.

    - [0] https://wasi.dev/

    - [1] https://github.com/proxy-wasm/spec

  • Rewriting the Apache APISIX response-rewrite plugin in Rust
    2 projects | dev.to | 5 Oct 2022
    proxy-wasm spec
  • Apache APISIX loves Rust! (and me too)
    7 projects | dev.to | 27 Sep 2022
    The team considered to solve the issue with C++ extensions, but discarded this approach as neither APIs nor ABIs were stable. Instead, they chose to provide a stable WebAssembly-based ABI. If you're interested in a more detailed background, you can read the whole piece on GitHub.
  • Extending Envoy with WebAssembly Proxy Filters
    2 projects | dev.to | 11 Jul 2022
  • Spin – WebAssembly Framework
    13 projects | news.ycombinator.com | 31 Mar 2022

proxy-wasm-go-sdk

Posts with mentions or reviews of proxy-wasm-go-sdk. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-11-27.
  • A "Tiny" APISIX Plugin
    4 projects | dev.to | 27 Nov 2023
    // references: // https://github.com/tetratelabs/proxy-wasm-go-sdk/tree/main/examples // https://github.com/apache/apisix/blob/master/t/wasm/ package main import ( "github.com/tetratelabs/proxy-wasm-go-sdk/proxywasm" "github.com/tetratelabs/proxy-wasm-go-sdk/proxywasm/types" "github.com/valyala/fastjson" ) func main() { proxywasm.SetVMContext(&vmContext{}) } // each plugin has its own VMContext. // it is responsible for creating multiple PluginContexts for each route. type vmContext struct { types.DefaultVMContext } // each route has its own PluginContext. // it corresponds to one instance of the plugin. func (*vmContext) NewPluginContext(contextID uint32) types.PluginContext { return &pluginContext{} } type header struct { Name string Value string } type pluginContext struct { types.DefaultPluginContext Headers []header } func (ctx *pluginContext) OnPluginStart(pluginConfigurationSize int) types.OnPluginStartStatus { data, err := proxywasm.GetPluginConfiguration() if err != nil { proxywasm.LogErrorf("error reading plugin configuration: %v", err) return types.OnPluginStartStatusFailed } var p fastjson.Parser v, err := p.ParseBytes(data) if err != nil { proxywasm.LogErrorf("error decoding plugin configuration: %v", err) return types.OnPluginStartStatusFailed } headers := v.GetArray("headers") ctx.Headers = make([]header, len(headers)) for i, hdr := range headers { ctx.Headers[i] = header{ Name: string(hdr.GetStringBytes("name")), Value: string(hdr.GetStringBytes("value")), } } return types.OnPluginStartStatusOK } // each HTTP request to a route has its own HTTPContext func (ctx *pluginContext) NewHttpContext(contextID uint32) types.HttpContext { return &httpContext{parent: ctx} } type httpContext struct { types.DefaultHttpContext parent *pluginContext } func (ctx *httpContext) OnHttpResponseHeaders(numHeaders int, endOfStream bool) types.Action { plugin := ctx.parent for _, hdr := range plugin.Headers { proxywasm.ReplaceHttpResponseHeader(hdr.Name, hdr.Value) } return types.ActionContinue }
  • Unlocking Istio's Versatility: A Guide to WASM Plugins in Kubernetes
    5 projects | dev.to | 24 Jul 2023
    Go (TinyGo) SDK

What are some alternatives?

When comparing spec and proxy-wasm-go-sdk you can also consider the following projects:

spin - Spin is the open source developer tool for building and running serverless applications powered by WebAssembly.

envoy-preflight - A wrapper for applications to help with running envoy as a sidecar

proxy-wasm-cpp-sdk - WebAssembly for Proxies (C++ SDK)

proxy-wasm-zig-sdk - WebAssembly for Proxies (Zig SDK)

proxy-runtime

proxy-wasm-rust-sdk - WebAssembly for Proxies (Rust SDK)

kwasm - Proof of concept React-ish UI library, powered by WebAssembly

bartholomew - The Micro-CMS for WebAssembly and Spin

wasmblog - Blog using Bartholomew served by WASI

nottinygc - Higher-performance allocator for TinyGo WASI apps