generated from SAP/repository-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Memory usage of Java, NodeJs and Go #14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
45d3c88
memory usage for java, nodejs and go added
MarievonSeggern fa15203
Merge remote-tracking branch 'origin' into memory-usage
MarievonSeggern c0b180e
Corrected spelling mistake
MarievonSeggern e8e911d
Improvement of text
MarievonSeggern 2fa6de2
minor corrections
MarievonSeggern cac85e6
added detailed documentation for go memory usage
MarievonSeggern 823b703
Adjustments for the go docs (#15)
finkmanAtSap 53beab7
Update docs/Libraries/nodejs/sap_ams/sap_ams.md
MarievonSeggern 5d87f53
removed misleading paragraph for nodejs memory usage
MarievonSeggern File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 |
|---|---|---|
| @@ -0,0 +1,29 @@ | ||
| # cloud-identity-authorizations-golang-library | ||
|
|
||
| The official Go client library is https://github.com/SAP/cloud-identity-authorizations-golang-library. | ||
|
|
||
| ## Documentation | ||
| Unfortunately, documentation for the Go client library is not yet available. Once it becomes available, it will be released here. | ||
|
|
||
| ## Configuration | ||
|
|
||
| ### Memory Usage | ||
| The memory usage of AMS in Go is very similar to the memory usage in Java.\ | ||
| The formula to calculate the memory usage is: | ||
| ```` | ||
| memory_usage_in_kb = 0.2 * number_tenants + 0.25 * number_user + 0.1 * number_assignments | ||
| ```` | ||
| Some example data.json sizes can be found in this table: | ||
| | Tenants | User | Assignments | Measured Difference to empty data.json | KB per Tenant (T)/User (U)/Assignment (A) | | ||
| |---------|-------|-------------|----------------------------------------|-------------------------------------------| | ||
| | 10 | 0 | 0 | 4 | 0.4 (T) | | ||
| | 1000 | 0 | 0 | 216 | 0.216 (T) | | ||
| | 10000 | 0 | 0 | 2517 | 0.2517 (T) | | ||
| | 10 | 100 | 0 | 28 | 0.26 (U) | | ||
| | 1 | 10 | 20 | 5 | 0.3 (A) | | ||
| | 1 | 100 | 200 | 45 | 0.085 (A) | | ||
| | 10 | 1000 | 2000 | 421 | 0.069 (A) | | ||
| | 100 | 10000 | 20000 | 4104 | 0.1138 (A) | | ||
| | 1000 | 10000 | 200000 | 24116 | 0.1077 (A) | | ||
|
|
||
| The increase in memory usage per tenant, user and policy assignment in Java is approximately linear. |
This file contains hidden or 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 hidden or 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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.