<data>
- data source that continuously sends objects to "our component"
- data is evenly distributed (not duplicated) across the servers of "our component"
["our component"]
- N independent servers
- stores data; upon reaching the limit: POST request to insert into the database
- IP address of the database server is specified in the config file
[Database]
- cluster of N servers
- can write to any server
Installation procedure:
- knows all servers of "our component" and all database servers
- assigns database servers to "our component" approximately evenly
--> [ ] -> 1 |(1) |
--> [ ] -> 2 |----|
<data> --> [ ] -> 3 |(2) |
\--> [ ] -> 1 |----|
--> [ ] -> 2 |(3) |