(from Understanding Nginx Server and Location Block Selection Algorithms - https://goo.gl/YyzshP)
server {
| # the following two lines give a two-line status, with the current window highlighted | |
| hardstatus alwayslastline | |
| hardstatus string '%{= kG}[%{G}%H%? %1`%?%{g}][%= %{= kw}%-w%{+b yk} %n*%t%?(%u)%? %{-}%+w %=%{g}][%{B}%m/%d %{W}%C%A%{g}]' | |
| # huge scrollback buffer | |
| defscrollback 5000 | |
| # no welcome message | |
| startup_message off |
| done = function(summary, latency, requests) | |
| -- open output file | |
| f = io.open("result.csv", "a+") | |
| -- write below results to file | |
| -- minimum latency | |
| -- max latency | |
| -- mean of latency | |
| -- standard deviation of latency | |
| -- 50percentile latency |
(from Understanding Nginx Server and Location Block Selection Algorithms - https://goo.gl/YyzshP)
server {
| group 'com.hipposoft' | |
| version = '1.0' | |
| apply plugin: 'java' | |
| apply plugin: 'scala' | |
| apply plugin: 'idea' | |
| sourceCompatibility = 1.8 | |
| targetCompatibility = 1.8 |
| systemLog: | |
| destination: file | |
| path: "D:/mongodb/log/mongodb.log" | |
| logAppend: true | |
| quiet : false | |
| storage: | |
| dbPath: "D:/mongodb/data" | |
| processManagement: | |
| windowsService: | |
| serviceName: "MongoDB" |
| buildscript { | |
| ext { | |
| springBootVersion = '1.2.5.RELEASE' | |
| } | |
| repositories { | |
| mavenCentral() | |
| } | |
| dependencies { | |
| classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}") | |
| classpath("io.spring.gradle:dependency-management-plugin:0.5.2.RELEASE") |
| { | |
| "cmd" : ["cmd", "/k", "gradle", "clean", "build"], | |
| "working_dir": "${project_path:${folder}}", | |
| } |
| group 'com.hipposoft' | |
| version = '1.0' | |
| apply plugin: 'java' | |
| apply plugin: 'groovy' | |
| apply plugin: 'idea' | |
| apply plugin: 'eu.appsatori.fatjar' | |
| sourceCompatibility = 1.7 | |
| targetCompatibility = 1.7 |