File tree Expand file tree Collapse file tree 5 files changed +17
-7
lines changed Expand file tree Collapse file tree 5 files changed +17
-7
lines changed Original file line number Diff line number Diff line change 1
1
FROM ghcr.io/userver-framework/docker-userver-build-base:v1a AS builder
2
2
WORKDIR /src
3
3
RUN git clone https://github.com/userver-framework/userver.git && \
4
- cd userver && git checkout b69a8db23844d3abbb68e40a502eae0ecd2e4b62
4
+ cd userver && git checkout 151bc1e3df01807da9cd27f9677b80f4951b1f25
5
5
COPY userver_benchmark/ ./
6
6
RUN mkdir build && cd build && \
7
7
cmake -DUSERVER_IS_THE_ROOT_PROJECT=0 -DUSERVER_OPEN_SOURCE_BUILD=1 -DUSERVER_FEATURE_CRYPTOPP_BLAKE2=0 \
Original file line number Diff line number Diff line change 1
1
FROM ghcr.io/userver-framework/docker-userver-build-base:v1a AS builder
2
2
WORKDIR /src
3
3
RUN git clone https://github.com/userver-framework/userver.git && \
4
- cd userver && git checkout b69a8db23844d3abbb68e40a502eae0ecd2e4b62
4
+ cd userver && git checkout 151bc1e3df01807da9cd27f9677b80f4951b1f25
5
5
COPY userver_benchmark/ ./
6
6
RUN mkdir build && cd build && \
7
7
cmake -DUSERVER_IS_THE_ROOT_PROJECT=0 -DUSERVER_OPEN_SOURCE_BUILD=1 -DUSERVER_FEATURE_CRYPTOPP_BLAKE2=0 \
Original file line number Diff line number Diff line change 2
2
#include < userver/testsuite/testsuite_support.hpp>
3
3
#include < userver/utils/daemon_run.hpp>
4
4
5
+ #include < userver/clients/dns/component.hpp>
6
+
5
7
#include < userver/storages/postgres/component.hpp>
6
8
#include < userver/storages/secdist/component.hpp>
9
+ #include < userver/storages/secdist/provider_component.hpp>
7
10
8
11
#include " controllers/cached_queries/handler.hpp"
9
12
#include " controllers/json/handler.hpp"
@@ -20,7 +23,9 @@ namespace userver_techempower {
20
23
int Main (int argc, char * argv[]) {
21
24
auto component_list =
22
25
userver::components::MinimalServerComponentList ()
26
+ .Append <userver::clients::dns::Component>()
23
27
.Append <userver::components::Secdist>()
28
+ .Append <userver::components::DefaultSecdistProvider>()
24
29
.Append <userver::components::TestsuiteSupport>()
25
30
.Append <userver::components::Postgres>(" hello-world-db" )
26
31
.Append <plaintext::Handler>()
Original file line number Diff line number Diff line change 9
9
"USERVER_LRU_CACHES" : {},
10
10
"USERVER_RPS_CCONTROL_CUSTOM_STATUS" : {},
11
11
"USERVER_TASK_PROCESSOR_PROFILER_DEBUG" : {},
12
+ "USERVER_HANDLER_STREAM_API_ENABLED" : false ,
12
13
"HTTP_CLIENT_CONNECTION_POOL_SIZE" : 1000 ,
13
14
"HTTP_CLIENT_CONNECT_THROTTLE" : {
14
15
"http-limit" : 6000 ,
38
39
"POSTGRES_CONNECTION_PIPELINE_ENABLED" : false ,
39
40
"POSTGRES_CONNECTION_POOL_SETTINGS" : {
40
41
"hello_world" : {
41
- "min_pool_size" : 28 ,
42
- "max_pool_size" : 28 ,
42
+ "min_pool_size" : 75 ,
43
+ "max_pool_size" : 100 ,
43
44
"max_queue_size" : 512
44
45
}
45
46
},
Original file line number Diff line number Diff line change @@ -43,14 +43,18 @@ components_manager:
43
43
tracer : # Component that helps to trace execution times and requests in logs.
44
44
service-name : userver-techempower # "You know. You all know exactly who I am. Say my name. " (c)
45
45
46
+ dns-client :
47
+ fs-task-processor : fs-task-processor
48
+
46
49
dynamic-config : # Dynamic config storage options, do nothing
47
50
fs-cache-path : ' '
48
51
dynamic-config-fallbacks : # Load options from file and push them into the dynamic config storage.
49
52
fallback-path : /app/dynamic_config_fallback.json
50
53
51
54
testsuite-support :
52
55
53
- secdist : # Component that stores configuration of hosts and passwords
56
+ secdist : {} # Component that stores configuration of hosts and passwords
57
+ default-secdist-provider :
54
58
config : /app/secure_data.json # Values are supposed to be stored in this file
55
59
missing-ok : false # ... but if the file is missing it is still ok
56
60
@@ -67,8 +71,8 @@ components_manager:
67
71
hello-world-db :
68
72
dbalias : hello_world
69
73
blocking_task_processor : fs-task-processor
70
- min_pool_size : 28
71
- max_pool_size : 28
74
+ min_pool_size : 75
75
+ max_pool_size : 100
72
76
max_queue_size : 512
73
77
74
78
single-query-handler :
You can’t perform that action at this time.
0 commit comments