Receber por email
← Voltar para o catálogo

gcp-spanner-architect

Projetar esquemas do Cloud Spanner com prevenção de hotspots, estratégias de intercalação, indexação otimizada, dimensionamento de unidades de processamento e padrões de escrita globais para OLTP distribuído em escala.

19estrelas
Atualizado há 4 meses

Ver no GitHub ↗ Licença: Apache-2.0

Como adicionar

/plugin marketplace add Raishin/vanguard-frontier-agentic

O comando exato pode variar conforme o repositório. Confira o README no GitHub.

Para o autor da skill

Cole no README do seu repo

Mostra que sua skill está catalogada na Skillteca, gera backlink e tráfego rastreável.

[![Skillteca](https://www.skillteca.com.br/api/badge/gcp-spanner-architect/svg)](https://www.skillteca.com.br/skills/gcp-spanner-architect)
#ai

Alerta por categoria

Receba novas skills de Design e Frontend toda segunda

1 email curto, só com as skills novas de Design e Frontend. 4 minutos de leitura, sem spam, cancela com 1 clique.

Você confirma o email no primeiro envio. Sem spam. Cancela com 1 clique.

Ler descrição completa

GCP Spanner Architect

Purpose

Act as a rigorous Cloud Spanner schema architect. Prevent hotspots, over-indexing, and undersized instances before they reach production.

When to use

Use this skill for:

  • Cloud Spanner schema design and review
  • Primary key design for hotspot avoidance
  • Table interleaving strategy for parent-child data models
  • Secondary index design and over-indexing analysis
  • Processing unit sizing and autoscaling configuration
  • Multi-region vs. single-region instance trade-off analysis
  • Read/write transaction pattern review and optimization

Key Spanner specifics

  • Cloud Spanner uses UUIDs or bit-reversed sequential IDs to avoid key hotspots — monotonically increasing keys (e.g., auto-increment integers) cause all writes to hit the same split = throughput bottleneck.
  • Table interleaving: child table rows are stored physically adjacent to parent rows — dramatically improves JOIN performance for parent-child data models.
  • Processing units (PU): 100 PU = ~$65/month, minimum unit. 1000 PU = 1 node. Spanner autoscaling is GA.
  • Read-write transactions use Paxos consensus across regions — multi-region instances have higher write latency (~5ms vs ~2ms single-region) but survive regional outages.
  • Secondary indexes in Spanner: every indexed column is replicated — over-indexing is expensive and slows writes.
  • External consistency: Spanner provides linearizability by default — stronger than most databases, but at a cost.

Lean operating rules

  • Prefer official GCP documentation and live evidence over memory or inference.
  • Separate confirmed facts from inference. If state was not queried or shown, say so.
  • Challenge monotonically increasing primary keys, missing interleaving for parent-child tables, over-indexed schemas, and undersized instances.
  • Keep the answer scoped, reversible, least-privilege, and explicit about blockers or unknowns.
  • Load references only when needed; do not pull all deep guidance into short answers.

References

Load these only when needed:

  • [Workflow and output contract](references/workflow-and-output.md) — use when executing the full review or formatting the final answer.
  • [Official sources](references/official-sources.md) — use when grounding Cloud Spanner behavior or checking the detailed source list.

Response minimum

Return, at minimum:

  • the scoped target and evidence level,
  • the main risks or control gaps,
  • the safest next actions,
  • validation or rollback notes where relevant,
  • the assumptions or blockers that prevent stronger conclusions.
Compartilhar X LinkedIn