Week 11 Flashcards
Name the three types of shared memory architectures
Database centric
blackboard
Rule-based
Describe database centric memory architectures
Coordination is achieved through a database for shared data, typically asynchronously
Describe a blackboard type shared memory architecture
Concurrent tasks or agents synchronously update a common memory data storage (the blackboard) and react to changes on the blackboard made by other agents.
Describe a rule based shared memory architecture?
Rules stored with the data in a common area to be applied or queried
What are the three types of messaging architectures?
Event-driven
Publish-subscribe
Asynchronous message
What is event-driven messaging architecture?
An underlying system has a list of functions to invoke each time that a particular event happens
State machine
MVC for user interfaces
What is a publish-subscribe messaging architecture?
Agents can ask to hear about particular event (subscribing)
Agents that compute results or identify changes can choose to let other agents know about the change (publishing)
What is an asynchronous message type messaging architecture?
Program components maintain mailboxes in which other parts of the programs can send messages to be read when convenient to the receiever.
What are the two adaptable systems?
Plug-ins/modular
Microkernal
Describe a plugin/modular adaptable system?
A running program can have a new pieces added to it on the fly as needed
Describe a microkernal adaptable system?
The core of the application (the kernal) is kept as small and as efficient as possible with all other elements added with restricted privileges.
What are the four types of distributed system architectures?
Client-server (2 or 3 tier)
Peer-to-peer
Representational state transfer (REST)
Service-oriented (precursor to cloud systems)
All printable characters in the ASCII table has a high-order bit of:
0
If we don’t store the first 0 of each ascii byte, we can shrink the size of the files by how much?
12.5% (1/8)
Bit operations are:
~bitwise complement
&bitwise and