Or how to turn this:
into this:
#!/bin/bash | |
#This script creates 1 master, 2 slaves and 3 sentinels services in docker swarm. | |
docker network create \ | |
--driver overlay \ | |
testes_network | |
SWARM_MASTER=192.168.205.125 | |
#Master |
На этой странице описывается процесс настройки нагрузочного тестирования внешних ресурсов.
Для тестирования поведения сервиса под нагрузкой используется утилита Yandex Tank.
Танку можно указать патроны (HTTP-запросы, которые будут отправлены на целевой сервер) и расписание (количество запросов в секунду к целевому серверу в каждый момент времени стрельб, а также продолжительность стрельб). Также к танку можно подключить плагин мониторинга, позволяющий снимать показатели (например, количество свободной памяти или загрузку процессора) с целевого сервера.
https://github.com/aancel/admin/wiki/VirtualGL-on-Ubuntu
https://virtualgl.org/About/Introduction
When you use ssh with X forwarding, you might have noticed that you cannot execute programs that require 3D acceleration. That's where VirtualGL comes into play.
Docker provides download links in release note. They promised that
(we) will also include download links in release notes for future releases.
Note:
consul.*.runtime.* | |
name="consul_runtime" | |
type="$2" | |
host="{{ inventory_hostname }}" | |
consul.runtime.total_gc_pause_ns | |
name="consul_runtime_total_gc_pause_ns" | |
type="$2" | |
host="{{ inventory_hostname }}" |
#!/usr/bin/env python | |
# -*- encoding: utf-8 -*- | |
## in order to cleanly shut down a node with running jobs, the node needs to be | |
## drained, and then we need to wait for allocations to be migrated away. in | |
## this script, we: | |
## * set up a watch for node-update evals for the current node | |
## * wait for allocations currently running to complete | |
## * wait for allocations from the watched evals to start running | |
## |
# after appcleaner does his magic, do this | |
sudo rm -rf "/Library/Application Support/Paragon Software/" | |
sudo rm /Library/LaunchDaemons/com.paragon-software.installer.plist | |
sudo rm /Library/LaunchDaemons/com.paragon-software.ntfs.loader.plist | |
sudo rm /Library/LaunchDaemons/com.paragon-software.ntfsd.plist | |
sudo rm /Library/LaunchAgents/com.paragon-software.ntfs.notification-agent.plist | |
sudo rm -rf /Library/Filesystems/ufsd_NTFS.fs/ | |
sudo rm -rf /Library/PrivilegedHelperTools/com.paragon-software.installer | |
sudo rm -rf /Library/Extensions/ufsd_NTFS.kext/ |
from django.conf import settings | |
from django.contrib.sessions.models import Session | |
from django.db import models | |
class UserSession(models.Model): | |
""" | |
UserSession | |
Session tracking and management inspired by Gavin Ballard: |
from django import forms | |
from django.contrib import admin | |
from django.utils.safestring import mark_safe | |
from django.template.loader import render_to_string | |
from .models import Consumer | |
class JSONEditorWidget(forms.Widget): |