Network-Based Software Architectures

From Computing and Software Wiki

(Difference between revisions)
Jump to: navigation, search
 
(19 intermediate revisions not shown)
Line 1: Line 1:
-
'''Network-Based Software Architecture''' is a subfield of the area of '''Software Architectures''' that deals with the conceptual structure of software systems that primarily run on networks, e.g. Apache Web Server.  
+
'''Network-Based Software Architecture''' is a subfield of the area of '''Software Architectures''' that deals with the conceptual structure of software systems that primarily run on networks, e.g. Apache Web Server. The distinction between general software architectures and network-based software architectures is of vital importance due to the different organizations, goals, and uses that network-based software compared to other kinds of software (e.g. control software).
[[Image: software architecture new.jpg|thumb|250px|right| Software Architecture of a Network-based application[5]]]
[[Image: software architecture new.jpg|thumb|250px|right| Software Architecture of a Network-based application[5]]]
Line 7: Line 7:
As software increased in size, interaction, and sophistication, the need for a conceptual or a bird-eye-view of a software system became a central issue in software engineering research in the early 90s [4]. While the field has not reached the level of maturity that building architecture, for example, enjoys, it has started finding its way into mainstream software development, and "software architects" have become an important commodity for most software projects.
As software increased in size, interaction, and sophistication, the need for a conceptual or a bird-eye-view of a software system became a central issue in software engineering research in the early 90s [4]. While the field has not reached the level of maturity that building architecture, for example, enjoys, it has started finding its way into mainstream software development, and "software architects" have become an important commodity for most software projects.
-
As the World Wide Web continues to infiltrate our every day life, our level of reliance on software keeps increasing significantly . This gave rise to a new specialty of software architecture; architecture of network-based software, initially introduced in Roy Fielding's PhD dissertation [2].
+
As the World Wide Web continues to infiltrate our every day life, our level of reliance on software keeps increasing significantly. This gave rise to a new specialty of software architecture; architecture of network-based software, initially introduced in Roy Fielding's PhD dissertation [2].
 +
 
==Parts of an Architecture==
==Parts of an Architecture==
Generally, architecture descriptions contain 3 major parts: components, connectors, and storage elements [1, 2]:
Generally, architecture descriptions contain 3 major parts: components, connectors, and storage elements [1, 2]:
  <ul>
  <ul>
-
<li> '''Components''': Parts of the system where most of the computation occurs. The state of the components determine the state of the system as a whole.
+
<li> '''Components''': Parts of the system where most of the computation occurs. The state of the components determines the state of the system as a whole.
<li> '''Connectors''': Used to connect components to each other, used as communication paths to facilitate communication between different components.
<li> '''Connectors''': Used to connect components to each other, used as communication paths to facilitate communication between different components.
-
<li> '''Storage Elements''': Used to store and retrieve data used by the software system.
+
<li> '''Storage Elements''': Used to store and retrieve data used by the software system's components.
</ul>
</ul>
 +
==Classification==
==Classification==
Line 21: Line 23:
The following sections explain and illustrate some categories of network-based software architectures.
The following sections explain and illustrate some categories of network-based software architectures.
 +
===Client-Server===
===Client-Server===
-
One of the most widespread styles in network-based applications. Consists of client based software and server based software where the server serves a number of clients concurrently. The client software is separated from the server software and the mode of communication between is defined.[1]
+
One of the most widespread styles in network-based applications. Consists of client based software and server based software where the server serves a number of clients concurrently. The client software is separated from the server software and the mode of communication between them is defined.[1]
[[Image: Picture 11.png|thumb|200px|right| Client Server Architecture]]
[[Image: Picture 11.png|thumb|200px|right| Client Server Architecture]]
 +
===Layered System===
===Layered System===
In a layered system, the system consists of a number of components ordered in such a way where only adjacent components are able to communicate. Each layer of the system communicates with the layer above it and the layer below it. Even though processing overhead is increased by this kind of architecture, the extensibility and reusability of system components increases. This style is used extensively in network and non-network based software.[2]
In a layered system, the system consists of a number of components ordered in such a way where only adjacent components are able to communicate. Each layer of the system communicates with the layer above it and the layer below it. Even though processing overhead is increased by this kind of architecture, the extensibility and reusability of system components increases. This style is used extensively in network and non-network based software.[2]
 +
===Code On Demand (COD)===
===Code On Demand (COD)===
In COD, the clients request the code from the server as they need it. The code is received and is executed on the client's machine. This reduces the load on the server and gives a higher quality of service to the client. [2]
In COD, the clients request the code from the server as they need it. The code is received and is executed on the client's machine. This reduces the load on the server and gives a higher quality of service to the client. [2]
 +
