Re: Selecting backend based on the user connecting
Well, it seems to me that having shared mysql auth table compared to just having the proxy do the initial auth request and then assign server based on result could lead to a lot of different trouble.
- Whenever a new user is created it needs to be created on all backend servers instead of just the one holding the users database.
- Tools that connect to the DB servers and modify user accounts now need to be taught to do this on multiple servers (for example; our billing system connects to the db servers and disable user accounts if a customer has not paid his bills - and that's just one of many tools).
- Then there's the issue of the shared auth table growing very large on every db server. Not a problem for people with just a few hundred users, but potentially an issue with installations that have several orders of magnitude more users.
- New users are created all the time, existing users are modified, users are deleted etc etc. I would prefer to not have all the traffic associated with that hit all my db servers - which it would need if account details were to be updated everywhere.
- If I simply put the auth table at a shared location wouldn't it get corrupted pretty fast if several servers were operating on that shared file simultaniously?
If I can simply let all my existing apps connect to the proxy, let the proxy get the auth info and then send that session to the right backend server, then I can leave most of my existing infrastructure alone. All I have to do is split the users on several physical backend servers and each backend server is simple and self contained.
Subject
Views
Written By
Posted
3667
August 13, 2007 03:42AM
2830
August 13, 2007 04:05AM
2654
August 13, 2007 04:11AM
2557
August 13, 2007 04:27AM
Re: Selecting backend based on the user connecting
2573
August 13, 2007 05:29AM
2533
August 13, 2007 06:17AM
2722
August 20, 2007 05:47AM
2660
August 20, 2007 09:06AM
2708
August 22, 2007 07:45AM
2605
August 13, 2007 04:16AM
2599
August 13, 2007 04:25AM
2397
August 13, 2007 05:57AM
2476
August 13, 2007 06:20AM
2652
August 13, 2007 09:03AM
2407
October 11, 2007 02:31AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.