マルチテナント SaaS アプリケーションがあり、起動時に次のようにルートを設定します。
https://my.com/customer1/mobile
https://my.com/customer1/integration
https://my.com/customer2/mobile
https://my.com/customer2/integration
https://my.com/customer3/mobile
https://my.com/customer3/integration
https://my.com/customer4/mobile
https://my.com/customer4/integration
新しい顧客を追加すると、ルートが再構築されるようにプールをリサイクルする必要があります。それが私がやっていることにとって最善のアプローチであるかどうかはわかりません...
作成できるルートは 2 つだけです
https://my.com/mobile
https://my.com/integration
次に、AccountId を HTTP ヘッダーで認証情報とともに渡します。それはよりきれいになるでしょうか?パフォーマンスについてどう思いますか?ルートを減らすことは有益であると思いますか?