- "A High Performance HTTP Server for Ruby"
- 作者はPeter Ohler(@ohler55)
- ohler55/ojの人
- AppSignalに記事(An instrumental intro to GraphQL with Ruby | AppSignal Blogとか)を書いているが、ここの社員ではない
- Linkedinによるとコンサルらしい: https://www.linkedin.com/in/peterohler/
- 普通にHTTP Server
- PumaとかUnicornとかと同じ部類
- 実装は全部C
- static assetsの配信もサポートしている
- ワーカはスレッド / プロセス選択可能
- デフォルトはスレッド
- Rack APIもサポートしている
- ので、Railsも普通に動く
- WebSocketもサポート
- HTTP/2は未サポート(対応する予定はあるらしい)
- FrameworkBenchmarksにもう入っている(Added Agoo, Racket, Ningle and Ninglex)のでそちらの結果参照
- GraphQLをサポートしている
- subscriptionsもサポート。connectionは未サポート(サポート予定はあるらしい)。
- サンプルコード: ohler55/agoo/example/graphql
- GraphQLのベンチマーク: the-benchmarker/graphql-benchmarks
- Rubyで定義したクラスからスキーマを生成のような機能は無く、RubyのコードとGraphQLのスキーマは別に定義する必要がある
- rmosolgo/graphql-rubyのようにRubyレベルで型を定義する仕組みも無いので、graphql-rubyに慣れているとちょっと使いづらそう
- Shopify/graphql-batchとかも使えなくなる
- rmosolgo/graphql-rubyのようにRubyレベルで型を定義する仕組みも無いので、graphql-rubyに慣れているとちょっと使いづらそう