<commit_before><br />
<p align="center">
  <h2 align="center">Autoscaler tool for Cloud Spanner</h2>
  <img alt="Autoscaler" src="resources/BlogHeader_Database_3.max-2200x2200.jpg">

  <p align="center">
    An open source tool to autoscale Spanner instances
    <br />
    Home
    ·
    <a href="poller/README.md">Poller function</a>
    ·
    <a href="scaler/README.md">Scaler function</a>
    ·
    <a href="forwarder/README.md">Forwarder function</a>
    ·
    <a href="terraform/README.md">Terraform configuration</a>
  </p>
</p>

## Table of Contents

*   [Table of Contents](#table-of-contents)
*   [Overview](#overview)
*   [Architecture](#architecture)
*   [Deployment](#deployment)
*   [Configuration](#configuration)
*   [Licensing](#licensing)
*   [Contributing](#contributing)

## Overview

The Autoscaler tool for Cloud Spanner is a companion tool to Cloud Spanner that allows
you to automatically increase or reduce the number of nodes or processing units in one
or more Spanner instances, based on their utilization.

When you create a [Cloud Spanner instance][spanner-instance], you choose the
number of nodes or processing units that provide compute resources for the
instance. As the instance's workload changes, Cloud Spanner does *not*
automatically adjust the number of nodes or processing units in the instance.

The Autoscaler monitors your instances and automatically adds or
removes compute capacity to ensure that they stay within the
[recommended maximums for CPU utilization][spanner-max-cpu] and the
[recommended limit for storage per node][spanner-max-storage], plus or minus an<commit_msg>Linter fix in markdown.<commit_after><br />
<p align="center">
  <h2 align="center">Autoscaler tool for Cloud Spanner</h2>
  <img alt="Autoscaler" src="resources/BlogHeader_Database_3.max-2200x2200.jpg">

  <p align="center">
    An open source tool to autoscale Spanner instances
    <br />
    Home
    ·
    <a href="poller/README.md">Poller function</a>
    ·
    <a href="scaler/README.md">Scaler function</a>
    ·
    <a href="forwarder/README.md">Forwarder function</a>
    ·
    <a href="terraform/README.md">Terraform configuration</a>
  </p>
</p>

## Table of Contents

*   [Table of Contents](#table-of-contents)
*   [Overview](#overview)
*   [Architecture](#architecture)
*   [Deployment](#deployment)
*   [Configuration](#configuration)
*   [Licensing](#licensing)
*   [Contributing](#contributing)

## Overview

The Autoscaler tool for Cloud Spanner is a companion tool to Cloud Spanner
that allows you to automatically increase or reduce the number of nodes or
processing units in one or more Spanner instances, based on their utilization.

When you create a [Cloud Spanner instance][spanner-instance], you choose the
number of nodes or processing units that provide compute resources for the
instance. As the instance's workload changes, Cloud Spanner does *not*
automatically adjust the number of nodes or processing units in the instance.

The Autoscaler monitors your instances and automatically adds or
removes compute capacity to ensure that they stay within the
[recommended maximums for CPU utilization][spanner-max-cpu] and the
[recommended limit for storage per node][spanner-max-storage], plus or minus an
{'fraction_non_alphanumeric': 0.10110633066994468, 'fraction_numerical': 0.006760909649661954, 'mean_word_length': 4.6217616580310885, 'pattern_counts': {'":': 0, '<': 37, '<?xml version=': 0, '>': 37, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1903553', 'n_tokens_mistral': 998, 'n_tokens_neox': 931, 'n_words': 348}