Cells

This is the handbook page for the Cells project. Cells is one of the top priorities for FY2025, with the goal of providing additional scalability for GitLab.com. This handbook page contains the project information such as the project plan, roadmap, workstreams, DRIs, stakeholders, and communication channels. It also has links to important documentation such as the Cells design blueprints.

Intro

Cells is a new architecture for our software as a service platform. This architecture is horizontally scalable, resilient, and provides a more consistent user experience. It may also provide additional features in the future, such as data residency control (regions) and federated features.

For more information about the goals of Cells, see goals.

Requirements and Architecture

Cells overall architecture blueprint.

Roadmap, Workstreams, and DRIs

Roadmap

Cells 1.0

Cells 1.5

Cells 2.0

  • For internal customers only
  • Organizations are private
  • Users cannot interact with other Organizations (including GitLab Org)
  • Groups and projects are private in the Organization
  • For more details, see Organizations on Cells 1.0
  • For existing/new customers of GitLab.com
  • Organizations are private
  • Existing users can interact with private Organizations on Secondary Cells
  • Groups and projects are private in the Organization
  • For more details, see Organizations on Cells 1.5
  • Organizations are public or private
  • Users can interact with other Organizations
  • Groups and projects are private or public in the Organization
  • For more details, see Organizations on Cells 2.0

DRIs and Stakeholders

Role Responsibility

Sabrina Farmer

Executive Sponsor

Marin Jankovski

Senior Director of Engineering

Chun Du

Director of Engineering
  1. Liaison between project team and cross-functional engineering leaders
  2. Coordinating temporary staffing arrangements within the Data Stores stage

Nick Nguyen

Senior Engineering Manager
  1. Coordinating staffing and unblocking groups in Data Stores
  2. Drive cross-functional efforts in engineering
  3. Report on Data Stores progress and mitigate risks

Sissi Yao

Tenant Scale Engineering Manager
  1. Status updates of Tenant Scale workstreams
  2. Mitigate risks
  3. Collaborate with Tenant Scale Product Manager on Organizations and Cells projects

Joshua Lambert

Director of Product Management
  1. Investment and staffing of Core Platform teams
  2. Liaison between project team and cross functional product managers and product leaders
  3. Escalation of product priorities competing with Cells
  4. Decision maker for supported and un-supported features for each iteration of Cells

Christina Lohr

Tenant Scale Product Manager
  1. Product definition, requirements, roadmap for Organization workstream within Tenant Scale
  2. Product definition, requirements, roadmap for Cells workstreams within Tenant Scale
  3. Point of contact to collaborate with product managers from other teams
  4. Investment and staffing of Tenant Scale

Darby Frey

Staff Fullstack Engineer, Expansion

DRI of Expansion Software Development

Workstreams

Work stream

Engineering DRI

PM DRI

TPM DRI

Application's Cell readiness

Kamil Trzciński

Josh Lambert

Ethan Guo

Organization for Cells

Alex Pooley

Christina Lohr

Ethan Guo

Architecture

Kamil Trzciński

Josh Lambert

Ethan Guo

Cells Services (includes Router and Topology services)

Thong Kuah

Christina Lohr

Ethan Guo

Cell lifecycle automation and management

Steve Xuereb

Christina Lohr

Ethan Guo

Observability

Rachel Nienaber

Christina Lohr

Ethan Guo

Application Deployment

Dave Smith

Sam Wiskow

Ethan Guo

Production readiness

Chun Du

Josh Lambert

Ethan Guo

Operations

Rick Mar

Josh Lambert

Ethan Guo

Performance validation of Cells

Andy Hohenner

Christina Lohr

Ethan Guo

Cells 1.0

All Cells 1.0 work is tracked under the Cells 1.0 Epic. The Epic is split into multiple phases where each one represents a iteration to achieve Cells 1.0. Some of these phases have dependencies over one another, and some can be run in parallel.

Phase 1: PreQA Cell

Exit Criteria:

  • New GCP organizations created.
  • Break glass procedure.
  • Ring definition exists.
  • Cell provisioned using dedicated stack.
  • Able to do configuration changes to Cell.
  • Cell available at xxx.cells.gitlab.com.
  • Cell doesn’t handle data uniqueness.

