Cloudlets can be deployed either as regular web applications on a standard and fully open-source software stack or encapsulated as Docker containers for deployment on a Docker engine or a Docker Swarm infrastructure.
In both cases, the multiple instances of any given Cloudlet will all access and manage the same database. Nevertheless, database horizontal scalability can still be achieved with specific MariaDB multi-node clustering (e.g. with Galera or SkySQL).
In this scenario, the logic of the Cloudlet (GraphQL API implementation, rules enforcement, etc.) along with a Karaf instance is encapsulated into a Docker container and deployed on a Docker Swarm infrastructure. All Cloudlet instances access the same database, deployed on SkySQL MariaDB Cloud Database for both vertical and horizontal scalability.