Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

High Availability Requirement for Greenlight Deployment #6171

Open
@rautniraj

Description

Hello everyone,

We have a new requirement to run Greenlight in a high-availability (HA) setup.

Current Setup - We currently run the following containers on a single machine:

  • Greenlight
  • Redis
  • PostgreSQL

This setup introduces a critical risk - if the machine goes down, all running containers become unavailable, directly affecting our uptime.


New Requirement

We need a solution that ensures:

  1. 2–3 machines are always available as part of the Greenlight deployment.
  2. A load balancer sits in front of the application.
  3. If one VM becomes unavailable, the system should automatically -
    • Route traffic to another healthy VM.
    • Start/recover the required containers on that VM.

This configuration should allow us to maintain service uptime even during machine failures.


Assumptions

Database data is stored on an NFS-backed storage, which is assumed to have continuous availability. Because of this, DB data replication is not required.


Proposed Approach

We are considering implementing Docker Swarm mode to orchestrate the containers across multiple machines and provide failover capabilities.


Request for Input

I would appreciate everyone’s thoughts, suggestions, or alternative approaches for setting up a high-availability architecture for Greenlight.

Thank you,
Niraj

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

        AltStyle によって変換されたページ (->オリジナル) /