Voca needs to deploy a decidim in less than 2minutes. But the deployment process takes up to 16min in the most complicated case. Voca reduces the time of installation by preparing a set of empty decidim instance, we call this parking.
So Voca uses a parking system to always have available instances. Once a user want a new decidim, he creates an instance, that will be paired to parked environment. An instance keeps user’s settings, a parked environment keeps informations about the Jelastic infrastructure.
A standard infrastructure, ready for scale
Even for the most basic installation, we are ready to scale, horizontally and vertically. To do this, we setup Docker containers in jelastic to have:
Decidim docker image for Voca
We leverage a docker image for voca usage. This includes:
voca
with:
gruf
that exposes an internal Decidim API through gRPC
protocol.In the Strapi backend, we define two important models:
envName
The uniq name of the Jelastic environment, use to know where the environment is installed.subdomain
The subdomain used for routing