超雑にまとめました。修正してください。
登場人物
- アプリケーション先輩: いつも忙しい。横に広がるのが得意(デブじゃない)。
- 後輩: 頼んでばっかしで役に立たない。
- サーバー先輩: アプリケーション先輩と仲がいい。Unix Socket でつながるくらい仲良し。
- プロクシ先輩: アプリケーション先輩とかサーバー先輩と後輩の間を取り持って代わりに伝えたりしてくれる。たまに勝手にレスポンスを書き換える。
--------------------------------------------------------------- | |
~/.mutt/muttrc | |
--------------------------------------------------------------- | |
color hdrdefault cyan default | |
color attachment yellow default | |
color header brightyellow default "From: " | |
color header brightyellow default "Subject: " | |
color header brightyellow default "Date: " |
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.
Thanks to this article by Christoph Berg
Directories and files
~/
+----------------------+--------+--------+---------+---------+-----+-------+ | |
| Name | Lines | LOC | Classes | Methods | M/C | LOC/M | | |
+----------------------+--------+--------+---------+---------+-----+-------+ | |
| Controllers | 48726 | 39215 | 522 | 3970 | 7 | 7 | | |
| Helpers | 14795 | 12125 | 15 | 1399 | 93 | 6 | | |
| Models | 96678 | 76140 | 1747 | 8548 | 4 | 6 | | |
| Mailers | 2208 | 1766 | 44 | 206 | 4 | 6 | | |
| Workers | 639 | 540 | 20 | 31 | 1 | 15 | | |
| Chanko units | 11713 | 9644 | 6 | 247 | 41 | 37 | | |
| Libraries | 50409 | 41650 | 592 | 3741 | 6 | 9 | |
<source> | |
type in_tail | |
# ... | |
tag raw.eventlog | |
</source> | |
<match raw.**> | |
type forward | |
log_level "#{ENV['DEBUG'] ? 'debug' : 'info'}" |
# ==== Emojis ==== | |
# 🐛 :bug: バグ修正 | |
# 👍 :+1: 機能改善 | |
# ✨ :sparkles: 部分的な機能追加 | |
# 🎉 :tada: 盛大に祝うべき大きな機能追加 | |
# ♻️ :recycle: リファクタリング | |
# 🚿 :shower: 不要な機能・使われなくなった機能の削除 | |
# 💚 :green_heart: テストやCIの修正・改善 |