{"id":29591922,"url":"https://github.com/kozistr/catboost-server-rs","last_synced_at":"2026-05-16T17:06:07.845Z","repository":{"id":49768094,"uuid":"517988793","full_name":"kozistr/catboost-server-rs","owner":"kozistr","description":"CatBoost server in Rust + gRPC","archived":false,"fork":false,"pushed_at":"2022-09-09T15:16:21.000Z","size":525,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2023-03-01T07:22:39.310Z","etag":null,"topics":["catboost","grpc","machine-learning","rust","server","serving"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kozistr.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-07-26T09:06:18.000Z","updated_at":"2022-09-09T15:17:09.000Z","dependencies_parsed_at":"2023-01-18T02:15:36.433Z","dependency_job_id":null,"html_url":"https://github.com/kozistr/catboost-server-rs","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"purl":"pkg:github/kozistr/catboost-server-rs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kozistr%2Fcatboost-server-rs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kozistr%2Fcatboost-server-rs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kozistr%2Fcatboost-server-rs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kozistr%2Fcatboost-server-rs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kozistr","download_url":"https://codeload.github.com/kozistr/catboost-server-rs/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kozistr%2Fcatboost-server-rs/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266071519,"owners_count":23871940,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["catboost","grpc","machine-learning","rust","server","serving"],"created_at":"2025-07-20T05:34:40.698Z","updated_at":"2025-10-28T09:45:53.267Z","avatar_url":"https://github.com/kozistr.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# catboost-server-rs\n\nCatBoost server in Rust + gRPC\n\n## Model\n\nSimple CatBoost model\n\n* 2 numeric (float) features\n* 3 categorical features\n\n## Run\n\n### gRPC Server\n\n```shell\n$ cargo run --release --bin cb-server \n```\n\n### gRPC Client\n\n```shell\n# binary http://host:port batch_size iterations timeout\n$ cargo run --release --bin cb-client http://127.0.0.1:50051 32 100000 10\n```\n\n## Performance\n\n* timeout : 10ms\n* latency : ms / req\n* warm up with 10 times\n\n| batch size | requests | mean | p95 | p99 | p99.9 | max | timeouts |\n| :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: |\n|   1 | 100k | 0.131 ms | 0.165 ms | 0.233 ms | 0.324 ms | 0.485 ms | 0 |\n|   4 | 100k | 0.179 ms | 0.245 ms | 0.337 ms | 0.497 ms | 0.912 ms | 0 |\n|  32 | 100k | 0.217 ms | 0.291 ms | 0.408 ms | 0.533 ms | 0.803 ms | 0 |\n|  64 | 100k | 0.299 ms | 0.409 ms | 0.537 ms | 0.786 ms | 4.672 ms | 0 |\n| 128 | 100k | 0.461 ms | 0.630 ms | 0.782 ms | 0.990 ms | 1.696 ms | 0 |\n| 256 | 100k | 0.920 ms | 1.232 ms | 1.500 ms | 1.896 ms | 2.865 ms | 0 |\n\n## Reference\n\n* https://github.com/leosmerling/catboost_inference/tree/main/rust/grpc-server\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkozistr%2Fcatboost-server-rs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkozistr%2Fcatboost-server-rs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkozistr%2Fcatboost-server-rs/lists"}