Skip to content

Commit

Permalink
Merge pull request #2813 from spryker/gerner-spryker-patch-1
Browse files Browse the repository at this point in the history
Update operational-and-deployment-guidelines.md with Scalability quality
  • Loading branch information
andriitserkovnyi committed Sep 20, 2024
2 parents 8edf592 + 68d7fb8 commit 75c16de
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,3 +66,7 @@ The rollback scripts must not break the behavior of the current system:
* Glue GET requests with subsequent Zed requests should be under 180ms on average.
* Glue GET requests without subsequent Zed requests should be under 140ms on average.
* Glue POST, PATCH, and PUT requests with subsequent Zed requests should be under 290ms on average.

## Scaleability guidelines

[P&S](docs/dg/dev/backend-development/data-manipulation/data-publishing/publish-and-synchronization.html) processes must have O(n) time complexity and O(n) resource complexity. In other words, they scale linearly with the number of entities they're processing. Specifically, memory and CPU consumption must grow proportionally to the number of entities. For example, if a process handles 100 entities, its resource consumption is X. When it handles 200 entities, the resource consumption must not exceed 2X.

0 comments on commit 75c16de

Please sign in to comment.