none
What is the best Architecture design for ? RRS feed

  • Question

  •  

    What is the best Architecture design?

    Requirement is  

    Program A is a .Net 4.0 Web Application hosted in IIS on a Windows Server A

    Program A running on a Server A gets some message from external application/web Request , Program A needs to do some processing like validating the message, formatting, etc then Program A needs to send to Server B(using HttpWebRequest), wait for response, get response from Server B, then Program A again does some processing based on response received from Server B, then again Program A send the message to Server C (via TCP/IP .Net.Socket) get response from Server C, then Program A save the message to database, and then processing is finished.

     

    How to achieve this, what is the best Architecture

     

    Case One

    Program A is a web application running on IIS

    Program A validate, format and sends to Server B using HttpWebRequest, Get response from Server B.

     

    Program B is a WCF services running on Windows Server A , used to send the message to Server C.

    Server C accept only one connection to its ip/port for all request receives from Program A

    There is only one data pipe-line which is connected from Server A to Server C.   

    Program A use the wcf client object of Program B which is an WCF Services running on the same Server A

    Program A call the method of Program B to send the message to Server B

    Program A Get the response from Program B,

    Program A save the message to database and then processing is finished.

     

    So in this case only one web application running on Server A

    Another is a WCF Services running on Server A

    Program A talks to Server B using  HttpWebRequest

    Program A talks to Server C using WCF Services

     

    Case Two

     

    Break the Program A into two more WCF Services like WCFPro1 and WCFPro2, all WCF Services running on the same Machine Server A

    Move some code (processing task) from Program A to WCFPro1 and WCFPro2

    Let program A do some processing then Call WCFPro1, WCFPro1 will do some processing and Call WCFPro2, and WCFPro2 call Program B again which is a WCF Services running in Server A

    And Program B responded back to WCFPro2, then back to WCFPro1, WCFPro1 Save to Database and responds back to Program A and then it finished.

     

    Or what are the best solutions to achieve this requirement

     

    Thank you very much for reading this question, plz give a appropriate solutions for this, or case 1 or case 2 is better?

    Regards,

    Shaju

     

     

         

     

       

     

          

     

    Friday, October 8, 2010 9:00 AM

Answers

  • You need to understand the functional requirement , design of software architecture should be very unique to meet business solution requirement. Please do create strong base level software architecture for project. Make sure that the software architecture is very flexible to meet design changes or functional requirements. Please do understand the importance of proof of concept at the phase of the project.
    PHIJO MP
    • Marked as answer by Shaju Thomas Thursday, October 14, 2010 12:10 PM
    Tuesday, October 12, 2010 3:36 PM

All replies

  • Hello there,

    Please use soa architecture using wcf service. Please do create proof of concept (POC) for your application.

    Hope this helps.

    Regards,

    Phijo Mathew Philip.


    PHIJO MP
    Friday, October 8, 2010 4:13 PM
  • thanks Mathew Philip

    How to use SOA Architecture using wcf service, also plz provide some links,

     

    thanks

    Shaju

     

    Monday, October 11, 2010 5:41 AM
  • You need to understand the functional requirement , design of software architecture should be very unique to meet business solution requirement. Please do create strong base level software architecture for project. Make sure that the software architecture is very flexible to meet design changes or functional requirements. Please do understand the importance of proof of concept at the phase of the project.
    PHIJO MP
    • Marked as answer by Shaju Thomas Thursday, October 14, 2010 12:10 PM
    Tuesday, October 12, 2010 3:36 PM