$ sbt 'run-main com.github.chintootech.StoreServer -admin.port=:49991 -bind=:49091'
$ sbt 'run-main com.github.chintootech.SearchServer -admin.port=:49992 -bind=:49092'
$ sbt 'run-main com.github.chintootech.CacheServer -admin.port=:49993 -bind=:49093'
$ sbt 'run-main com.github.chintootech.HTTPServer -admin.port=:49990 -http=:48000 -search=:49092 -cache=:49093 -db=:49091'
$
$ curl -XPOST http://localhost:48000/ -d'hello world'
OK
$ curl -XPOST http://localhost:48000/ -d'世界世界'
OK
$ curl -XPOST http://localhost:48000/ -d'hello 世界'
OK
$ curl -XPOST http://localhost:48000/ -d'こんにちわ'
OK
$ curl -XPOST http://localhost:48000/ -d'こんにちわ世界'
OK
$ curl http://localhost:48000/hello
["hello 世界","hello hello"]
$ curl http://localhost:48000/世界
["hello 世界","こんにちわ世界","世界世界"]
forked from iwag/AdventServer
-
Notifications
You must be signed in to change notification settings - Fork 0
SearchEngine with finagle with thrift inspired by [searchbird](http://twitter.github.io/scala_school/searchbird.html)
License
chintootech/AdventServer
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
SearchEngine with finagle with thrift inspired by [searchbird](http://twitter.github.io/scala_school/searchbird.html)
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Languages
- Scala 88.0%
- Shell 8.0%
- Thrift 4.0%