Skip to content
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

CC Serverless #10900

Merged
merged 89 commits into from
Oct 16, 2021
Merged

CC Serverless #10900

merged 89 commits into from
Oct 16, 2021

Conversation

gemma-shay
Copy link
Contributor

@gemma-shay gemma-shay commented Jul 8, 2021

Updated docs for serverless

@cockroach-teamcity
Copy link
Member

This change is Reviewable

@github-actions
Copy link

github-actions bot commented Jul 8, 2021

Files changed:

_data/products.yml
_data/releases-cc.yml
_includes/cockroachcloud/cockroachcloud-ask-admin.md
_includes/cockroachcloud/free-limitations.md
_includes/cockroachcloud/planning-your-serverless-cluster.md
_includes/cockroachcloud/quickstart/create-a-free-cluster.md
_includes/cockroachcloud/sidebar-release-notes.json
_includes/cockroachcloud/sql-connection-string-free.md
_includes/footer.html
_includes/main-menu-contained-dropdown.html
_includes/marketing-menu.html
_includes/menu-main-product.html
_includes/sidebar-data-cockroachcloud.json
_includes/sidebar-data-v21.1.json
_includes/sidebar-data-v21.2.json
_includes/sidebar-releases.json
_includes/v19.1/cockroachcloud-ask-admin.md
_includes/v19.1/computed-columns/partitioning.md
_includes/v19.2/cockroachcloud-ask-admin.md
_includes/v19.2/computed-columns/partitioning.md
_includes/v2.0/computed-columns/partitioning.md
_includes/v2.1/computed-columns/partitioning.md
_includes/v20.1/computed-columns/partitioning.md
_includes/v20.2/computed-columns/partitioning.md
_includes/v21.1/sidebar-data-reference.json
_includes/v21.2/sidebar-data-reference.json
_layouts/homepage.html
cockroachcloud/alerts-page.md
cockroachcloud/architecture.md
cockroachcloud/authentication.md
cockroachcloud/backups-page.md
cockroachcloud/billing-management.md
cockroachcloud/cluster-management.md
cockroachcloud/connect-to-your-cluster.md
cockroachcloud/console-access-management.md
cockroachcloud/create-a-serverless-cluster.md
cockroachcloud/create-an-account.md
cockroachcloud/create-your-cluster.md
cockroachcloud/deploy-a-python-to-do-app-with-flask-kubernetes-and-cockroachcloud.md
cockroachcloud/frequently-asked-questions.md
cockroachcloud/hello-world-example-apps.md
cockroachcloud/index.md
cockroachcloud/monitoring-page.md
cockroachcloud/network-authorization.md
cockroachcloud/production-checklist.md
cockroachcloud/quickstart-trial-cluster.md
cockroachcloud/quickstart.md
cockroachcloud/run-bulk-operations.md
cockroachcloud/security-overview.md
cockroachcloud/serverless-benchmarking.md
cockroachcloud/serverless-cluster-management.md
cockroachcloud/serverless-faqs.md
cockroachcloud/statements-page.md
cockroachcloud/stream-changefeed-to-snowflake-aws.md
cockroachcloud/troubleshooting-page.md
cockroachcloud/upgrade-policy.md
cockroachcloud/user-authorization.md
images/cockroachcloud/multiregion-diagram.png
images/cockroachcloud/serverless-diagram.png
images/cockroachcloud/serverless-performance.png
images/cockroachcloud/serverless-scaling.png
jekyll-algolia-dev/lib/jekyll/algolia/hooks.rb
netlify/vale/CockroachDB/Terminology.yml
releases/cockroachcloud-02092021.md
releases/cockroachcloud-05032021.md
releases/cockroachcloud-07062021.md
releases/index-cockroachcloud.md
v20.2/alter-index.md
v20.2/alter-table.md
v20.2/authentication.md
v20.2/backup.md
v20.2/build-a-python-app-with-cockroachdb-django.md
v20.2/cancel-job.md
v20.2/changefeed-for.md
v20.2/cockroach-demo.md
v20.2/cockroach-start-single-node.md
v20.2/cockroach-start.md
v20.2/computed-columns.md
v20.2/configure-replication-zones.md
v20.2/configure-zone.md
v20.2/connect-to-the-database-cockroachcloud.md
v20.2/cost-based-optimizer.md
v20.2/create-changefeed.md
v20.2/create-index.md
v20.2/create-schedule-for-backup.md
v20.2/create-table.md
v20.2/demo-low-latency-multi-region-deployment.md
v20.2/deploy-app-gcr.md
v20.2/disaster-recovery.md
v20.2/drop-role.md
v20.2/enable-node-map.md
v20.2/encryption.md
v20.2/enterprise-licensing.md
v20.2/export.md
v20.2/follower-reads.md
v20.2/get-started-with-enterprise-trial.md
v20.2/grant-roles.md
v20.2/gssapi_authentication.md
v20.2/index.md
v20.2/interleave-in-parent.md
v20.2/known-limitations.md
v20.2/licensing-faqs.md
v20.2/migration-overview.md
v20.2/multi-region-deployment.md
v20.2/multi-region-overview.md
v20.2/partition-by.md
v20.2/partitioning.md
v20.2/performance-benchmarking-with-tpcc-large.md
v20.2/performance-benchmarking-with-tpcc-medium.md
v20.2/recommended-production-settings.md
v20.2/restore.md
v20.2/revoke-roles.md
v20.2/security-overview.md
v20.2/show-jobs.md
v20.2/sql-statements.md
v20.2/sso.md
v20.2/stream-data-out-of-cockroachdb-using-changefeeds.md
v20.2/take-and-restore-encrypted-backups.md
v20.2/take-and-restore-locality-aware-backups.md
v20.2/take-backups-with-revision-history-and-restore-from-a-point-in-time.md
v20.2/take-full-and-incremental-backups.md
v20.2/topology-duplicate-indexes.md
v20.2/topology-follower-reads.md
v20.2/topology-geo-partitioned-leaseholders.md
v20.2/topology-geo-partitioned-replicas.md
v20.2/ui-cluster-overview-page.md
v20.2/ui-debug-pages.md
v20.2/ui-jobs-page.md
v20.2/use-a-local-file-server-for-bulk-operations.md
v21.1/alter-index.md
v21.1/alter-table.md
v21.1/authentication.md
v21.1/backup.md
v21.1/build-a-python-app-with-cockroachdb-django.md
v21.1/cancel-job.md
v21.1/changefeed-for.md
v21.1/cockroach-demo.md
v21.1/cockroach-start-single-node.md
v21.1/cockroach-start.md
v21.1/configure-replication-zones.md
v21.1/configure-zone.md
v21.1/connect-to-the-database-cockroachcloud.md
v21.1/create-changefeed.md
v21.1/create-index.md
v21.1/create-role.md
v21.1/create-schedule-for-backup.md
v21.1/create-table.md
v21.1/create-user.md
v21.1/deploy-app-gcr.md
v21.1/deploy-cockroachdb-with-kubernetes.md
v21.1/disaster-recovery.md
v21.1/drop-role.md
v21.1/enable-node-map.md
v21.1/encryption.md
v21.1/enterprise-licensing.md
v21.1/export.md
v21.1/follower-reads.md
v21.1/get-started-with-enterprise-trial.md
v21.1/global-tables.md
v21.1/gssapi_authentication.md
v21.1/index.md
v21.1/interleave-in-parent.md
v21.1/known-limitations.md
v21.1/licensing-faqs.md
v21.1/movr-flask-deployment.md
v21.1/movr-flask-overview.md
v21.1/partition-by.md
v21.1/partitioning.md
v21.1/performance-benchmarking-with-tpcc-large.md
v21.1/performance-benchmarking-with-tpcc-medium.md
v21.1/recommended-production-settings.md
v21.1/regional-tables.md
v21.1/restore.md
v21.1/security-overview.md
v21.1/show-jobs.md
v21.1/sql-statements.md
v21.1/sso.md
v21.1/stream-data-out-of-cockroachdb-using-changefeeds.md
v21.1/take-and-restore-encrypted-backups.md
v21.1/take-and-restore-locality-aware-backups.md
v21.1/take-backups-with-revision-history-and-restore-from-a-point-in-time.md
v21.1/take-full-and-incremental-backups.md
v21.1/topology-follower-reads.md
v21.1/ui-cluster-overview-page.md
v21.1/ui-debug-pages.md
v21.1/ui-jobs-page.md
v21.1/use-a-local-file-server-for-bulk-operations.md
v21.2/alter-index.md
v21.2/alter-table.md
v21.2/authentication.md
v21.2/backup.md
v21.2/build-a-python-app-with-cockroachdb-django.md
v21.2/cancel-job.md
v21.2/changefeed-for.md
v21.2/cockroach-demo.md
v21.2/cockroach-start-single-node.md
v21.2/cockroach-start.md
v21.2/configure-replication-zones.md
v21.2/configure-zone.md
v21.2/connect-to-the-database-cockroachcloud.md
v21.2/create-changefeed.md
v21.2/create-index.md
v21.2/create-role.md
v21.2/create-schedule-for-backup.md
v21.2/create-table.md
v21.2/create-user.md
v21.2/deploy-app-gcr.md
v21.2/deploy-cockroachdb-with-kubernetes.md
v21.2/disaster-recovery.md
v21.2/drop-role.md
v21.2/enable-node-map.md
v21.2/encryption.md
v21.2/enterprise-licensing.md
v21.2/export.md
v21.2/follower-reads.md
v21.2/get-started-with-enterprise-trial.md
v21.2/global-tables.md
v21.2/gssapi_authentication.md
v21.2/index.md
v21.2/interleave-in-parent.md
v21.2/known-limitations.md
v21.2/licensing-faqs.md
v21.2/movr-flask-deployment.md
v21.2/movr-flask-overview.md
v21.2/partition-by.md
v21.2/partitioning.md
v21.2/performance-benchmarking-with-tpcc-large.md
v21.2/performance-benchmarking-with-tpcc-medium.md
v21.2/recommended-production-settings.md
v21.2/regional-tables.md
v21.2/restore.md
v21.2/security-overview.md
v21.2/show-jobs.md
v21.2/sql-statements.md
v21.2/sso.md
v21.2/stream-data-out-of-cockroachdb-using-changefeeds.md
v21.2/take-and-restore-encrypted-backups.md
v21.2/take-and-restore-locality-aware-backups.md
v21.2/take-backups-with-revision-history-and-restore-from-a-point-in-time.md
v21.2/take-full-and-incremental-backups.md
v21.2/topology-follower-reads.md
v21.2/ui-cluster-overview-page.md
v21.2/ui-debug-pages.md
v21.2/ui-jobs-page.md
v21.2/use-a-local-file-server-for-bulk-operations.md

