├── .gitignore ├── .travis.yml ├── Dockerfile ├── LICENSE ├── Makefile ├── _config.yml ├── assets ├── .DS_Store ├── application_metrics.png ├── goRubu.png ├── prometheus_graph.png ├── prometheus_targets.png └── system_metrics.png ├── benchmarking ├── benchmarking.md └── url_redirection_graph.png ├── cache └── cacheConnection.go ├── daos └── mainDao.go ├── database └── dbConnection.go ├── docker-compose.yml ├── frequent_commands.md ├── go.mod ├── go.sum ├── handlers └── route.go ├── httpScaling ├── loadtesting ├── benchmarking.md ├── load_test_shorten_url.js └── load_test_url_redirection.js ├── main.go ├── middlewares ├── basicMiddleware.go └── checkKeyMiddleware.go ├── models └── mainModel.go ├── prometheus.yml ├── readme.md ├── scripts ├── build.sh └── build_docker.sh ├── services └── mainService.go ├── tests └── main_test.go └── variables.env /.gitignore: -------------------------------------------------------------------------------- 1 | .* 2 | !/.gitignore 3 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rv404674/goRubu/HEAD/.travis.yml -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rv404674/goRubu/HEAD/Dockerfile -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rv404674/goRubu/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rv404674/goRubu/HEAD/Makefile -------------------------------------------------------------------------------- /_config.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rv404674/goRubu/HEAD/_config.yml -------------------------------------------------------------------------------- /assets/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rv404674/goRubu/HEAD/assets/.DS_Store -------------------------------------------------------------------------------- /assets/application_metrics.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rv404674/goRubu/HEAD/assets/application_metrics.png -------------------------------------------------------------------------------- /assets/goRubu.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rv404674/goRubu/HEAD/assets/goRubu.png -------------------------------------------------------------------------------- /assets/prometheus_graph.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rv404674/goRubu/HEAD/assets/prometheus_graph.png -------------------------------------------------------------------------------- /assets/prometheus_targets.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rv404674/goRubu/HEAD/assets/prometheus_targets.png -------------------------------------------------------------------------------- /assets/system_metrics.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rv404674/goRubu/HEAD/assets/system_metrics.png -------------------------------------------------------------------------------- /benchmarking/benchmarking.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rv404674/goRubu/HEAD/benchmarking/benchmarking.md -------------------------------------------------------------------------------- /benchmarking/url_redirection_graph.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rv404674/goRubu/HEAD/benchmarking/url_redirection_graph.png -------------------------------------------------------------------------------- /cache/cacheConnection.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rv404674/goRubu/HEAD/cache/cacheConnection.go -------------------------------------------------------------------------------- /daos/mainDao.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rv404674/goRubu/HEAD/daos/mainDao.go -------------------------------------------------------------------------------- /database/dbConnection.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rv404674/goRubu/HEAD/database/dbConnection.go -------------------------------------------------------------------------------- /docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rv404674/goRubu/HEAD/docker-compose.yml -------------------------------------------------------------------------------- /frequent_commands.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rv404674/goRubu/HEAD/frequent_commands.md -------------------------------------------------------------------------------- /go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rv404674/goRubu/HEAD/go.mod -------------------------------------------------------------------------------- /go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rv404674/goRubu/HEAD/go.sum -------------------------------------------------------------------------------- /handlers/route.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rv404674/goRubu/HEAD/handlers/route.go -------------------------------------------------------------------------------- /httpScaling: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rv404674/goRubu/HEAD/httpScaling -------------------------------------------------------------------------------- /loadtesting/benchmarking.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rv404674/goRubu/HEAD/loadtesting/benchmarking.md -------------------------------------------------------------------------------- /loadtesting/load_test_shorten_url.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rv404674/goRubu/HEAD/loadtesting/load_test_shorten_url.js -------------------------------------------------------------------------------- /loadtesting/load_test_url_redirection.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rv404674/goRubu/HEAD/loadtesting/load_test_url_redirection.js -------------------------------------------------------------------------------- /main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rv404674/goRubu/HEAD/main.go -------------------------------------------------------------------------------- /middlewares/basicMiddleware.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rv404674/goRubu/HEAD/middlewares/basicMiddleware.go -------------------------------------------------------------------------------- /middlewares/checkKeyMiddleware.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rv404674/goRubu/HEAD/middlewares/checkKeyMiddleware.go -------------------------------------------------------------------------------- /models/mainModel.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rv404674/goRubu/HEAD/models/mainModel.go -------------------------------------------------------------------------------- /prometheus.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rv404674/goRubu/HEAD/prometheus.yml -------------------------------------------------------------------------------- /readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rv404674/goRubu/HEAD/readme.md -------------------------------------------------------------------------------- /scripts/build.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rv404674/goRubu/HEAD/scripts/build.sh -------------------------------------------------------------------------------- /scripts/build_docker.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | docker-compose up 3 | -------------------------------------------------------------------------------- /services/mainService.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rv404674/goRubu/HEAD/services/mainService.go -------------------------------------------------------------------------------- /tests/main_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rv404674/goRubu/HEAD/tests/main_test.go -------------------------------------------------------------------------------- /variables.env: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rv404674/goRubu/HEAD/variables.env --------------------------------------------------------------------------------