eBay 放出了一套為了測試環境用 Scala 與 Netty 開發的 load balancer,Neutrino:「Announcing Neutrino for Load Balancing and L7 Switching」。
可以看到設計上加入了 log 機制,像是:
Ability to send the traffic logs to API endpoints
以及:
Traffic metrics and configuration are exposed as APIs.
Metrics can be easily published to Graphite. Neutrino is also extensible to push metrics to other metrics systems.
效能不是最主要的重點,不過在 2-core VM 裡面可以有每秒 300+ requests,對測試環境應該是夠用:
We have measured upwards of 300+ requests per second on a 2-core VM.
還有不少特殊的功能 (大量模組化的設計),對於測試環境應該頗好用?