HomePhabricator
Diffusion Comm 4486a9c39522

[services] Rust Integration - c++ - Add getNumberOfCores

Description

[services] Rust Integration - c++ - Add getNumberOfCores

Summary:
Depends on D5038

We need a thread pool to address the grpc's threading problem in c++. To decide what can be a limit for the threads in the thread pool, we should probably obtain a number of CPUs on the machine.

Test Plan: services build as usual

Reviewers: jon, tomek, max, varun

Reviewed By: jon, tomek

Subscribers: ashoat, tomek, atul, abosh

Differential Revision: https://phab.comm.dev/D5112

Details

Provenance
karolAuthored on Sep 12 2022, 7:07 AM
Reviewer
jon
Differential Revision
D5112: [services] Rust Integration - c++ - Add getNumberOfCores
Parents
rCOMM14039f468bb9: [services] Rust Integration - Backup - c++ - Multiple get clients
Branches
Unknown
Tags
Unknown