views:

61

answers:

1

I want to do something similar to stackexchange but with their own domain. I want to have 1 single database, repository/model layer, service layer on 1 server. Then on a different server or same server, I have a web project which can access those layers.

Is there a way to achieve this without a hit in performance on these sites? I'm thinking about just providing a WCF service, but with that generating and reading xml, it seems slow. What other way may I accomplish this?

What does stackexchange do?


This is a simple architecture of what I want to accomplish:

alt text

Each other UI may or may not have their own Database.

My goal is:

I want to provide a set of service for sites we'll be developing for a set of people. I want all of these relevant data in a single database. But each one may need separate logic/database. I'd like each user on each site to have their own authentication. I also would like my service layer to differentiate which domain the request it coming from.