Commit 8d90d1e0 authored by KT315's avatar KT315

Reorg dummies. Start/stop scripts.

parent 8a3e5a6d
*.swp
go_dummy
fasthttp_dummy
\ No newline at end of file
*.swp
\ No newline at end of file
elixir 1.9.4-otp-22
erlang 22.1.8
\ No newline at end of file
erlang 22.2
java adopt-openjdk-13.0.1+9
maven 3.6.3
golang 1.13.5
nodejs 13.3.0
\ No newline at end of file
......@@ -22,6 +22,7 @@ defmodule Dummy.MixProject do
[
{:cowboy, "~> 2.7.0"}
# {:cowboy, git: "https://github.com/ninenines/cowboy.git", branch: "active_n"}
# {:cowlib, git: "https://github.com/ninenines/cowlib.git", branch: "faster-http2", override: true}
]
end
end
#!/bin/bash
ulimit -n 100000
./elixir_dummy/bin/elixir_dummy start > log 2>&1 &
\ No newline at end of file
#!/bin/bash
kill -9 $(./elixir_dummy/bin/elixir_dummy pid)
\ No newline at end of file
fasthttp_dummy
\ No newline at end of file
Build:
$ go get github.com/valyala/fasthttp
$ go build fasthttp_dummy.go
Run:
$ ./fasthttp_dummy
\ No newline at end of file
// Running:
// $ go run fasthttp_dummy.go
//
package main
import (
......
#!/bin/bash
ulimit -n 100000
./fasthttp_dummy > log 2>&1 &
echo $! > pid
\ No newline at end of file
#!/bin/bash
kill $(cat pid)
#!/bin/bash
ulimit -n 100000
java -cp ./rapidoid_dummy-1.0-SNAPSHOT-jar-with-dependencies.jar com.stressgrid.rapidoid.dummy.App production=true on.port=5000 on.address=0.0.0.0 > log 2>&1 &
echo $! > pid
\ No newline at end of file
#!/bin/bash
kill $(cat pid)
#!/bin/bash
ulimit -n 100000
node ./node_dummy.js > log 2>&1 &
echo $! > pid
\ No newline at end of file
#!/bin/bash
kill $(cat pid)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment