Skip to content

The-Data-Appeal-Company/boiler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Boiler

Go Report Card Go license

Highly configurable cache warmer

Usage

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

About

extendable cache warmer

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published