Konfigurasi Profesional (DSL)
EksaServer mendukung file konfigurasi config/eksa_server.rb dengan sintaks yang intuitif:
| threads min, max | Atur rentang dynamic thread. |
| workers count | Aktifkan Cluster Mode. |
| bind url | Mendukung TCP atau UNIX socket. |
Contoh Konfigurasi Produksi
# config/eksa_server.rb
threads 10, 50
workers 4
bind "tcp://0.0.0.0:80"
bind "unix:///var/run/app.sock"
on_worker_boot do |id|
puts "Worker #{id} lahir kembali..."
end