Skip to content

Configuration Deep Dive #29

@FumingPower3925

Description

@FumingPower3925

Depends on #5.

Configuration Deep Dive

  • Resource presets and their defaults.
  • Objective parameters (latency, throughput, balanced) and how they affect engine behavior.
  • Validation rules for config fields.
  • Environment-based configuration patterns.

New fields to document (v1.0.0)

  • MaxConcurrentStreams — H2 streams per connection (default 100)
  • MaxFrameSize — H2 frame payload size (default 16384)
  • InitialWindowSize — H2 stream window (default 65535)
  • MaxHeaderBytes — header block size (default 16 MB)
  • DisableKeepAlive — disable HTTP keep-alive
  • BufferSize — per-connection I/O buffer
  • SocketRecvBuf — SO_RCVBUF
  • SocketSendBuf — SO_SNDBUF
  • MaxConns — max connections per worker
  • DisableMetrics — opt out of observe.Collector
  • ShutdownTimeout — graceful shutdown deadline (default 30s)
  • MaxFormSize — max form body size

Note: Overload configuration has been moved to goceleris/middlewares/overload.

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