Skip to content

Commit 3db2b8d

Browse files
authored
[C++] [userver] bump userver commit, improve application scalability (#9219)
* bump userver commit * improve scalability * fix the configs
1 parent 404f889 commit 3db2b8d

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

frameworks/C++/userver/userver-bare.dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ RUN apt update && \
66

77
WORKDIR /src
88
RUN git clone https://github.com/userver-framework/userver.git && \
9-
cd userver && git checkout ec1a3b07793f8d4cd0968cd61d8e6079d667a1e7
9+
cd userver && git checkout bdd5e1e03921ff378b062f86a189c3cfa3d66332
1010

1111
COPY userver_benchmark/ ./
1212
RUN mkdir build && cd build && \

frameworks/C++/userver/userver.dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ RUN apt update && \
66

77
WORKDIR /src
88
RUN git clone https://github.com/userver-framework/userver.git && \
9-
cd userver && git checkout ec1a3b07793f8d4cd0968cd61d8e6079d667a1e7
9+
cd userver && git checkout bdd5e1e03921ff378b062f86a189c3cfa3d66332
1010

1111
COPY userver_benchmark/ ./
1212
RUN mkdir build && cd build && \

frameworks/C++/userver/userver_configs/static_config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
# yaml
22
components_manager:
33
event_thread_pool:
4-
threads: 9
5-
dedicated_timer_threads: 1
4+
threads: 8
65
coro_pool:
76
initial_size: 10000 # Preallocate 10000 coroutines at startup.
87
max_size: 300000 # Do not keep more than 300000 preallocated coroutines.
@@ -12,8 +11,9 @@ components_manager:
1211

1312
main-task-processor: # Make a task processor for CPU-bound couroutine tasks.
1413
thread_name: main-worker # OS will show the threads of this task processor with 'main-worker' prefix.
15-
worker_threads: 46
14+
worker_threads: 48
1615
guess-cpu-limit: true
16+
task-processor-queue: work-stealing-task-queue
1717

1818
fs-task-processor: # Make a separate task processor for filesystem bound tasks.
1919
thread_name: fs-worker

0 commit comments

Comments
 (0)