ScaleCube API Gateway is the single entry point for service consumers. handles incoming requests and proxy/route to the appropriate microservice instance.
Apache License 2.0
18
stars
7
forks
source link
Use NonBlockingHashMapLong instead of Map on websocket sessions #138
In io.scalecube.services.gateway.ws.WebsocketGatewaySession
line 27 private final Map<Long, Disposable> subscriptions = new NonBlockingHashMapLong<>(1024); change Map -> NonBlockingHashMapLong.
In io.scalecube.services.gateway.transport.websocket.WebsocketSession
lines 40-41 private final Map<Long, Processor<ServiceMessage, ServiceMessage>> inboundProcessors = new NonBlockingHashMapLong<>(1024); change Map -> NonBlockingHashMapLong.
In
io.scalecube.services.gateway.ws.WebsocketGatewaySession
line 27private final Map<Long, Disposable> subscriptions = new NonBlockingHashMapLong<>(1024);
change Map -> NonBlockingHashMapLong.In
io.scalecube.services.gateway.transport.websocket.WebsocketSession
lines 40-41private final Map<Long, Processor<ServiceMessage, ServiceMessage>> inboundProcessors = new NonBlockingHashMapLong<>(1024);
change Map -> NonBlockingHashMapLong.