Jagger
 All Classes Namespaces Files Functions Variables Enumerator Groups Pages
Load balancers (Distributors)

Distributors provide pairs of endpoints and queries for invokers
Before start of the test distributor is combining all endpoints and queries according to user setup and stores these combination in internal list. More...

Classes

interface  com.griddynamics.jagger.invoker.LoadBalancer< Q, E >
 An object which provides pairs of queries and endpoints for Invoker. More...
 
class  com.griddynamics.jagger.invoker.OneByOneLoadBalancer< Q, E >
 Schedules queries across endpoints one by one. More...
 
class  com.griddynamics.jagger.invoker.PairSupplierFactoryLoadBalancer< Q, E >
 
class  com.griddynamics.jagger.invoker.QueryPoolLoadBalancer< Q, E >
 LoadBalancer which uses query and endpoint provider. More...
 
class  com.griddynamics.jagger.invoker.RandomLoadBalancer< Q, E >
 Randomly selects pairs of Q and E. More...
 
class  com.griddynamics.jagger.invoker.RoundRobinLoadBalancer< Q, E >
 Encapsulates Round-Robin algorithm. More...
 
class  com.griddynamics.jagger.invoker.SimpleCircularLoadBalancer< Q, E >
 Circularly selects pairs of Q and E. More...
 
class  com.griddynamics.jagger.invoker.SimpleLoadBalancer< Q, E >
 Contains only one query and endpoint. More...
 

Detailed Description

Distributors provide pairs of endpoints and queries for invokers
Before start of the test distributor is combining all endpoints and queries according to user setup and stores these combination in internal list.


Important: mentioned list is shared by all threads that produce load. it is not possible to have separate list per workload thread
Before every invoke distributor is providing single pair of endpoint / query to invoker

Access SUT with random order of endpoint / query pairs

Pairs of endpoint / query are collected into list single time during Jagger start up. By default all threads are accessing elements of the mentioned list in the same order: from first element to the last, doing this in cycle. If it is necessary to execute endpoint / query pairs in random order, TODO Java based configuration requires better setup of the load balancers (build in and custom) JFG-1063

jagger_random_query_distribution.png
Access SUT with random order of endpoint / query pairs