Ernicorn 介绍
Ernicorn 是一个基于 Ernie 的 Ruby 界面的 BERT-RPC
服务器,不过它只使用 Unicorn 的工作进程管理。Ernicorn 支持
BERT-RPC 的 call 和 cast 需求。Ernicorn 在 Github 上开发,并且每天处理数百万的 RPC 请求。
安装:
$ gem install ernicorn
启动服务器:
$ ernicorn --help Usage: ernicorn [options] [config file] Start a Ruby BERT-RPC Server with the given options and config file. Options -h, --host=<host> Server address to listen on; default: 0.0.0.0 -p, --port=<portno> Server port to listen on; default: 8149 -l, --listen=<host>:<port> Listen addresses. Can be specified multiple times --log-level=0-4 Set the log level -d, --detached Run as a daemon -P, --pidfile=<file> Location to write pid file
Ernicorn 官网
https://github.com/github/ernicorn
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 [email protected] 举报,一经查实,本站将立刻删除。