||This article may be too technical for most readers to understand. (September 2011) (Learn how and when to remove this template message)|
Space-Based Architecture (SBA) is a software architecture pattern for achieving linear scalability of stateful, high-performance applications using the tuple space paradigm. It follows many of the principles of representational state transfer (REST), service-oriented architecture (SOA) and event-driven architecture (EDA), as well as elements of grid computing. With a space-based architecture, applications are built out of a set of self-sufficient units, known as processing-units (PU). These units are independent of each other, so that the application can scale by adding more units. The SBA model is closely related to other patterns that have been proved successful in addressing the application scalability challenge, such as shared nothing architecture (SN), used by Google, Amazon.com and other well-known companies. The model has also been applied by many firms in the securities industry for implementing scalable electronic securities trading applications.
Components of Space-Based Architecture
An application built on the principles of space-based architecture typically has the following components:
- Processing Unit — the unit of scalability and fail-over. Normally, a processing unit is built out of a POJO (Plain Old Java Object) container, such as that provided by the Spring Framework.
- Virtual Middleware — a common runtime and clustering model, used across the entire middleware stack. The core middleware components in a typical SBA architecture are:
|Messaging Grid||Handles the flow of incoming transaction as well as the communication between services|
|Data Grid||Manages the data in distributed memory with options for synchronizing that data with an underlying database|
|Processing Grid||Parallel processing component based on the master/worker pattern (also known as a blackboard pattern) that enables parallel processing of events among different services|
- POJO-Driven Services Model — A lightweight services model that can take any standard Java implementation and turn it into a loosely coupled distributed service. The model is ideal for interaction with services that run within the same processing-unit.
- SLA-Driven Container — The SLA-driven container enables the deployment of the application on a dynamic pool of machines based on Service Level Agreements. SLA definitions include the number of instances that need to run in order to comply with the application scaling and fail-over policies, as well as other policies.
- Xu, Dezheng; Xiaoying Bai; Guilan Dai (2006). "A Tuple-Space-Based Coordination Architecture for Test Agents in the MAST Framework" (PDF). Tsinghua University, China.
- Shalom, Nati (2006). "Space-Based Architecture and the End of Tier-Based Computing" (PDF). GigaSpaces Technologies.
- Engelhardtsen, Fritjof Boger; Tommy Gagnes (2002). "Using JavaSpaces to create adaptive distributed systems" (PDF). Agder University College, Norway.
- Bernhard Angerer, Space-Based Programming
- Joseph Ottinger, Space-Based Architecture
- Julian Browne, Space-Based Architecture Illustration
- Julian Browne, Space-Based Agility
- Julian Browne, Space-Based Archetypes
- Owen Taylor, Space-based Architecture — an implementation of TPC
- Udi Dahan, The Software Simplist, Space-Based Architectural Thinking
- Mike Herrick, SBA & EDA Lessons Learned
- Tobin Harris, Space-Based Architecture — One to Watch
- Udi Dahan, The Software Simplist, Space-Based Architecture
- Guy Nirpaz (webcast), Space-Based Architecture — Scalable SOA