---
title: "Discussion on \"Random and fixed routes with Apache APISIX\" | Hashnode"
description: "Discussion on \"Random and fixed routes with Apache APISIX\". My ideas for blog posts inevitably start to dry up after over two years at Apache APISIX. Hence, I did some triage on the APISIX repo. I stumbled upon this one question:\n\nWe have a requirement to use a plugin, where we need to route the traffic on pe..."
url: "https://hashnode.com/posts/random-and-fixed-routes-with-apache-apisix/666ab5a58a721c430390e6f0"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Random and fixed routes with Apache APISIX](https://apisix.hashnode.dev/random-and-fixed-routes-with-apache-apisix?utm_source=hashnode&utm_medium=feed)

My ideas for blog posts inevitably start to dry up after over two years at Apache APISIX. Hence, I did some triage on the APISIX repo. I stumbled upon this one question: We have a requirement to use a plugin, where we need to route the traffic on pe...

Jun 13, 2024 · 6 min read · apisix.hashnode.dev  
Read the article

-   [#split-traffic](https://hashnode.com/tag/split-traffic)
-   [#apache-apisix](https://hashnode.com/tag/apache-apisix)
-   [#routing](https://hashnode.com/tag/routing)
-   [#api-gateway](https://hashnode.com/tag/api-gateway)

## Written by

[Nicolas Fränkel](https://hashnode.com/@nfrankel)

@nfrankel · Geneva

  
[View profile](https://hashnode.com/@nfrankel)

Developer Advocate

Technologist focusing on cloud-native technologies, DevOps, CI/CD pipelines, and system observability. His focus revolves around creating technical content, delivering talks, and engaging with developer communities to promote the adoption of modern software practices. With a strong background in software, he has worked extensively with the JVM, applying his expertise across various industries. In addition to his technical work, he is the author of several books and regularly shares insights through his blog and open-source contributions.

## Responses 1

Markdown supported · ⌘↵ to post

[Kyllie](https://hashnode.com/@Jasonsmith969)

[Aug 31, 2025](https://hashnode.com/posts/random-and-fixed-routes-with-apache-apisix/666ab5a58a721c430390e6f0/comment/68b4563dcfd67ad380b18bc5)

Great breakdown, Nicolas! 👏 The way you explained cookie-based routing in APISIX with the traffic-split plugin and priorities makes it much easier to understand for newcomers. I especially liked how you simplified the example from 10:90 to 50:50 for testing — that’s practical advice most developers can follow step by step.

One thing I find very useful in real-world scenarios is combining this approach with A/B testing or gradual rollouts, where weighted upstreams help you safely introduce new features. Your explanation of using cookies to keep routing consistent after the first request is exactly what many production setups need.

Thanks for sharing such a clear guide — this definitely helps anyone exploring smart routing with APISIX.
