Skip to content

High latency. #24

@axot

Description

@axot

I tested this version in our large scale load test. Compare to original twitter/latency, it represents unstable high latency and caused many timeouts.

The config is same as when we using original one’s except the global section.

1 global:                                                                                                                
  2   worker_processes: 2         # num of workers, fallback to single process model while worker_processes is 0           
  3   max_openfiles: 102400       # max num of open files in every worker process                                          
  4   user: twemproxy             # user of worker's process, master process should be setup with root                     
  5   group: twemproxy            # group of worker's process                                                              
  6   worker_shutdown_timeout: 30 # terminate the old worker after worker_shutdown_timeout, unit is second                 
  7 pools:                                                                                                                 
  8   test:                                                                                                             
  9     redis: true                                                                                                        
 10     listen: 127.0.0.1:6379                                                                                        
 11     hash: fnv1a_64                                                                                                     
 12     distribution: ketama                                                                                               
 13     timeout: 400                                                                                                       
 14     backlog: 1024                                                                                                      
 15     preconnect: false                                                                                                  
 16     auto_eject_hosts: true                                                                                             
 17     server_retry_timeout: 2000                                                                                         
 18     server_failure_limit: 3                                                                                            
 19     server_connections: 1                                                                                              

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions