Skip to content

Optimize Soroban RPC Connection Pool #359

Description

@gabito1451

Context

Stellar RPC nodes can throttle excessive connections.

Problem

The backend creates new connection instances too frequently.

Suggested Execution

  • Implement a singleton pattern for the 'Stellar.Server' instance.
  • Add circuit breaker and fallback nodes.

Acceptance Criteria

  • Stable RPC connectivity.
  • Graceful degradation if primary node fails.

References

  • backend/src/stellar/rpc-client.service.ts

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions