I need requests to hit the same container instance based on an URL path fragment.
Let’s say I let several users play a game together, and I need those users to be directed to the same docker container instance based on a “game_id”.
The URL is like this:
“/running_game/game_id/player_id”
running_game is a static part of the URL and game_id something like “xdsafeqrwfdg”, the player number is also variable but not relevant for the request routing.
I need the request to reach the same phoenix application instance, can I do this in fly.io?