The file driver is the most simple way to configure the maintenance mode and it is the default one.
It works by creating a "lockfile" in your application temporary folder to enable maintenance and delete it to disable it.
The cache driver is the perfect choice when running in a distibuted architecture. It relies on the @adonisjs/cache package.
You can create your own driver by extending the MaintenanceDriver
class and referencing it in your config/maintenance.ts
configuration file.