Take the 2-minute tour ×
Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. It's 100% free, no registration required.

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

1 Answer 1

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

 
discard

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.