Remove Demand Remove Java Remove TechEmpower Remove Writing
article thumbnail

One million HTTP RPS without load balancing is easy

TechEmpower

But check out what they can do: techempower@lg01:~$ wrk -d 30 -c 256 -t 40 [link]. 40 threads and 256 connections Thread Stats Avg Stdev Max +/- Stdev Latency 247.05us 3.52ms 624.37ms 99.90% Req/Sec 27.89k 6.24k 50.22k 71.15% 31173283 requests in 29.99s, 3.83GB read Socket errors: connect 0, read 0, write 0, timeout 9 Requests/sec: 1039305.27

EC2 514
article thumbnail

EnumSet and EnumMap

TechEmpower

from Java's standard libraries. Historically, Enum{Set,Map} were recommended as a matter of safety, taking better advantage of Java's type system than the alternatives. Effective Java goes into detail about this use case for Enum{Set,Map} and enum types in general. This article discusses java.util.EnumSet. and java.util.EnumMap.

Java 330