Highly configurable cache warmer
boiler --config config.yml
example configuration
source:
type: database
params:
uri: 'sslmode=require user=<user> password=<password> host=<host> port=<port> dbname=<db>'
driver: postgres
url_column: 'uri'
http_method_column: 'method'
query: |-
select uri, request_date, 'GET' as method FROM api_calls
transformations:
- type: rewrite-host
params:
host: localhost:8080
- type: write-header
params:
headers:
X-User: Cache-Warmer-Boiler
executor:
type: http
configuration:
continue_on_error: true
concurrency: 1
budget:
time: 32s
params:
timeout: 60s