package main
/* Билеты по Проектированию Высоко нагруженных систем
- В этом конспекте нет автоматической грамматической проверки
- Он написан для личного пользования, исключительно для подготовки к экзамену
package main
/* Билеты по Проектированию Высоко нагруженных систем
from prometheus_client import Counter, start_http_server | |
from threading import Thread | |
import requests as re | |
import time | |
JOB_NAME = 'test' | |
INSTANCE = 'localhost' | |
def scrape_and_send(local_url: str, vm_url: str, scrape_interval: int): |
Programs that want to bind themselves to free cores present some challenges
when run within Docker.
CPU pinning allows a program to request it be assigned exclusively to a core or set of cores This improves cache locality and other factors that become relevant for extremely CPU bound processes, especially in combination with other configurations that prevent the scheduler from assigning other processes
Turn on | |
REG ADD "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Power" /V HiberbootEnabled /T REG_dWORD /D 1 /F | |
Turn off | |
REG ADD "HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Power" /V HiberbootEnabled /T REG_dWORD /D 0 /F | |
https://www.tenforums.com/tutorials/4189-turn-off-fast-startup-windows-10-a.html |
#include "iostream"
using namespace std;
class Integer
{
int a;
import itertools as it | |
from bisect import bisect_left | |
from typing import List | |
import numpy as np | |
import pandas as pd | |
import scipy.stats as ss | |
from pandas import Categorical |
;==================================== | |
; @copyright-Abdul Rehman | |
; @Licence Creative Common | |
; This code used to display simple character... | |
; on character lcd with 8051 microcontroller in assembly langauge | |
;==================================== | |
LCD_DATA_PORT EQU P0 | |
RS BIT P2.0 | |
EN BIT P2.1 | |
;==================================== |
Ниже приведены темы курсовых проектов, на которые можно ориентироваться при составлении собственной темы