Skip to content

Latest commit

 

History

History
30 lines (24 loc) · 929 Bytes

File metadata and controls

30 lines (24 loc) · 929 Bytes

title = "Cookie based A/B Testing" template = "render_hub_content_body" date = "2025-01-24T00:00:00Z" content-type = "text/plain" tags = ["http", "Rust"]

[extra] author = "Thorsten Hans" type = "hub_document" category = "Sample" language = "Rust" created_at = "2025-01-21T13:50:00Z" last_updated = "2025-01-21T13:50:00Z" spin_version = ">=v3.1.0" summary = "A Spin application showcasing how to implement A/B testing based on a cookie." url = "https://github.com/fermyon/fwf-examples/tree/main/samples/ab-testing-cookie" keywords = "Rust, HTTP"


This sample application shows how you can use a Spin application to implement A/B testing based on a cookie.

Prerequisites

You need the following tools on your machine, to build, run and deploy the application to Fermyon Wasm Functions:

  • The spin CLI
  • Rust tools and the wasm32-wasip1 target
  • The aka plugin for spin CLI
  • Access to Fermyon Wasm Functions