ReadySetGit/Design-Scalability.md

56 lines
2.0 KiB
Markdown
Raw Normal View History

2023-03-24 16:29:16 +00:00
<!-- markdownlint-disable-next-line first-line-h1 -->
2018-08-23 17:23:45 +00:00
##### Project
::PROJECT-NAME
##### Internal Release Number
2018-08-14 12:48:17 +00:00
::X.Y.Z
2018-08-23 17:23:45 +00:00
##### Related Documents
2018-08-14 17:10:40 +00:00
- [Design](Design) > Scalability
2018-08-14 12:48:17 +00:00
- ::LINKS TO RELEVANT STANDARDS
- ::LINKS TO OTHER DOCUMENTS
2018-08-23 17:23:45 +00:00
2018-08-14 12:48:17 +00:00
---
### Overview
2023-03-24 16:29:16 +00:00
_TODO: Briefly describe the approach to scalability. Rank your
scalability goals for this design._
2018-08-14 12:48:17 +00:00
::2-4 SENTENCES.
### Relevant parameters
2023-03-24 16:29:16 +00:00
| Parameter | Description |
| ------------------ | --------------------------------------------------------------------------------------- |
| ::registered_users | ::Number of registered users in the database. |
| ::concurrent_users | ::Number of users logged into the system at a given time. |
| ::map_size | ::Number of game squares in the playing area. E.g., a 10 x 25 map would be 250 squares. |
| ::game_pieces | ::Number of game pieces on the playing area at a given time. |
2018-08-14 12:48:17 +00:00
### Scalability Mechanisms
2018-08-14 15:55:05 +00:00
2018-08-14 12:48:17 +00:00
### Performance Goals and Estimates
2023-03-24 16:29:16 +00:00
| Action | Goal | Time Formula | Description |
| ------------- | ------------ | --------------------------- | --------------------------------------------------------------------------- |
| ::login | ::1 second | ::O(Log(registered_users)) | ::Time that it takes to look up a user by their login name in the database. |
| ::display_map | ::1/5 second | ::O(map_size + game_pieces) | ::Time that it takes to redraw the game map and all game pieces. |
2018-08-14 12:48:17 +00:00
### System Scalability Checklist
How well do these mechanisms support the achievement of your goals?
::2-4 SENTENCES
#### Have these scalability mechanisms been communicated to the development team and other stakeholders?
::Yes, everyone understands. Feedback is welcome.
2021-08-01 11:41:38 +00:00
::No, this is a risk that is noted in the
2018-08-14 21:32:43 +00:00
[Risk Management](Project-Plan#Risk-Management) section.