phase-1

source

Unblocks:

  • Phase 3: To provision runway deployment for Topology Service
  • Delivery team: Start testing deploys on rings

Dependencies:

  • None

Epic:

Phase 2: GitLab.com HTTPS Passthrough Proxy

Exit Criteria:

  • 100% of API traffic goes through router using passthrough proxy rule.
  • 100% of Web traffic goes through router using passthrough proxy rule.
  • 100% of Git HTTPS traffic goes through router using passthrough proxy rule.
  • Requests meet latency target
  • registry.gitlab.com not proxied.

phase-2

source

Unblocks:

  • Phase 3: Router to be configured with additional rules in phase 3.

Dependencies:

  • None

Epic:

Phase 3: GitLab.com HTTPS Session Routing

Exit Criteria:

  • PreQA Cell configured to generate _gitlab_session with prefix using rails config.
  • Route _gitlab_session with matching prefix to PreQA Cell using TopologyService::Classify (REST only) with static config file.
  • Continuous Delivery on Ring 0 with no rollback capabilities and doesn’t block production deployments.
  • Topology Service Readiness Review for Experiment
  • Topology Service gRPC endpoint not implemented.

Unblocks:

Before/After:

phase-3

source

Dependencies:

  • Phase 2: Passthrough proxy needs to be deployed.
  • Phase 1: GCP organizations, Ring definition exists.

Epic:

Phase 4: GitLab.com HTTPS Token Routing

Exit Criteria:

  • Framework to generate routable tokens in Rails.
  • Framework to classify routable tokens in HTTP Router.
  • Topology Service being able to classify based on more criteria.
  • Route Personal Access Tokens to different Cells using TopologyService::Classify.
  • Support PRIVATE-TOKEN: and Authorization: HTTP headers for Personal Access Tokens, create issues for other to be solved in following phases.
  • Each routing rule added should be covered with relevant e2e tests.
  • Route Job Tokens and Runner Registration to different Cells using TopologyService::Classify.

Before/After:

phase-4

source

Epic:

Communication

Slack Channels

Meetings

Status updates

Additional Information

Cells Fast Boot 2024

We held a Cells Fast Boot in Dublin, Ireland, between 2024-04-23 and 2024-04-24. Below are the artifacts from the event.

Agenda, Slides, and Videos

Please use the Unfiltered Google account to watch video recordings.

  1. Main agenda (internal only)
  2. Introductions, overview, and logistics: Agenda (internal only)
  3. Cells Services - Global Service: Agenda (internal only), Slides (internal only), Video (internal only)
  4. Cells Services - Routing: Agenda (internal only), Slides (internal only), Video (internal only)
  5. Application Readiness - Organizations and Users: Agenda (internal only)
  6. Application Readiness - Dependencies and OKR alignments: Agenda (internal only)
  7. Deployment: Agenda (internal only), Slides (internal only), Video (internal only)
  8. Provisioning: Agenda (internal only)
  9. Observability and Runners: Agenda (internal only)
  10. Security: Agenda (internal only), Slides (internal only), Video (internal only)
  11. Disaster Recovery: Agenda (internal only), Slides (internal only), Video (internal only)
  12. Cells Mover and Isolation: Agenda (internal only)
  13. Scalability Headroom and Timeline: Agenda (internal only)

Decisions

  1. No external customers on Cells 1.0, internal dogfooding only. Cells 1.x is the target to onboard new or existing external customers.

Artifacts

  1. Day 1 recording: Part 1 (internal only), Part 2 (internal only)
  2. Day 2 recording (internal only)
  3. Database breakout recording (internal only)
  4. Organizations breakout recording (internal only)

Test Platform in Cells
Cells is a project that spans the entirety of GitLab. Instead of recreating feature testing done by the other teams, we will reuse and leverage what exists currently and supplement to fill in gaps. This approach has the following requirements: It must feed back useful information to the engineering teams in an efficient, non burdensome way It must provide good coverage so we have confidence to release It must be easy to add/enhance/change tests It works with our current process Strategy The testing strategy for Cells follows our practice of testing at the correct level.
Last modified July 22, 2024: Refine Cells 1.0 Phases (8b8aa7b4)