Skip to content

discuss: set maximum limit to avoid memory issue when burst requests #12628

Description

@juzhiyuan

Current Behavior

If APISIX receives a burst requests over a short period of time, the APISIX Batch Processor may lead to memory pressure because it doesn't support to set a maximum queues capacity limit.

Expected Behavior

Allow to set the queue capacity limit to avoid burst requests causing memory issues.

Error Logs

No response

Steps to Reproduce

N/A

Environment

  • APISIX version (run apisix version): 3.13

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    Status
    ✅ Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions