Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

If we have more than one service that uses same database - is it ok to move out user authentication on separate server and use RPC calls, instead of traditional database lookup?

share|improve this question
up vote 3 down vote accepted

Having a dedicated service for user authentication is a good evolution of your service model because it provides a layer of indirection between the database and the client services. This allows you to evolve the data model without necessarily impacting other services. Moving user entitlements (authorization) out of the database has similar benefits.

share|improve this answer
I'm thinking also. You improved my believe in this solution. :) – Nikolay Fominyh May 29 '12 at 13:20

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.