Skip to content

dreamph/zero-downtime-deploy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Zero Downtime Deploy

Install Tools

go install github.com/go-task/task/v3/cmd/task@latest
go install github.com/tsliwowicz/go-wrk@latest

Build

cd sourcecode/zrdt
docker compose -f docker-compose.build.yml build

Deploy

cd app/zrdt
task deploy

Test Call Api

go-wrk -c 5 -d 30 http://localhost:3001/apis/

ReDeploy Again

cd app/zrdt
task deploy

Test Call Api -> Result (Number of Errors: 0)

go-wrk -c 5 -d 30 http://localhost:3001/apis/
Running 30s test @ http://localhost:3001/apis/
5 goroutine(s) running concurrently
344064 requests in 29.920196008s, 69.23MB read
Requests/sec:		11499.39
Transfer/sec:		2.31MB
Avg Req Time:		434.805µs
Fastest Request:	163.167µs
Slowest Request:	11.768541ms
Number of Errors:	0

Buy Me a Coffee

"Buy Me A Coffee"

About

Zero Downtime Deploy with Nginx

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published