Skip to content
This repository was archived by the owner on Jul 11, 2025. It is now read-only.
This repository was archived by the owner on Jul 11, 2025. It is now read-only.

Cache to disk server cold start #8

@PeterBaker0

Description

@PeterBaker0

Currently for dockerisation there is a severe cold start to run the container.

If possible, it would be ideal to cache to disk the output of this cold starting so that when another session is launched, the server can start immediately.

An interface could be

$> julia
julia> using ReefGuideAPI.jl
julia> ReefGuideAPI.jl.warm() // incurs cold start then closes process
julia> exit() 
$> julia
julia> using ReefGuideAPI.jl
julia> ReefGuideAPI.jl.start_server("config/path") // no cold start, uses disk cache

This way we could add a layer to the docker file which pre-builds this cache, decreasing cold start times significantly.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions