Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for NetworkLatencies (0.18 sec)

  1. pkg/test/loadbalancersim/mesh/mesh.go

    	"istio.io/istio/pkg/test/loadbalancersim/network"
    	"istio.io/istio/pkg/test/loadbalancersim/timer"
    )
    
    type RouteKey struct {
    	Src  locality.Instance
    	Dest locality.Instance
    }
    
    type Settings struct {
    	NetworkLatencies map[RouteKey]time.Duration
    }
    
    type Instance struct {
    	nodes    Nodes
    	clients  []*Client
    	s        Settings
    	networkQ *timer.Queue
    }
    
    func New(s Settings) *Instance {
    	return &Instance{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jan 27 20:55:37 UTC 2022
    - 2.3K bytes
    - Viewed (0)
  2. pkg/test/loadbalancersim/lb_test.go

    	sameRegion := locality.Parse("us-east/boston")
    	otherRegion := locality.Parse("asia-east/hongkong")
    	priorityWeights := map[uint32]uint32{
    		0: 30,
    		1: 20,
    		2: 1,
    	}
    	networkLatencies := map[mesh.RouteKey]time.Duration{
    		{
    			Src:  sameZone,
    			Dest: sameZone,
    		}: 1 * time.Millisecond,
    		{
    			Src:  sameZone,
    			Dest: sameRegion,
    		}: 10 * time.Millisecond,
    		{
    			Src:  sameZone,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 19 23:29:30 UTC 2022
    - 11K bytes
    - Viewed (0)
Back to top