Class TpsLimitFilter

java.lang.Object
org.apache.dubbo.rpc.filter.TpsLimitFilter
All Implemented Interfaces:
BaseFilter, Filter

@Activate(group="provider", value="tps") public class TpsLimitFilter extends Object implements Filter
TpsLimitFilter limit the TPS (transaction per second) for all method of a service or a particular method. Service or method url can define tps or tps.interval to control this control.It use DefaultTPSLimiter as it limit checker. If a provider service method is configured with tps(optionally with tps.interval),then if invocation count exceed the configured tps value (default is -1 which means unlimited) then invocation will get RpcException.
  • Constructor Details

    • TpsLimitFilter

      public TpsLimitFilter()
  • Method Details