vmware-tanzu / tanzu-dev-portal

Content for Tanzu dev portal
Apache License 2.0
136 stars 168 forks source link

Content: Concourse - Sizing requirements #1191

Open LukeShortCloud opened 3 years ago

LukeShortCloud commented 3 years ago

Summary of content

Concourse requires a handful of sizing requirements for all of the resources (CPU, RAM, and storage). These need to be taken into account when first deploying Concourse.

Summary of audiences

Developers and administrators deploying and managing Concourse in a production environment where scale and performance are important.

Level of content

Level of content as it pertains to the topic proposed.

Contributor Checklist

  1. [x] I have added a card to the GitHub Content Backlog and/or moved it to the proper column. See Content Prewriting and Ideation
  2. [ ] If contributing via Google Docs: I have added a link to my document to this issue, and set the document's Share settings to "Anyone on the internet with this link can comment".
  3. [ ] My content is drafted in accordance with existing style guides and best practices. See Drafting Content
  4. [ ] The front matter (metadata) is filled out completely (e.g. description, topics, tags, author, etc - as appropriate for the content type). See Drafting Content
  5. [ ] My content has been reviewed by my team for technical accuracy. See Editing Content
  6. [ ] My content has beed reviewed and edited by a copy editor. See Editing Content
  7. [ ] If applicable: My content has gone through a legal review (VMware Employees Only). See Editing Content
  8. [ ] If applicable: I have tested my content locally and everything passes. See Testing Content
  9. [ ] Optional: I have filled out the Social Media request form (optional) (VMware Employees Only). See Next Steps
  10. [ ] If applicable: I have created an author page and opened a pull request to get it added. See Next Steps

Reviewer Checklist

LukeShortCloud commented 3 years ago

The following are recommendations straight from Concourse developers.

The two biggest areas of performance bottlenecks in Concourse: network and storage.

Network:

Storage:

Database:

Remote workers:

LukeShortCloud commented 3 years ago

We can have a relative link to here for how to setup Grafana.

LukeShortCloud commented 3 years ago

Increase the maximum number of connections to PostgreSQL by setting max_connections. The default value is 100. Increase to 1000.

https://www.postgresql.org/docs/13/runtime-config-connection.html

LukeShortCloud commented 3 years ago

PostgreSQL data retention can be configured by (1) archiving and (2) setting up partitions in the tables.

  1. https://www.postgresql.org/docs/13/continuous-archiving.html
  2. https://www.postgresql.org/docs/13/ddl-partitioning.html