===Event-based Integration===
===Event-based Integration===
In Event-based Integration architectures, the components are laid out, but the interfaces between the components are not defined. The components communicate by broadcasting messages which will trigger action in other components that are accepting messages of that kind. This gives a flexibility to the system and great separation of concerns between components, but it makes it hard to predict how other components will react to a broadcasted message, i.e. its hard to predict the state of the system. [2, 4]
In Event-based Integration architectures, the components are laid out, but the interfaces between the components are not defined. The components communicate by broadcasting messages which will trigger action in other components that are accepting messages of that kind. This gives a flexibility to the system and great separation of concerns between components, but it makes it hard to predict how other components will react to a broadcasted message, i.e. its hard to predict the state of the system. [2, 4]
 +
===Replicated Repository===
===Replicated Repository===
Software systems having a replicated repository architecture tend to have several processes providing the same set of services. Together these processes interact in order to give the user a feel that the service is centralized. While replication improves reliability, it has the disadvantage of having to keep the systems consistent. [2]
Software systems having a replicated repository architecture tend to have several processes providing the same set of services. Together these processes interact in order to give the user a feel that the service is centralized. While replication improves reliability, it has the disadvantage of having to keep the systems consistent. [2]
 +
==Architectural Views==
==Architectural Views==
Line 47: Line 55:
<li> '''Use Case View''': Describes the software system from the perspective of the users. This includes end-users, testers and other parties using the system.
<li> '''Use Case View''': Describes the software system from the perspective of the users. This includes end-users, testers and other parties using the system.
</ul>
</ul>
 +
 +
 +
==Architecture Description Langauges (ADLs)==
 +
Architecture Description Languages are used to formally describe a software system's general layout. The need for formality in software architecture arose due to the complexity of software systems and hence the complexity of their architectures. In [6], Allen and Garlan describe one of the most popular ADLs. Other ADL research projects include:
 +
<ul>
 +
