Skip to content

/cache is not successful at warming the cache #346

@kingdonb

Description

@kingdonb

The /cache endpoint that Heroku was hitting every hour is broken, doesn't work anymore.

We also don't have a facility like "heroku scheduler" to hourly hit the cache to ensure it gets warmed every hour.

So when you first hit the site, it will probably be cold and take a few seconds longer to respond, or require a second request – but we could use a Kubernetes CronJob to resolve this pretty easily, I think.

It would be worthwhile to collect some metrics about cold and warm startup – the server is not serverless but AIUI the new bit.io database host is, which is why it's so cheap. (I was not about to pay Heroku $5/mo for databases when we're doing less than hundreds of thousands of queries per month. My colleagues from Computer Science House created this service and it's essentially free for up to a billion queries per month. So far it's working great!)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions