Remove Class Remove Demand Remove Java
article thumbnail

One million HTTP RPS without load balancing is easy

TechEmpower

Undertow is the lightweight Java web application server used in WildFly. Here''s the code we used for this test: public class ByteHandler implements HttpHandler { private static final String aByte = "a"; @Override public void handleRequest(HttpServerExchange exchange). It just happens to be quite quick at HTTP. send(aByte); } }.

EC2 514
article thumbnail

EnumSet and EnumMap

TechEmpower

from Java's standard libraries. private static E [] getUniverse ( Class elementType ) {. There is a single backing array instance of those Month constants living in memory somewhere ( a private field in the Class object for Month ), but it wouldn't be safe to pass that array directly to every caller of values(). What are they?

Java 330