Title: docs: Scaling Coder for 100, 1000, 3000 active users · Issue #2971 · coder/coder · GitHub
Open Graph Title: docs: Scaling Coder for 100, 1000, 3000 active users · Issue #2971 · coder/coder
X Title: docs: Scaling Coder for 100, 1000, 3000 active users · Issue #2971 · coder/coder
Description: We want to ensure Coder v2 can scale to support large deployments and write docs to help users set up the right infrastructure! Initial requirements We scale test Coder to ensure it can support workloads with 100, 1000, and 3000 users (e...
Open Graph Description: We want to ensure Coder v2 can scale to support large deployments and write docs to help users set up the right infrastructure! Initial requirements We scale test Coder to ensure it can support wor...
X Description: We want to ensure Coder v2 can scale to support large deployments and write docs to help users set up the right infrastructure! Initial requirements We scale test Coder to ensure it can support wor...
Opengraph URL: https://github.com/coder/coder/issues/2971
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"docs: Scaling Coder for 100, 1000, 3000 active users","articleBody":"We want to ensure Coder v2 can scale to support large deployments and write docs to help users set up the right infrastructure!\r\n\r\n## Initial requirements\r\n\r\n- We scale test Coder to ensure it can support workloads with 100, 1000, and 3000 users (e.g. a realistic number of concurrent builds, workspace connections, API requests, etc)\r\n- Users can reproduce our results and get a sense of what infrastructure they need via \"reference architecture\" docs we provide\r\n - Reference environments are on Kubernetes (Coder's most common enterprise environment)\r\n - We share the configuration for cluster, `coderd`, and nodes (see discussions in #5206)\r\n- Provide `coder loadtest` command used and any flags used (template name, num workspaces, num connections, etc)\r\n- Document how the `coder loadtest` works and how a user can use it against with their own environments, since their \"mileage will vary\" depending on various factors on their environment (e.g. workspace size, template, etc)\r\n\r\n## Vision\r\n\r\n- We provide reference architectures for various infrastructure types (Docker, VMs, etc)\r\n- We simulate actual developer workflows inside workspaces (e.g. intermittently running builds of a large Java project)\r\n - This helps identify provisioning rates, node sizing, etc.\r\n- Reference architectures can be defined as code with Terraform. Users can use Terraform to deploy reference architecture\r\n- We regularly run scale tests via CRON to identify regressions\r\n- Scale test results against reference environments (tracing, build stats) are published on a publicly-accessible URL\r\n\r\n## References/inspiration\r\n\r\n- [GitLab: Performance & scalability](https://about.gitlab.com/handbook/engineering/quality/performance-and-scalability/)\r\n- [GitLab: How we perform the tests](https://docs.gitlab.com/ee/administration/reference_architectures/#how-we-perform-the-tests)\r\n- [Clickhouse benchmarks](https://benchmark.clickhouse.com/)","author":{"url":"https://github.com/bpmct","@type":"Person","name":"bpmct"},"datePublished":"2022-07-13T17:51:25Z","url":"https://github.com/coder/coder/issues/2971"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:9213f667-cb21-0542-689b-358bfc28a8b5 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B8FA:7A60E:1DFF98E:2670BD7:6B0157FF |
| html-safe-nonce | ab1fb94ee8107cdf53a7c094b9b03fcabab1ecdef8504eeeb0efaf8aab08c63f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCOEZBOjdBNjBFOjFERkY5OEU6MjY3MEJENzo2QjAxNTdGRiIsInZpc2l0b3JfaWQiOiI3NzAxNTU5NDIyMjM3MTA0MTI3IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 45544d5310900822cf7ea265b03945f55cde4e4be7f773b3b30ad08127f43cd6 |
| hovercard-subject-tag | issue:1303757616 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/coder/coder/2971/issue_layout |
| twitter:image | https://opengraph.githubassets.com/3f4bc74efe122b2ff1f4741d8514f13a14670bbf3d18dd08fb68fc47557f80fc/coder/coder/issues/2971 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/3f4bc74efe122b2ff1f4741d8514f13a14670bbf3d18dd08fb68fc47557f80fc/coder/coder/issues/2971 |
| og:image:alt | We want to ensure Coder v2 can scale to support large deployments and write docs to help users set up the right infrastructure! Initial requirements We scale test Coder to ensure it can support wor... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | bpmct |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-preview |
| go-import | github.com/coder/coder git https://github.com/coder/coder.git |
| octolytics-dimension-user_id | 95932066 |
| octolytics-dimension-user_login | coder |
| octolytics-dimension-repository_id | 440752086 |
| octolytics-dimension-repository_nwo | coder/coder |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 440752086 |
| octolytics-dimension-repository_network_root_nwo | coder/coder |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width