<li> [http://www-2.cs.cmu.edu/~acme/ ACME]
 +
<li> [http://www-2.cs.cmu.edu/afs/cs/project/able/www/wright/index.html Wright]
 +
<li> [http://pavg.stanford.edu/rapide/ Rapide]
 +
</ul>
 +
 +
 +
==Conclusions==
 +
<ul>
 +
<li> Software architecture expertise is essential for a successful software project
 +
<li> As more and more software is becoming network-based, the need for a distinction between general architectures and network-based ones is increasing in importance.
 +
<li> The relative immaturity of the field and the lack of tools has sparked a large number of research projects addressing the issues from different directions.
 +
</ul>
 +
==References==
==References==
Line 58: Line 84:
[5] Personal Resource Planning. Last Accessed on 3 April 2008. http://prp.wikidot.com/
[5] Personal Resource Planning. Last Accessed on 3 April 2008. http://prp.wikidot.com/
 +
 +
[6] R. Allen and D. Garlan. ''A formal basis for architectural connection''. ACM Transactions on Software Engineering and Methodology, 6(3), July 1997.
==See also==
==See also==
*[http://www.cas.mcmaster.ca/wiki/index.php/TCP/IP_Application_Development TCP/IP Application Development]
*[http://www.cas.mcmaster.ca/wiki/index.php/TCP/IP_Application_Development TCP/IP Application Development]
 +
*[http://www.cas.mcmaster.ca/wiki/index.php/SOA_enhancements_through_XML_Networking SOA Enhancements Through XML Networking]
 +
*[http://www.cas.mcmaster.ca/wiki/index.php/Applications_of_SSH Applications of SSH]
 +
==External links==
==External links==
*[http://www.wwisa.org/ Worldwide Institute of Software Architecture (WWISA)]
*[http://www.wwisa.org/ Worldwide Institute of Software Architecture (WWISA)]
Line 66: Line 97:
*[http://www.ics.uci.edu/~fielding/ Roy Fielding's homepage]
*[http://www.ics.uci.edu/~fielding/ Roy Fielding's homepage]
*[http://www.booch.com/architecture/blog.jsp Grady Booch's Software Architecture Blog]
*[http://www.booch.com/architecture/blog.jsp Grady Booch's Software Architecture Blog]
 +
*[http://plg.uwaterloo.ca/~holt/cs/746/ Ric Holt's Software Architecture Course, University of Waterloo]
--[[User:Aws|Aws]] 21:38, 2 April 2008 (EDT)
--[[User:Aws|Aws]] 21:38, 2 April 2008 (EDT)

Current revision as of 16:00, 9 April 2008

Network-Based Software Architecture is a subfield of the area of Software Architectures that deals with the conceptual structure of software systems that primarily run on networks, e.g. Apache Web Server. The distinction between general software architectures and network-based software architectures is of vital importance due to the different organizations, goals, and uses that network-based software compared to other kinds of software (e.g. control software).

Software Architecture of a Network-based application[5]

Contents


History and Introduction

As software increased in size, interaction, and sophistication, the need for a conceptual or a bird-eye-view of a software system became a central issue in software engineering research in the early 90s [4]. While the field has not reached the level of maturity that building architecture, for example, enjoys, it has started finding its way into mainstream software development, and "software architects" have become an important commodity for most software projects.

As the World Wide Web continues to infiltrate our every day life, our level of reliance on software keeps increasing significantly. This gave rise to a new specialty of software architecture; architecture of network-based software, initially introduced in Roy Fielding's PhD dissertation [2].


Parts of an Architecture

Generally, architecture descriptions contain 3 major parts: components, connectors, and storage elements [1, 2]:

  • Components: Parts of the system where most of the computation occurs. The state of the components determines the state of the system as a whole.
  • Connectors: Used to connect components to each other, used as communication paths to facilitate communication between different components.
  • Storage Elements: Used to store and retrieve data used by the software system's components.


Classification

Software architectures have been categorized by observation. Seeing how successful software evolves, researchers were able to devise a number of categories that generally describe the most ubiquitous architectures, usually called "accidental" architectures. The name "accidental architectures" has been given since the the organization of these software systems did not follow any engineering guidelines and evolved with time until they took a permanent shape. [1, 3]

The following sections explain and illustrate some categories of network-based software architectures.


Client-Server

One of the most widespread styles in network-based applications. Consists of client based software and server based software where the server serves a number of clients concurrently. The client software is separated from the server software and the mode of communication between them is defined.[1]

Client Server Architecture


Layered System

In a layered system, the system consists of a number of components ordered in such a way where only adjacent components are able to communicate. Each layer of the system communicates with the layer above it and the layer below it. Even though processing overhead is increased by this kind of architecture, the extensibility and reusability of system components increases. This style is used extensively in network and non-network based software.[2]


Code On Demand (COD)

In COD, the clients request the code from the server as they need it. The code is received and is executed on the client's machine. This reduces the load on the server and gives a higher quality of service to the client. [2]


Event-based Integration

In Event-based Integration architectures, the components are laid out, but the interfaces between the components are not defined. The components communicate by broadcasting messages which will trigger action in other components that are accepting messages of that kind. This gives a flexibility to the system and great separation of concerns between components, but it makes it hard to predict how other components will react to a broadcasted message, i.e. its hard to predict the state of the system. [2, 4]


Replicated Repository

Software systems having a replicated repository architecture tend to have several processes providing the same set of services. Together these processes interact in order to give the user a feel that the service is centralized. While replication improves reliability, it has the disadvantage of having to keep the systems consistent. [2]


Architectural Views

Many researchers in the field believe that architectures should be viewed from more the one perspective. One common methodology is the 4+1 views of the architecture[3]:

  • Design View: Describes the services provided by the system that implement the functional requirements.
  • Implementation View: A deeper view of the files and components the system includes.
  • Process View: How the system will be running, the threads and the processes and how they interact.
  • Deployment View: Describe the parts of the hardware where the software system will run and how they interact with the software.
  • Use Case View: Describes the software system from the perspective of the users. This includes end-users, testers and other parties using the system.


Architecture Description Langauges (ADLs)

Architecture Description Languages are used to formally describe a software system's general layout. The need for formality in software architecture arose due to the complexity of software systems and hence the complexity of their architectures. In [6], Allen and Garlan describe one of the most popular ADLs. Other ADL research projects include:


Conclusions

  • Software architecture expertise is essential for a successful software project
  • As more and more software is becoming network-based, the need for a distinction between general architectures and network-based ones is increasing in importance.
  • The relative immaturity of the field and the lack of tools has sparked a large number of research projects addressing the issues from different directions.


References

[1] Bass, Clements & Kazman, Software Architecture in Practice, Addison-Wesley 1998

[2] Fielding, Roy Thomas. Architectural Styles and the Design of Network-based Software Architectures. Doctoral dissertation, University of California, Irvine, 2000.

[3] Grady Booch. The Architecture of Web Applications. IBM Developer Works. 01 Jun 2001. IBM. Last Accessed on 13 March 2008. http://www.ibm.com/developerworks/ibm/library/it-booch_web/

[4] D. Garlan and M. Shaw. An Introduction to software architecture. In Advances in Software Engineering and Knowledge Engineering, pages 1-39, Singapore, 1993. World Scientific Publishing Company.

[5] Personal Resource Planning. Last Accessed on 3 April 2008. http://prp.wikidot.com/

[6] R. Allen and D. Garlan. A formal basis for architectural connection. ACM Transactions on Software Engineering and Methodology, 6(3), July 1997.

See also

External links

--Aws 21:38, 2 April 2008 (EDT)

Personal tools