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.
Paths
| Differential D5112 Authored by • karol on Sep 12 2022, 7:10 AM.
Details 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
Diff Detail
Event TimelineHerald added a reviewer: • jon. · View Herald TranscriptSep 12 2022, 7:10 AM2022-09-12 07:10:53 (UTC-7) • karol added a child revision: D5068: [services] Rust Integration - c++ - Add worker.Sep 12 2022, 7:11 AM2022-09-12 07:11:57 (UTC-7) • karol added a parent revision: D5038: [services] Rust Integration - Backup - c++ - Multiple get clients. Harbormaster completed remote builds in B12082: Diff 16583.Sep 12 2022, 7:20 AM2022-09-12 07:20:56 (UTC-7) This revision is now accepted and ready to land.Sep 12 2022, 9:09 AM2022-09-12 09:09:13 (UTC-7) tomek added inline comments.
This revision now requires changes to proceed.Sep 13 2022, 11:01 AM2022-09-13 11:01:00 (UTC-7) Harbormaster completed remote builds in B12131: Diff 16653.Sep 14 2022, 1:54 AM2022-09-14 01:54:29 (UTC-7) This revision is now accepted and ready to land.Sep 15 2022, 7:30 AM2022-09-15 07:30:35 (UTC-7) • karol retitled this revision from [services] Rust Integration - c++ - Add getNumberOfCpus to [services] Rust Integration - c++ - Add getNumberOfCores.Sep 16 2022, 1:47 AM2022-09-16 01:47:14 (UTC-7)
This revision was landed with ongoing or failed builds.Sep 16 2022, 1:55 AM2022-09-16 01:55:37 (UTC-7) Closed by commit rCOMM4486a9c39522: [services] Rust Integration - c++ - Add getNumberOfCores (authored by • karol). · Explain Why This revision was automatically updated to reflect the committed changes. Harbormaster completed remote builds in B12199: Diff 16734.Sep 16 2022, 2:00 AM2022-09-16 02:00:23 (UTC-7) Harbormaster completed remote builds in B12205: Diff 16740.Sep 16 2022, 2:11 AM2022-09-16 02:11:39 (UTC-7)
Revision Contents
Diff 16746 services/lib/src/GlobalTools.h
services/lib/src/GlobalTools.cpp
|