ArticleslgStudy

computer science

Space-based architecture

Space-based architecture is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Space-based architecture rather than just read about it. In short: A space-based architecture (SBA) is an approach to distributed computing systems where the various components interact with each other by exchanging tuples or entries via one or more shared spaces. This is contrasted with the more common message queuing service approaches where the various components interact with each other by exchanging messages via a message broker.

Space-based architecture — main illustration
Space-based architecture — illustration

Key takeaways

  • Space-based architecture belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Space-based architecture to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Space-based architecture from memory before moving on to harder problems.

Reference excerpt

A space-based architecture (SBA) is an approach to distributed computing systems where the various components interact with each other by exchanging tuples or entries via one or more shared spaces. This is contrasted with the more common message queuing service approaches where the various components interact with each other by exchanging messages via a message broker. In a sense, both approaches exchange messages with some central agent, but how they exchange messages is very distinctive. An analogy might be where a message broker is like an academic conference, where each presenter has the stage, and presents in the order they are scheduled; whereas a tuple space is like an unconference, where all participants can write on a common whiteboard concurrently, and all can see it at the same time.

Tuple spaces each space is like a 'channel' in a message broker system that components can choose to interact with components can write a 'tuple' or 'entry' into a space, while other components can read entries/tuples from the space, but using more powerful mechanisms than message brokers writing entries to a space is generally not ordered as in a message broker, but can be if necessary designing applications using this approach is less intuitive to most people, and can present more cognitive load to appreciate and exploit Message brokers each broker typically supports multiple 'channels' that components can choose to interact with components write 'messages' to a channel, while other components read messages from the channel writing messages to a channel is generally in order, where they are generally read out in the same order designing applications using this approach is more intuitive to most people, sort of the way that NoSQL databases are more intuitive than SQL A key goal of both approaches is to create loosely-coupled systems that minimize configuration, especially shared knowledge of who does what, leading to the objectives of better availability, resilience, scalability, etc. More specifically, an SBA is a distributed-computing architecture 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.

History Space-based architecture (SBA) was originally invented and developed at Microsoft in 1997–98. Internally at Microsoft it was known as Youkon Distributed Caching platform (YDC). The first large web projects based on it were MSN Live Search (released in Sept. 1999) and later MSN customer marketing data store (multi-terabyte in-memory DB shared by all MSN sites) as well as a number of other MSN sites released in late 1990s and early 2000s. See US patents 6,453,404 and 6,449,695:

and other patents based on these:

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:

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.

See also Tuple space Blackboard system

References

Literature Articles/papers, technical:

Xu, Dezheng; Xiaoying Bai; Guilan Dai (2006). "A Tuple-Space-Based Coordination Architecture for Test Agents in the MAST Framework" (PDF). 2006 Second IEEE International Symposium on Service-Oriented System Engineering (SOSE'06). Tsinghua University, China. pp. 57–66. doi:10.1109/SOSE.2006.6. ISBN 0-7695-2726-4. S2CID 19977346. Engelhardtsen, Fritjof Boger; Tommy Gagnes (2002). "Using JavaSpaces to create adaptive distributed systems" (PDF). Agder University College, Norway.

Illustrations

Space-based architecture: Space based architecture diagram
Space based architecture diagram

Worked examples

Example 1 — a first encounter with Space-based architecture

Start with the simplest possible case. Write down what Space-based architecture claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Space-based architecture before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Space-based architecture ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Space-based architecture

In research
Space-based architecture appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Space-based architecture in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Space-based architecture is common in secondary-school and first-year university syllabi. It links to neighbouring topics Cluster computing, Distributed computing architecture, Distributed data storage, so understanding it makes those chapters shorter.
In everyday life
Look for Space-based architecture outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Space-based architecture” →

How to study Space-based architecture in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Space-based architecture means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Space-based architecture out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Space-based architecture in simple terms?

A space-based architecture (SBA) is an approach to distributed computing systems where the various components interact with each other by exchanging tuples or entries via one or more shared spaces. This is contrasted with the more common message queuing service approaches where the various componen…

Why does Space-based architecture matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Space-based architecture?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Space-based architecture.

Tags

  • Cluster computing
  • Distributed computing architecture
  • Distributed data storage
  • Grid computing
  • Middleware

Keep exploring