-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update with grpcserver * Add docs
- Loading branch information
Showing
10 changed files
with
68 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,14 @@ | ||
# gRPC server | ||
|
||
To be implemented... | ||
The `grpcserver` is running within the `<language>` namespace. It uses | ||
|
||
- Redis cache | ||
|
||
within the `ops` namespace. | ||
|
||
The corresponding `GET` and `DELETE` producure works as follows: | ||
|
||
1. `simulator` calls `grpcserver` | ||
2. `httpserver` gets/deletes from/in `redis` | ||
|
||
![workflow](/media/grpcserver_workflow.png) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,17 @@ | ||
# HTTP server | ||
|
||
To be implemented... | ||
The `httpserver` is running within the `<language>` namespace. It uses | ||
|
||
- Redis cache | ||
- MySQL database | ||
|
||
within the `ops` namespace. | ||
|
||
The corresponding `GET` and `DELETE` producure works as follows: | ||
|
||
1. `simulator` calls `httpserver` | ||
2. `httpserver` gets the boolean `increase.latency` flag from `redis` | ||
- _periodic intentional error controlled by `latencymanager`_ | ||
3. `httpserver` gets/deletes from/in `mysql` | ||
|
||
![workflow](/media/httpserver_workflow.png) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,17 @@ | ||
# Kafka consumer | ||
|
||
To be implemented... | ||
The `kafkaconsumer` is running within the `<language>` namespace. It uses | ||
|
||
- Kafka broker | ||
- Redis cache | ||
- MySQL database | ||
|
||
within the `ops` namespace. | ||
|
||
The corresponding `CREATE` producure works as follows: | ||
1. `simulator` publishes a message to `kafka` | ||
2. `kafkaconsumer` consumes the message | ||
3. `kafkaconsumer` stores a value in `redis` | ||
4. `kafkaconsumer` stores a value in `mysql` | ||
|
||
![workflow](/media/kafkaconsumer_workflow.png) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,18 @@ | ||
# Latency manger | ||
|
||
To be implemented... | ||
The `latencymanager` is running within the `<language>` namespace. It uses | ||
|
||
- Redis cache | ||
|
||
within the `ops` namespace. | ||
|
||
The corresponding `increase` and `decrease` producure works as follows: | ||
|
||
1. `cronjob` triggers `latencymanager` | ||
- _either `increase` or `decrease`_ | ||
2. `latencymanager` sets the boolean `increase.latency` flag in `redis` | ||
- _periodic intentional error to manipulate `httpserver` latency_ | ||
|
||
![workflow](/media/latencymanager_workflow.png) | ||
|
||
Moreover, it sends a deployment marker event to New Relic whenever the latency change has been made. |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.