@netlify
Copy link

netlify bot commented Jul 8, 2021

✔️ Netlify Preview

🔨 Explore the source changes: 0197bd2

🔍 Inspect the deploy log: https://app.netlify.com/sites/cockroachdb-docs/deploys/616a106d64d6c90008a811ee

😎 Browse the preview: https://deploy-preview-10900--cockroachdb-docs.netlify.app

@gemma-shay
Copy link
Contributor Author

cc: @ianjevans

@gemma-shay gemma-shay changed the title Cc serverless CC Serverless Jul 14, 2021
Copy link
Contributor

@amruss amruss left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CREATE CHANGEFEED is not supported in Serverless yet. Only EXPERIMENTAL CHANGEFEED FOR is

@gemma-shay gemma-shay marked this pull request as ready for review October 13, 2021 18:02

You can set your spend limit higher to maintain a high level of performance with larger workloads. If you have a spend limit, your cluster will not be throttled to baseline performance once you use all of your free earned RUs. Instead, it will continue to use burst performance as needed until you reach your spend limit. You will only be charged for the resources you use up to your spend limit. If you reach your spend limit, your cluster will revert to the baseline performance of 100 RUs per second.

For example, you have an application that processes sensor data at the end of the week. Most of the week it handles only occasional read requests, and spends under the 100 RUs per second baseline. At the end of the week the sensors send in their data to the application, requiring a burst over the 100 RUs per second baseline. When the cluster requires more than 100 RUs per second to cover the burst, it first spends the earned RUs from the previous week. If the burst requires more RUs than were earned the previous week, the cluster will spend RUs to cover the burst, up to your maximum spend limit. If you reach your spend limit at any point during the month, the cluster will continue to earn RUs during lower load periods and spend earned RUs during bursts, but after using the earned RUs during bursts it will not scale up beyond the 100 RUs per second baseline.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This example is confusing as written. I think its bc its not clear if this cluster has a spend limit > $0. I recommend adding an example with $0 spend and one that's more than $0 spend to illustrate what happens when they use up their burst capacity.

cockroachcloud/frequently-asked-questions.md Show resolved Hide resolved
cockroachcloud/serverless-faqs.md Outdated Show resolved Hide resolved
cockroachcloud/serverless-faqs.md Outdated Show resolved Hide resolved
releases/cockroachcloud-02092021.md Show resolved Hide resolved
releases/index-cockroachcloud.md Outdated Show resolved Hide resolved
@gemma-shay gemma-shay merged commit 8631206 into master Oct 16, 2021
@gemma-shay gemma-shay deleted the cc-serverless branch October 28, 2021 17:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.