# High availability

LemonLDAP::NG is highly scalable, so easy to insert behind a load-balancer:

- Portal does not store any data outside the session database, so you can have many portal servers using the same HTTP host name
- All handlers download the whole configuration, so many servers can serve the same virtual hosts

You can for example set up a fail-over cluster with Heartbeat and HAproxy, like this:

You just have to share configuration and sessions databases between those servers: