by bbatchelder · 3y ago · 0 comments
User's 1 through 50 (light users) log in and their profile says they go to app-1.myapp.com. User's 51 through 60 (heavy users) log in and their profile says they go to app-2.myapp.com.
A specific user may pay extra to have a non-shared environment, and this supports that as well.
I had a simple lookup table in mind so it can be easily changed and adjusted as required without affecting the user's profile.