Skip to content

Instantly share code, notes, and snippets.

View GeronimoKTT's full-sized avatar
🎯
Focusing

Dominique GeronimoKTT

🎯
Focusing
View GitHub Profile
@GeronimoKTT
GeronimoKTT / .eslintrc.js
Created September 17, 2022 14:50 — forked from adrianhall/.eslintrc.js
A sample .eslintrc file
var OFF = 0, WARN = 1, ERROR = 2;
module.exports = exports = {
"env": {
"es6": true
},
"ecmaFeatures": {
// env=es6 doesn't include modules, which we are using
"modules": true
@GeronimoKTT
GeronimoKTT / nginx-tuning.md
Created May 27, 2021 17:37 — forked from EmranAhmed/nginx-tuning.md
NGINX tuning for best performance

NGINX Tuning For Best Performance

For this configuration you can use web server you like, i decided, because i work mostly with it to use nginx.

Generally, properly configured nginx can handle up to 400K to 500K requests per second (clustered), most what i saw is 50K to 80K (non-clustered) requests per second and 30% CPU load, course, this was 2 x Intel Xeon with HyperThreading enabled, but it can work without problem on slower machines.

You must understand that this config is used in testing environment and not in production so you will need to find a way to implement most of those features best possible for your servers.

@GeronimoKTT
GeronimoKTT / docker-compose.yaml
Created March 5, 2021 03:21 — forked from natcl/docker-compose.yaml
Docker Compose Syslog Example
version: '2'
services:
nodered:
image: nodered/node-red-docker:0.17.5
restart: always
environment:
- TZ=America/Montreal
logging:
driver: syslog
options: