Skip to content

Instantly share code, notes, and snippets.

View sajjad960's full-sized avatar
🏠
Working from home

Sajjad Hossain sajjad960

🏠
Working from home
View GitHub Profile
@daily certbot renew
★Be responsible for the planning, implementation, and growth of the AWS cloud infrastructure
★Build, release, and manage the configuration of all production systems
★Manage a continuous integration and deployment methodology for server-based technologies
★Work alongside architecture and engineering teams to design and implement any scalable software services
★Ensure necessary system security by using best in class cloud security solutions
★Stay current with new technology options and vendor products, evaluating which ones would be a good fit for the company
Implement continuous integration/continuous delivery (CI/CD) pipelines when necessary
★Recommend process and architecture improvements
Troubleshoot the system and solve problems across all platform and application domains
★Oversee pre-production acceptance testing to ensure the high quality of a company's services and products
@sajjad960
sajjad960 / 1 million json data creating
Created March 3, 2022 16:31
For creating freee json data
https://www.convertcsv.com/generate-test-data.htm
@sajjad960
sajjad960 / nginx-tuning.md
Created February 4, 2022 04:55 — forked from denji/nginx-tuning.md
NGINX tuning for best performance

Moved to git repository: https://github.com/denji/nginx-tuning

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.

# Requests for socket.io are passed on to Node on port 3000
location ~* \.io {
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Host $http_host;
proxy_set_header X-NginX-Proxy false;
proxy_pass http://localhost:3000;
proxy_redirect off;
user www-data;
worker_processes auto;
pid /run/nginx.pid;
include /etc/nginx/modules-enabled/*.conf;
events {
worker_connections 768;
# multi_accept on;
}
@sajjad960
sajjad960 / gist:2dfe2ad6236fee1bc06a099a2dfa823a
Created December 10, 2021 05:47
Site-available-config-nginx
server {
server_name githubuser.findsajjad.com;
root /usr/share/nginx/githubuser;
index index.html;
location / {
# limit_req zone=MYZONE;
try_files $uri /index.html;
}