Coder Social home page Coder Social logo

rust-wasm-4-envoy's Introduction

rust-wasm-4-envoy

rustup toolchain install nightly
rustup target add wasm32-unknown-unknown --toolchain nightly

PropagandaFilter

dev

cargo new --lib propaganda-filter
vi propaganda-filter/Cargo.toml

[lib]
crate-type = ["cdylib"]

[dependencies]
proxy-wasm = "0.1.3"
cd propaganda-filter
sh build.sh

test

docker-compose up --build
curl  -H "token":"323232" 0.0.0.0:18000

Reference

Proxy WASM SDK

rust-wasm-4-envoy's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

rust-wasm-4-envoy's Issues

基于rust-wasm能否实现流量染色的能力。

实验了下你的demo,更多的感觉是在pod 的outbound之前添加一个header(解决istio的header只能在inbound处理的场景),这种在实现全链路A/B Test确实是一个无入侵的较好方式。

在实际业务场景上,我们可能存在这样一种情况,我们的集群环境里面有一个基线版本A->B->C->D,但是灰度版本只有A1和C1,现在希望的调用链路是A1->B->C1->D,后续如果有B1,那么相应的应该变成A1->B1->C1->D,感觉按照你的这种方式无法处理这种场景。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.