Kay Ashaolu - Instructor
Aishwarya Sriram - TA
routing_table = {
"/": home_page,
"/post/1": post_one_page,
}
public_html/
├── post/
│ ├── 1.html
│ └── 2.html
User → Server → Task Unit → File System → User
Type | Building Block | Icon |
---|---|---|
Task | Worker | |
Task | Service | |
Storage | Key-Value Store | |
Storage | File Store | |
Storage | Queue | |
Storage | Relational Database | |
Storage | Vector Database |
Strength | Weakness |
---|---|
Efficient for long tasks | Hard to debug |
Built With |
---|
Task Unit |
What is it? |
---|
Workers operate independently of a user's direct interaction, performing tasks like data processing or job execution in the background |
Strength | Weakness |
---|---|
Delivers requested content efficiently | Responsiveness drops with high load or slow tasks |
Built With |
---|
Task Units Dictionary Storage Unit |
What is it? |
---|
Services map publicly available paths to functions (task units) that centralize resources and services for specific purposes |
Strength | Weakness |
---|---|
Fast and scalable | Limited query flexibility |
Built With |
---|
Dictionary Storage Unit |
What is it? |
---|
A key-value store is a simple database that stores data as unique key-value pairs for fast retrieval |
Strength | Weakness |
---|---|
Organize and store data efficiently | Can have slower performance over time due to fragmentation |
Built With |
---|
Tree Storage Unit |
What is it? |
---|
A file store organizes data hierarchically using tree structures, where directories are nodes and files are leaf nodes |
Strength | Weakness |
---|---|
Ensures fair and orderly processing of tasks | Can become a bottleneck if items are added faster than they are processed |
Built With |
---|
Array Storage Unit |
What is it? |
---|
A queue is a data structure that processes items in a first-in, first-out (FIFO) order, commonly used for tasks like scheduling and buffering |
Strength | Weakness |
---|---|
Ensures data is correct and available | Massive scale is difficult |
Built With |
---|
Task Unit Array and Tree Storage Units |
What is it? |
---|
A relational database organizes and stores data in structured tables with rows and columns, enabling relationships between tables through keys for efficient querying and management |
Strength | Weakness |
---|---|
Excels at finding similar items quickly in large datasets | Less precise and scalable for very large datasets or exact matches |
Built With |
---|
Task Unit Array and Tree Storage Units |
What is it? |
---|
A vector database stores and searches data as mathematical vectors, often used for finding similar items in applications like AI and recommendations |
Entity | Description | Icon |
---|---|---|
User |
Represents the end user that is interacting with the system |
|
Time |
Represents a scheduled and/or recurring external trigger |
|
External Service |
Represents an integration to a service that is outside the system |