Click here to Skip to main content
15,892,005 members
Home / Discussions / Design and Architecture
   

Design and Architecture

 
AnswerRe: VS 2008 and SQL Server 05 or 08? Pin
Paul Conrad30-Dec-07 8:51
professionalPaul Conrad30-Dec-07 8:51 
AnswerRe: VS 2008 and SQL Server 05 or 08? Pin
Amer Chaudhry1-Jan-08 22:50
Amer Chaudhry1-Jan-08 22:50 
QuestionWhat is Software Architecture ? Pin
Kannan.P27-Dec-07 4:01
Kannan.P27-Dec-07 4:01 
GeneralRe: What is Software Architecture ? Pin
CPallini28-Dec-07 7:24
mveCPallini28-Dec-07 7:24 
GeneralRe: What is Software Architecture ? Pin
Kannan.P28-Dec-07 18:00
Kannan.P28-Dec-07 18:00 
GeneralRe: What is Software Architecture ? Pin
CPallini28-Dec-07 22:52
mveCPallini28-Dec-07 22:52 
GeneralRe: What is Software Architecture ? Pin
VarChar2559-Jan-08 9:15
VarChar2559-Jan-08 9:15 
QuestionArchitecture of Windows service and reliability Pin
tgrt29-Nov-07 9:24
tgrt29-Nov-07 9:24 
I'm creating a Windows service that will be responsible for hosting and general management of additional modules with a common interface. Typically, these modules will be responsible for invoking a Workflow Foundation workflow, but that will not be a design requirement -- the only requirement is that the module adheres to the interface. I will not necessarily have control of what goes on in each module. Therefore, reliability of the remaining modules is a concern.

Currently, I'm considering a scenario where the Windows service manages the creation and lifetime of one or more separate host processes (EXE) where each host process is simply a shell to run a host module. Remoting would be used for interprocess communication such as start, stop, health, common services (provided from the service), et al.

The good thing about this design is that I can easily manage the state of the processes and spawn new ones as needed -- OOM situations, poorly behaving workflows, etc.

My first concern with this design is security. Specifically, I would want the host processes to run within the same security context as the service that created it. I will test this at some point soon, but I figured someone would probably know this offhand.

My second concern with the design is the Workflow Foundation resources. Each host process would get its own instance of the Workflow Runtime and there could possibly be several host processes running. Would this create as unnecessary burden on the computer as I think it would -- especially considering I would take advantage of some of the WF services such as the tracking and persistence services.

And finally if this architecture sounds overally burdensome, do you have any other recommendations?
AnswerRe: Architecture of Windows service and reliability Pin
led mike29-Nov-07 9:43
led mike29-Nov-07 9:43 
GeneralRe: Architecture of Windows service and reliability Pin
tgrt29-Nov-07 10:15
tgrt29-Nov-07 10:15 
GeneralRe: Architecture of Windows service and reliability Pin
led mike29-Nov-07 10:55
led mike29-Nov-07 10:55 
GeneralRe: Architecture of Windows service and reliability Pin
tgrt29-Nov-07 13:48
tgrt29-Nov-07 13:48 
GeneralRe: Architecture of Windows service and reliability Pin
led mike30-Nov-07 4:44
led mike30-Nov-07 4:44 
GeneralRe: Architecture of Windows service and reliability Pin
tgrt30-Nov-07 5:58
tgrt30-Nov-07 5:58 
GeneralRe: Architecture of Windows service and reliability Pin
led mike30-Nov-07 6:25
led mike30-Nov-07 6:25 
GeneralRe: Architecture of Windows service and reliability Pin
tgrt30-Nov-07 9:40
tgrt30-Nov-07 9:40 
GeneralRe: Architecture of Windows service and reliability Pin
led mike2-Jan-08 5:18
led mike2-Jan-08 5:18 
GeneralRe: Architecture of Windows service and reliability Pin
tgrt29-Nov-07 15:42
tgrt29-Nov-07 15:42 
GeneralRe: Architecture of Windows service and reliability Pin
Brady Kelly29-Nov-07 18:08
Brady Kelly29-Nov-07 18:08 
GeneralRe: Architecture of Windows service and reliability Pin
tgrt29-Nov-07 18:30
tgrt29-Nov-07 18:30 
GeneralRe: Architecture of Windows service and reliability Pin
led mike30-Nov-07 4:40
led mike30-Nov-07 4:40 
GeneralRe: Architecture of Windows service and reliability Pin
tgrt30-Nov-07 6:01
tgrt30-Nov-07 6:01 
QuestionDid anyone ever implemented flyweight design pattern? Pin
CPallini21-Nov-07 21:33
mveCPallini21-Nov-07 21:33 
AnswerRe: Did anyone ever implemented flyweight design pattern? Pin
led mike26-Nov-07 5:37
led mike26-Nov-07 5:37 
QuestionRe: Did anyone ever implemented flyweight design pattern? Pin
CPallini26-Nov-07 6:08
mveCPallini26-Nov-07 6:08 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.