Skip to content

Demonstration for Fastify local proxy capabilities

Notifications You must be signed in to change notification settings

ArtgenIO/ProxyDemo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Local Proxy Demo for Fastify Servers


This is a demonstration on how You can swap web servers without downtime.

My use case was simple, I had to change the web server routings and handlers without stopping the service, and in this demo You can see how we start a "proxy" instance and pass the request to an "upstream" while continiously swapping out the backend for them.


How to Start

git clone git@github.com:ArtgenIO/ProxyDemo.git
cd ProxyDemo
yarn install # or npm i
node index.js

then visit the http://localhost:7200 address. You will see the changing upstream IDs and can follow the events in the console.

About

Demonstration for Fastify local proxy capabilities

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published