forked from coinbase/chainstorage
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbase.template.yml
170 lines (170 loc) · 4.69 KB
/
base.template.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
api:
auth: ""
max_num_block_files: 1000
max_num_blocks: 50
num_workers: 10
streaming_batch_size: 50
streaming_interval: 1s
streaming_max_no_event_time: 10m
rate_limit:
global_rps: 3000
per_client_rps: 2000
aws:
aws_account: development
bucket: ""
dlq:
delay_secs: 900
name: example_chainstorage_blocks_{{blockchain}}_{{network}}_dlq
visibility_timeout_secs: 600
dynamodb:
block_table: example_chainstorage_blocks_{{blockchain}}_{{network}}
versioned_event_table: example_chainstorage_versioned_block_events_{{blockchain}}_{{network}}
versioned_event_table_block_index: example_chainstorage_versioned_block_events_by_block_id_{{blockchain}}_{{network}}
transaction_table: example_chainstorage_transactions_table_{{blockchain}}_{{network}}
presigned_url_expiration: 30m
region: us-east-1
storage:
data_compression: GZIP
gcp:
project: "development"
presigned_url_expiration: 30m
cadence:
address: ""
retention_period: 7
domain: chainstorage-{{blockchain}}-{{network}}
tls:
enabled: true
validate_hostname: true
chain:
block_start_height: 0
blockchain: BLOCKCHAIN_{{BLOCKCHAIN}}
client:
master:
endpoint_group: ""
slave:
endpoint_group: ""
validator:
endpoint_group: ""
consensus:
endpoint_group: ""
http_timeout: 0s
network: NETWORK_{{BLOCKCHAIN}}_{{NETWORK}}
block_tag:
latest: 1
stable: 1
event_tag:
latest: 1
stable: 1
feature:
rosetta_parser: false
default_stable_event: true
config_name: "{{blockchain}}_{{network}}"
cron:
block_range_size: 4
functional_test: ""
sdk:
auth_header: ""
auth_token: ""
chainstorage_address: https://nft-api.coinbase.com/api/exp/chainstorage/{{blockchain}}/{{network}}/v1
num_workers: 10
restful: true
server:
bind_address: "localhost:9090"
sla:
tier: 3
expected_workflows:
- monitor
- poller
- streamer
workflows:
backfiller:
activity_retry_maximum_attempts: 3
activity_schedule_to_start_timeout: 5m
activity_start_to_close_timeout: 10m
batch_size: 2500
checkpoint_size: 5000
max_reprocessed_per_batch: 30
mini_batch_size: 1
num_concurrent_extractors: 4
task_list: default
workflow_decision_timeout: 2m
workflow_execution_timeout: 24h
workflow_identity: workflow.backfiller
benchmarker:
activity_retry_maximum_attempts: 3
activity_schedule_to_start_timeout: 5m
activity_start_to_close_timeout: 10m
child_workflow_execution_start_to_close_timeout: 60m
task_list: default
workflow_decision_timeout: 2m
workflow_execution_timeout: 24h
workflow_identity: workflow.benchmarker
monitor:
activity_retry_maximum_attempts: 8
activity_schedule_to_start_timeout: 5m
activity_start_to_close_timeout: 10m
backoff_interval: 10s
batch_size: 50
checkpoint_size: 500
parallelism: 4
block_gap_limit: 3000
event_gap_limit: 300
task_list: default
workflow_decision_timeout: 2m
workflow_execution_timeout: 24h
workflow_identity: workflow.monitor
poller:
activity_heartbeat_timeout: 2m
activity_retry_maximum_attempts: 8
activity_schedule_to_start_timeout: 2m
activity_start_to_close_timeout: 10m
backoff_interval: 3s
checkpoint_size: 1000
fast_sync: false
liveness_check_enabled: true
liveness_check_interval: 1m
liveness_check_violation_limit: 10
max_blocks_to_sync_per_cycle: 100
parallelism: 4
task_list: default
workflow_decision_timeout: 2m
workflow_execution_timeout: 24h
session_creation_timeout: 2m
session_enabled: false
workflow_identity: workflow.poller
streamer:
activity_retry_maximum_attempts: 5
activity_schedule_to_start_timeout: 2m
activity_start_to_close_timeout: 2m
backoff_interval: 3s
batch_size: 500
checkpoint_size: 500
task_list: default
workflow_decision_timeout: 2m
workflow_execution_timeout: 24h
workflow_identity: workflow.streamer
cross_validator:
activity_retry_maximum_attempts: 8
activity_schedule_to_start_timeout: 5m
activity_start_to_close_timeout: 10m
backoff_interval: 10s
batch_size: 100
checkpoint_size: 1000
parallelism: 4
task_list: default
validation_percentage: 10
workflow_decision_timeout: 2m
workflow_execution_timeout: 24h
workflow_identity: workflow.cross_validator
event_backfiller:
activity_retry_maximum_attempts: 3
activity_schedule_to_start_timeout: 5m
activity_start_to_close_timeout: 10m
batch_size: 250
checkpoint_size: 5000
task_list: default
workflow_decision_timeout: 2m
workflow_execution_timeout: 24h
workflow_identity: workflow.event_backfiller
workers:
- task_list: default