Skip to content

Instantly share code, notes, and snippets.

View candrasetiawan's full-sized avatar
🎯
Focusing

Candra Setiawan candrasetiawan

🎯
Focusing
View GitHub Profile
@candrasetiawan
candrasetiawan / nginx-tuning.md
Created October 25, 2019 15:21 — 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.

@candrasetiawan
candrasetiawan / learningStrategy.md
Last active January 28, 2019 22:36
Learning Strategy

Metode Penelitian

Strategi dalam melakukan pembelajaran hal yang baru

  1. Mempelajari dan memahami prinsip-prinsip dasar dari materi tersebut
  2. Membuat catatan secara bertahap sambil mengulangi lagi dasar-dasar materi tadi
  3. Melakukan diskusi dengan rekan-rekan yang memiliki ketertarikan dan minat yang sama ataupun dengan orang yang memiliki kompetensi terhadap materi tersebut
  4. Melakukan ujicoba jika materi tersebut bisa dibuktikan secara praktis
  5. Membuat suatu kesimpulan untuk dapat melakukan proses pemetaan pikiran untuk menghubungkan prinsip-prinsip dasar materi.

Bagaimana mendapatkan suatu topik

  1. Mengumpulkan sumber literasi terhadap suatu materi yang akan dipelajari
  2. Membaca dan membandingkan sumber-sumber literasi yang dikumpulkan tadi