Skip to content

Latest commit

 

History

History
24 lines (15 loc) · 1002 Bytes

README.md

File metadata and controls

24 lines (15 loc) · 1002 Bytes

Join the chat at https://gitter.im/scalecube-js/Lobby

This is part of scalecube-js project, see more at https://github.com/scalecube/scalecube-js
Full documentation

Index

Index is responsible for picking the right Item from a Item[].

Default

Pick the first available item. This is very good option for monolith (When all the services are one the same microservice instance) applications built with scalecube

RetryRouter

Pick the first available item, Retry if service not found
period- interval between retry, maxRetry- how much retries before giving up
This is the prefer behavior for browsers

RoundRobin

Pick the next item from a list of available items.
This is very common router for servers