This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"basics": { | |
"name": "Mikhail Savin", | |
"label": "TechLead SRE / CTO / Practicing teacher", | |
"picture": "https://github.com/jtprogru.png", | |
"email": "[email protected]", | |
"website": "https://jtprog.ru", | |
"summary": "I have quite rich and versatile experience in the role of Infrastructure Engineer, SRE, Head of IT Division and Operations, CTO. I am a member of DevOpsConf program committee and a practicing teacher of RTU MIREA.", | |
"location": { | |
"city": "Moscow", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SHELL := /bin/bash | |
.SILENT: | |
.DEFAULT_GOAL := help | |
# Global vars | |
export SYS_GO=$(shell which go) | |
export SYS_GOFMT=$(shell which gofmt) | |
export SYS_DOCKER=$(shell which docker) | |
export BINARY_DIR=dist |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SHELL := /bin/bash | |
.SILENT: | |
.DEFAULT_GOAL := help | |
SYS_PY3=$(shell which python3) | |
VENV_DIR=./venv | |
VENV_PY3=$(VENV_DIR)/bin/python | |
VENV_PIP3=$(VENV_DIR)/bin/pip | |
.PHONY: venv |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"fmt" | |
"time" | |
) | |
func main() { | |
startTime := time.Now() | |
fmt.Println("Run -> Fib") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
- name: macOS | |
hosts: localhost | |
connection: local | |
become: false | |
gather_facts: true | |
vars: | |
macos_hostname: "cronus" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
- name: "Персональная базовая конфигурация окружения." | |
hosts: all:!localhost | |
become: true | |
vars: | |
sysops_employer: | |
name: "jtprogru" | |
pass: "!vault | | |
$ANSIBLE_VAULT;1.1;AES256 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
# -*- coding: utf-8 -*- | |
# Author: Michael Savin <[email protected]> | |
# WWW: https://jtprog.ru | |
import logging | |
import os | |
import subprocess | |
import sys |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SPC | |
SPC: find file | |
, switch buffer | |
. browse files | |
: MX | |
; EX | |
< switch buffer | |
` eval | |
u universal arg | |
x pop up scratch |
На этой странице описывается процесс настройки нагрузочного тестирования внешних ресурсов.
Для тестирования поведения сервиса под нагрузкой используется утилита Yandex Tank.
Танку можно указать патроны (HTTP-запросы, которые будут отправлены на целевой сервер) и расписание (количество запросов в секунду к целевому серверу в каждый момент времени стрельб, а также продолжительность стрельб). Также к танку можно подключить плагин мониторинга, позволяющий снимать показатели (например, количество свободной памяти или загрузку процессора) с целевого сервера.
NewerOlder