Skip to content

Add ConcurrencyLimitingService #6074

@ikhoon

Description

@ikhoon

ConcurrencyLimit will be useful on the server side to limit the current requests being handled.
However, we can't use ConcurrencyLimit on the server side because:

So we need to move ConcurrencyLimit to common package first and implement ConcurrencyLimitingService similar to ConcurrencyLimitingClient

package com.linecorp.armeria.common.limit;

public interface ConcurrencyLimit {
    CompletableFuture<SafeCloseable> acquire(RequestContext ctx);
}

Discord thread: https://discord.com/channels/1087271586832318494/1087272728177942629/1328988059827568752

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions