As configured in my dotfiles.
start new with session name:
For this configuration you can use web server you like, i decided, because i work mostly with it to use nginx.
Generally, properly configured nginx can handle up to 400K to 500K requests per second (clustered), most what i saw is 50K to 80K (non-clustered) requests per second and 30% CPU load, course, this was
2 x Intel Xeon with HyperThreading enabled, but it can work without problem on slower machines.
You must understand that this config is used in testing environment and not in production so you will need to find a way to implement most of those features best possible for your servers.
|CreationTimestamp: Sun, 20 Aug 2017 15:41:35 -0700|
|Replicas: 1 desired | 1 updated | 1 total | 1 available | 0 unavailable|
|RollingUpdateStrategy: 1 max unavailable, 1 max surge|
|// Name our lexer (the name must match the filename)|
|lexer grammar ScriptLexer;|
|// Define string values - either unquoted or quoted|
|STRING : ('a'..'z'|'A'..'Z'|'0'..'9'|'_'|'@')+ ||
|('"' (~('"' | '\\' | '\r' | '\n') | '\\' ('"' | '\\'))* '"') ;|
|// Skip all spaces, tabs, newlines|
|WS : [ \t\r\n]+ -> skip ;|