GenSpoxy v0.0.14-beta.2 API Reference
Modules
This behaviour is responsible for implementing a caching layer on top of the prerender
gathers all the default settings
since GenServer
based module, process its own mailbox messages in serial manner,
it’s subject to have a long queuing time in case the queue becomes big
a behaviour for running prerender tasks periodically
a behaviour for defining prerender
responsible on periodically executing prerender tasks
a prerender dedicated supervisor.
the prerender supervised module is assumed to implement the GenSpoxy.Partitionable
behaviour
Behaviour to be implemented by backing stores
implements the GenSpoxy.Store
behaviour.
it stores its data under ets
and it manages it in using sharded GenServer
supervising the ets
tables used as a cache store
responsible on orchestration of the request lifecycle.
in case the request is cached returns the response,
if the cached data is in the cache but with stale data,
the cached data will be returned when executed within non-blocking
mode
decides if the stored data should be invalidated (for example stale data)
responsible on garbage collecting stale data out of the cache store (for example: ets
)
since GenServer
based module, process its own mailbox messages in serial manner,
it’s subject to have a long queuing time in case the queue becomes big
executing the request itself
responsible on managing prerender tasks