Lecture
Space-based architecture ( SBA ) is an approach to distributed computing systems in which the various components interact with each other by exchanging tuples or records through one or more shared spaces. This differs from the more common approach of message queue systems , where the various components interact with each other by exchanging messages through a message broker. In a sense, both approaches exchange messages with some central agent, but the way they exchange those messages is very different.

Space-based architecture diagram
An analogy can be drawn: a message broker is like an academic conference , where each speaker presents on stage in the order set by the schedule; whereas a tuple space is like an informal conference , where all participants can write on a shared whiteboard at the same time and see it.
The key goal of both approaches is to build loosely coupled systems that minimize configuration, especially the sharing of information about who does what, which leads to improved availability, fault tolerance, scalability, and so on.
More specifically, SBA is a distributed computing architecture designed to achieve linear scalability of stateful, high-performance applications by using the tuple space paradigm. It follows many of the principles of REST ( Representational State Transfer ) architecture, service-oriented architecture (SOA), and event-driven architecture (EDA), as well as elements of distributed computing . In space-based architecture, applications are built from a set of self-sufficient units known as processing units (PUs). These units are independent of one another, so the application can scale by adding new units. The SBA model is closely related to other patterns that have proven effective at solving the application scalability problem, such as the Shared Nothing Architecture (SN) used by Google, Amazon.com, and other well-known companies. This model has also been applied by many firms in the securities industry to implement scalable electronic securities trading applications.
Space-based architecture (SBA) was originally invented and developed at Microsoft in 1997–98. Inside Microsoft it was known as the Youkon Distributed Caching platform (YDC). The first major web projects built on it were MSN Live Search (released in September 1999) and, later, the MSN customer marketing data warehouse (a multi-terabyte in-memory database used by all MSN sites), along with a number of other MSN sites released in the late 1990s and early 2000s. See US patents 6,453,404 and 6,449,695: and other patents based on them:
An application built on space-based architecture principles usually includes the following components:
| Component | Description |
|---|---|
| Messaging grid | Handles the flow of incoming transactions and also provides communication between services. |
| Data grid | Manages data in distributed memory, with the ability to synchronize that data with the underlying database. |
| Processing grid | A parallel processing component based on the "master/worker" pattern (also known as the "blackboard " pattern), which enables parallel event processing across different services. |
Comments