4 'http://p2p-next-01.grid.pub.ro:31500/', \
5 'http://p2p-next-02.grid.pub.ro:31500/', \
6 'http://p2p-next-03.grid.pub.ro:31500/', \
7 'http://p2p-next-04.grid.pub.ro:31500/', \
8 'http://p2p-next-05.grid.pub.ro:31500/', \
9 'http://p2p-next-06.grid.pub.ro:31500/', \
10 'http://p2p-next-07.grid.pub.ro:31500/', \
11 'http://p2p-next-08.grid.pub.ro:31500/', \
12 'http://p2p-next-09.grid.pub.ro:31500/', \
13 'http://p2p-next-10.grid.pub.ro:31500/' \
15 # Web server's URL for content ingestion errors. P2P-Tube uses
16 # http://<site>/video/cis_error .
17 WS_ERROR = 'http://p2p-next.cs.pub.ro/devel/video/cis_error'
19 #import load_balancer.random_lb
20 import load_balancer.randomized_suboptimal_lb
21 #LOAD_BALANCER = load_balancer.random_lb.RandomLoadBalancer
22 LOAD_BALANCER = load_balancer.randomized_suboptimal_lb.RandomizedSuboptimalLoadBalancer
23 RANDOMIZED_SUBOPTIMAL_LB_K = 3
27 LOG_LEVEL = logger.LOG_LEVEL_DEBUG
29 # Number of threads which execute load balancing jobs through LBWorker class.
31 # Number of threads controlled by job which make HTTP requests.
32 # NOTE: Total number of threads is JOB_THREADS_COUNT * HTTP_THREADS_COUNT.
33 HTTP_THREADS_COUNT = 5