Skip to content

[Suggestion] Google Cloud Run streaming transcription microservice with health checks (Python) #321

Description

@deepgram-robot

What to build

A containerized streaming transcription microservice designed for Google Cloud Run, featuring WebSocket support for real-time STT, an HTTP endpoint for batch transcription, health check endpoints for Cloud Run's health monitoring, and a Dockerfile optimized for Cloud Run's concurrency model.

Why this matters

Google Cloud Run is one of the most popular container deployment platforms, with native WebSocket support and automatic scaling to zero. Developers deploying Deepgram-powered transcription services on GCP need a production-ready template that handles Cloud Run's specific requirements: request timeout configuration, concurrency settings, and health monitoring. No existing Deepgram example covers GCP container deployment, leaving a gap for the large GCP developer ecosystem.

Suggested scope

  • Language: Python (FastAPI)
  • Deepgram APIs: STT streaming (WebSocket), STT pre-recorded (REST)
  • Infrastructure: Dockerfile, Cloud Run deployment config (service.yaml), health check endpoints
  • Key patterns: WebSocket handling on Cloud Run, graceful shutdown, container health monitoring
  • Complexity: Moderate

Acceptance criteria

  • Runnable with minimal setup (clone, add API key, run)
  • README explains the pattern clearly
  • Uses current SDK version
  • Includes production-ready Dockerfile
  • Includes Cloud Run service.yaml deployment config
  • Health check endpoint compatible with Cloud Run monitoring
  • Documents Cloud Run-specific configuration (timeouts, concurrency, WebSocket support)

Raised by the DX intelligence system.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions