Contents Menu Expand Light mode Dark mode Auto light/dark, in light mode Auto light/dark, in dark mode Skip to content
Flower Framework
Light Logo Dark Logo
main

튜토리얼

  • 연합 학습이란 무엇입니까?
  • Get started with Flower
  • Write your first Flower App
  • Write your first Flower App with PyTorch
  • Use a federated learning strategy
  • Customize a Flower Strategy
  • Communicate custom Messages
  • 빠른 시작 튜토리얼
    • Quickstart PyTorch
    • Quickstart TensorFlow
    • Quickstart MLX
    • Quickstart 🤗 Transformers
    • Quickstart JAX
    • Quickstart Pandas
    • Quickstart fastai
    • Quickstart PyTorch Lightning
    • Quickstart scikit-learn
    • Quickstart XGBoost
    • Quickstart Android
    • Quickstart iOS

How-to Guides

  • Build
    • Flower 설치
    • Configure pyproject.toml
    • Configure a ClientApp
    • Design stateful ClientApps
    • 전략 사용하기
    • 전략 구현
    • 종합 평가 결과
    • Save and load model checkpoints
    • 기본 제공 모드 사용
    • 차분 개인정보 보호 사용
    • Implement FedBN
    • Use CLI JSON output
    • Install Flower App dependencies at runtime
    • OpenFL Migration Guide
    • Flower 1.0으로 업그레이드
    • Upgrade to Flower 1.13
    • Upgrade to Message API
    • Upgrade to Flower 1.28
  • Simulate
    • Run Flower Locally with a Managed SuperLink
    • Run simulations
  • Deploy
    • Run Flower with the Deployment Runtime
    • Enable TLS connections
    • SuperNodes 인증하기
    • Configure logging
    • Run Flower on GCP
    • Run Flower on Azure
    • Run Flower on Red Hat OpenShift
    • Run Flower on Multiple OpenShift Clusters
    • Authenticate Accounts via OpenID Connect
    • Configure Audit Logging
    • Manage Flower Federations
    • Docker를 사용하여 Flower 실행
      • Quickstart with Docker
      • Enable TLS for Secure Connections
      • Persist the State of the SuperLink
      • Set Environment Variables
      • Run with Root User Privileges
      • Run ServerApp or ClientApp as a Subprocess
      • Pin a Docker Image to a Specific Version
      • Use a Different Flower Version
      • Quickstart with Docker Compose
      • Run Flower Quickstart Examples with Docker Compose
      • Deploy Flower on Multiple Machines with Docker Compose
    • Run Flower using Helm
      • Deploy SuperLink
      • Deploy SuperNode
    • Create and Manage Federations on SuperGrid
    • Connect SuperNodes to SuperGrid
    • Run Flower Apps on SuperGrid

설명

  • 연합 평가
  • 차등 프라이버시
  • Secure Aggregation 프로토콜
  • Flower 아키텍처
  • SuperLink High Availability Mode
  • Flower Strategy Abstraction

참조

  • Reference
    • flwr
      • agentapp
        • AgentApp
        • AgentResponses
        • AgentSession
        • LoadAgentAppError
      • app
        • 배열
        • ArrayRecord
        • ConfigRecord
        • 컨텍스트
        • 오류
        • Message
        • MessageType
        • Metadata
        • MetricRecord
        • RecordDict
      • clientapp
        • 클라이언트앱
        • mod
          • adaptiveclipping_mod
          • arrays_size_mod
          • fixedclipping_mod
          • message_size_mod
          • LocalDpMod
      • serverapp
        • Grid
        • ServerApp
        • strategy
          • Bulyan
          • DifferentialPrivacyClientSideAdaptiveClipping
          • DifferentialPrivacyClientSideFixedClipping
          • DifferentialPrivacyServerSideAdaptiveClipping
          • DifferentialPrivacyServerSideFixedClipping
          • FedAdagrad
          • FedAdam
          • FedAvg
          • FedAvgM
          • FedMedian
          • FedProx
          • FedTrimmedAvg
          • FedXgbBagging
          • FedXgbCyclic
          • FedYogi
          • Krum
          • MultiKrum
          • QFedAvg
          • Result
          • Strategy
    • Flower CLI reference
    • Flower Configuration
    • Example projects
    • Telemetry
    • Changelog
    • Flower Runtime Comparison
    • Flower Network Communication
    • Exit Codes
      • [0] SUCCESS
      • [1] GRACEFUL_EXIT_SIGINT
      • [100] SUPERLINK_THREAD_CRASH
      • [101] SUPERLINK_LICENSE_INVALID
      • [102] SUPERLINK_LICENSE_MISSING
      • [103] SUPERLINK_LICENSE_URL_INVALID
      • [104] SUPERLINK_INVALID_ARGS
      • [105] SUPERLINK_DATABASE_SCHEMA_MISMATCH
      • [2] GRACEFUL_EXIT_SIGQUIT
      • [200] SERVERAPP_STRATEGY_PRECONDITION_UNMET
      • [201] SERVERAPP_EXCEPTION
      • [202] SERVERAPP_STRATEGY_AGGREGATION_ERROR
      • [203] SERVERAPP_RUN_START_REJECTED
      • [250] CLIENTAPP_COMMUNICATION_ERROR
      • [3] GRACEFUL_EXIT_SIGTERM
      • [300] SUPERNODE_REST_ADDRESS_INVALID
      • [302] SUPERNODE_NODE_AUTH_KEY_INVALID
      • [303] SUPERNODE_STARTED_WITHOUT_TLS_BUT_NODE_AUTH_ENABLED
      • [304] SUPERNODE_INVALID_TRUSTED_ENTITIES
      • [400] SUPEREXEC_INVALID_PLUGIN_CONFIG
      • [401] SUPEREXEC_AUTH_SECRET_LOAD_FAILED
      • [402] SUPEREXEC_INVALID_EXECUTOR_CONFIG
      • [500] FLWRCLI_NODE_AUTH_PUBLIC_KEY_INVALID
      • [600] COMMON_ADDRESS_INVALID
      • [601] COMMON_MISSING_EXTRA_REST
      • [602] COMMON_TLS_NOT_SUPPORTED
      • [603] COMMON_TLS_ROOT_CERTIFICATES_INCOMPATIBLE
      • [604] COMMON_PATH_INVALID
      • [605] COMMON_TLS_SERVER_CERTIFICATES_INVALID
      • [606] RUNTIME_VERSION_INCOMPATIBLE
      • [607] COMMON_APP_IMPORT_ERROR
      • [608] COMMON_RUNTIME_DEPENDENCY_INSTALLATION_ERROR
      • [700] SIMULATION_EXCEPTION
      • [701] SIMULATION_MISSING_EXTRA
      • [800] TASK_PROC_EXCEPTION
    • 자주 묻는 질문

기여자 문서

  • Contribute
    • GitHub에서 기여하기
    • 기여자로 시작하기
    • 개발 버전 설치하기
    • 가상 환경 설정
    • VSCode Dev Container에서 개발
    • 문서 작성
    • Flower 릴리즈 하기
    • 번역 기여
    • How to Build Docker Flower Images Locally
    • Migrate Flower Database Schema
    • Public and private APIs
    • 훌륭한 첫 번째 기여
  • main
🇬🇧 🇫🇷 🇨🇳 🇰🇷
Back to top
View this page

SuperLink High Availability Mode¶

SuperLink High Availability Mode is an architecture for running SuperLink without a single SuperLink process acting as the only entry point for a federation. Instead, traffic is routed through a load balancer to multiple SuperLink replicas that share durable state in a PostgreSQL backend.

중요

SuperLink High Availability Mode is available in preview. To discuss production requirements or request preview access, contact the Flower team at enquiries@flower.ai.

This page describes the architecture at a high level. It is not a deployment guide.

Architecture¶

In a standard Deployment Runtime setup, callers and SuperNodes connect to one long-running SuperLink. In High Availability Mode, callers and SuperNodes connect to a stable load-balanced endpoint. The load balancer distributes requests across multiple SuperLink replicas. Each replica reads and writes shared state through the same PostgreSQL backend, so the replicas observe the same federation, run, node, message, and object state.

flowchart LR CLI["flwr CLI / SuperExec"] Nodes["SuperNodes"] LB["Load balancer"] SL1["SuperLink replica"] SL2["SuperLink replica"] SLN["SuperLink replica"] DB[("PostgreSQL backend")] CLI --> LB Nodes --> LB LB --> SL1 LB --> SL2 LB --> SLN SL1 --> DB SL2 --> DB SLN --> DB

The main components are:

  • Load balancer: exposes the stable SuperLink endpoint used by flwr CLI commands, SuperNodes, and SuperExec processes. It routes traffic only to healthy SuperLink replicas.

  • SuperLink replicas: run the same SuperLink service role in parallel. Any healthy replica can handle requests for the federation because state is externalized.

  • PostgreSQL backend: stores shared SuperLink state durably so replicas can observe the same runs, messages, node registrations, and object metadata.

  • SuperNodes and SuperExec: continue to connect to a SuperLink endpoint. They do not need to know which SuperLink replica handles an individual request.

Operational properties¶

High Availability Mode is designed to reduce the impact of losing an individual SuperLink process. If one SuperLink replica becomes unavailable, the load balancer can route new requests to another healthy replica while the shared PostgreSQL backend continues to provide the federation state.

This changes the deployment architecture of the SuperLink layer, but it does not change the Flower app programming model:

  • ServerApp and ClientApp code remains the same.

  • SuperNodes connect to the configured SuperLink endpoint, not to individual replicas.

  • Operators monitor and scale SuperLink replicas as part of the SuperGrid deployment.

  • The load balancer and PostgreSQL backend become critical infrastructure and must be operated with their own availability, backup, and monitoring strategy.

High Availability Mode should be understood as part of a production SuperGrid architecture. It improves resilience at the SuperLink layer, but end-to-end production availability still depends on the surrounding infrastructure, including load balancing, database availability, networking, authentication services, and application-level retry behavior.

Next
Flower Strategy Abstraction
Previous
Flower 아키텍처
Copyright © 2026 Flower Labs GmbH
Made with Sphinx and @pradyunsg's Furo
On this page
  • SuperLink High Availability Mode
    • Architecture
    • Operational properties