SYMBOL INDEX (87 symbols across 22 files) FILE: implementations/java/consistent_hashing/ConsistentHashing.java class ConsistentHashing (line 7) | public class ConsistentHashing { method ConsistentHashing (line 12) | public ConsistentHashing(List servers, int numReplicas) { method hash (line 23) | private long hash(String key) { method addServer (line 37) | public void addServer(String server) { method removeServer (line 45) | public void removeServer(String server) { method getServer (line 54) | public String getServer(String key) { method main (line 69) | public static void main(String[] args) { FILE: implementations/java/load_balancing_algorithms/IPHash.java class IPHash (line 3) | public class IPHash { method IPHash (line 6) | public IPHash(List servers) { method getNextServer (line 10) | public String getNextServer(String clientIp) { method main (line 16) | public static void main(String[] args) { FILE: implementations/java/load_balancing_algorithms/LeastConnections.java class LeastConnections (line 5) | public class LeastConnections { method LeastConnections (line 8) | public LeastConnections(List servers) { method getNextServer (line 15) | public String getNextServer() { method releaseConnection (line 22) | public void releaseConnection(String server) { method main (line 26) | public static void main(String[] args) { FILE: implementations/java/load_balancing_algorithms/LeastResponseTime.java class LeastResponseTime (line 5) | public class LeastResponseTime { method LeastResponseTime (line 9) | public LeastResponseTime(List servers) { method getNextServer (line 16) | public String getNextServer() { method updateResponseTime (line 28) | public void updateResponseTime(String server, double responseTime) { method simulateResponseTime (line 33) | public static double simulateResponseTime(String server) { method main (line 45) | public static void main(String[] args) { FILE: implementations/java/load_balancing_algorithms/RoundRobin.java class RoundRobin (line 4) | public class RoundRobin { method RoundRobin (line 8) | public RoundRobin(List servers) { method getNextServer (line 13) | public String getNextServer() { method main (line 18) | public static void main(String[] args) { FILE: implementations/java/load_balancing_algorithms/WeightedRoundRobin.java class WeightedRoundRobin (line 3) | public class WeightedRoundRobin { method WeightedRoundRobin (line 9) | public WeightedRoundRobin(List servers, List weights) { method getNextServer (line 16) | public String getNextServer() { method getMaxWeight (line 31) | private int getMaxWeight() { method main (line 35) | public static void main(String[] args) { FILE: implementations/java/rate_limiting/FixedWindowCounter.java class FixedWindowCounter (line 5) | public class FixedWindowCounter { method FixedWindowCounter (line 11) | public FixedWindowCounter(long windowSizeInSeconds, long maxRequestsPe... method allowRequest (line 18) | public synchronized boolean allowRequest() { FILE: implementations/java/rate_limiting/LeakyBucket.java class LeakyBucket (line 7) | public class LeakyBucket { method LeakyBucket (line 13) | public LeakyBucket(long capacity, double leakRate) { method allowRequest (line 20) | public synchronized boolean allowRequest() { method leak (line 30) | private void leak() { FILE: implementations/java/rate_limiting/SlidingWindowCounter.java class SlidingWindowCounter (line 5) | public class SlidingWindowCounter { method SlidingWindowCounter (line 12) | public SlidingWindowCounter(long windowSizeInSeconds, long maxRequests... method allowRequest (line 20) | public synchronized boolean allowRequest() { FILE: implementations/java/rate_limiting/SlidingWindowLog.java class SlidingWindowLog (line 7) | public class SlidingWindowLog { method SlidingWindowLog (line 12) | public SlidingWindowLog(long windowSizeInSeconds, long maxRequestsPerW... method allowRequest (line 18) | public synchronized boolean allowRequest() { FILE: implementations/java/rate_limiting/TokenBucket.java class TokenBucket (line 5) | public class TokenBucket { method TokenBucket (line 11) | public TokenBucket(long capacity, double fillRate) { method allowRequest (line 18) | public synchronized boolean allowRequest(int tokens) { method refill (line 29) | private void refill() { FILE: implementations/python/consistent_hashing/consistent-hashing.py class ConsistentHashing (line 4) | class ConsistentHashing: method __init__ (line 5) | def __init__(self, servers, num_replicas=3): method _hash (line 21) | def _hash(self, key): method add_server (line 25) | def add_server(self, server): method remove_server (line 38) | def remove_server(self, server): method get_server (line 49) | def get_server(self, key): FILE: implementations/python/load_balancing_algorithms/ip_hash.py class IPHash (line 3) | class IPHash(): method __init__ (line 4) | def __init__(self, servers): method get_next_server (line 7) | def get_next_server(self, client_ip): FILE: implementations/python/load_balancing_algorithms/least_connections.py class LeastConnections (line 3) | class LeastConnections: method __init__ (line 4) | def __init__(self, servers): method get_next_server (line 7) | def get_next_server(self): method release_connection (line 17) | def release_connection(self, server): FILE: implementations/python/load_balancing_algorithms/least_response_time.py class LeastResponseTime (line 4) | class LeastResponseTime: method __init__ (line 5) | def __init__(self, servers): method get_next_server (line 9) | def get_next_server(self): method update_response_time (line 14) | def update_response_time(self, server, response_time): function simulate_response_time (line 19) | def simulate_response_time(): FILE: implementations/python/load_balancing_algorithms/round_robin.py.py class RoundRobin (line 1) | class RoundRobin: method __init__ (line 2) | def __init__(self, servers): method get_next_server (line 6) | def get_next_server(self): FILE: implementations/python/load_balancing_algorithms/weighted_round_robin.py class WeightedRoundRobin (line 1) | class WeightedRoundRobin: method __init__ (line 2) | def __init__(self, servers, weights): method get_next_server (line 8) | def get_next_server(self): FILE: implementations/python/rate_limiting/fixed_window_counter.py class FixedWindowCounter (line 3) | class FixedWindowCounter: method __init__ (line 4) | def __init__(self, window_size, max_requests): method allow_request (line 10) | def allow_request(self): FILE: implementations/python/rate_limiting/leaky_bucket.py class LeakyBucket (line 4) | class LeakyBucket: method __init__ (line 5) | def __init__(self, capacity, leak_rate): method allow_request (line 11) | def allow_request(self): FILE: implementations/python/rate_limiting/sliding_window_counter.py class SlidingWindowCounter (line 3) | class SlidingWindowCounter: method __init__ (line 4) | def __init__(self, window_size, max_requests): method allow_request (line 11) | def allow_request(self): FILE: implementations/python/rate_limiting/sliding_window_log.py class SlidingWindowLog (line 4) | class SlidingWindowLog: method __init__ (line 5) | def __init__(self, window_size, max_requests): method allow_request (line 10) | def allow_request(self): FILE: implementations/python/rate_limiting/token_bucket.py class TokenBucket (line 3) | class TokenBucket: method __init__ (line 4) | def __init__(self, capacity, fill_rate): method allow_request (line 10) | def allow_request(self, tokens=1):