Updated 22 October 2026By the FXSUPPORT engineering team
MT5 server architecture is the way a broker splits MetaTrader 5 across separate servers. The main trade server holds accounts and orders. The history server stores prices, and access servers take client connections and hide the trade server. A backup server in another data centre keeps a synchronised copy for failover. Larger licences add trade servers to spread processing.
What is MT5 server architecture?
MT5 server architecture is distributed: each part of the platform runs as its own server with its own job. MetaQuotes built MetaTrader 5 this way on purpose. Its comparison of the two platforms lists MT5 server architecture as distributed and MT4 as single. That one difference shapes how brokers plan capacity, security and recovery.
A distributed design lets you place each server where it works best. The trade server sits near liquidity. The access servers sit near clients. The backup server sits in a different building, ideally in a different country. It also means more moving parts to monitor, and more ways for a small mistake to cause an outage.
This page covers the server roles, then redundancy and failover, then backups, disaster recovery and tuning. For the installation project itself, see MT5 server setup.
“MetaTrader 5 is based on a distributed architecture, where different functions are performed on different servers.”
MetaQuotes, MetaTrader 5 for brokers
MT5 main server and the trade server cluster
The MT5 main server is the trade server that holds the platform’s core: accounts, orders, positions, margin and configuration. Everything else connects to it. If it stops, trading stops, which is why every other design decision starts here.
On the Entry licence a single main trade server serves both real and demo accounts. MetaQuotes says the Standard tier adds trade servers to give distributed trade processing capacity. Enterprise includes the full set of components together with high-performance trade servers. Brokers often call this set-up an MT5 server cluster.
In practice we keep the main trade server off the public internet and close to the bridge and liquidity providers. We give it fast local storage and generous memory headroom. Plugins run inside the trade server, so we load only the ones a broker needs and test each one first.
What does the MT5 history server do?
The MT5 history server stores price history, bars and ticks, and serves it to terminals that request charts. Moving this work off the trade server keeps the trade server free for orders. MetaQuotes lists the History Server as a separate component that the Server API can extend.
History grows every trading day. A broker with many symbols and years of ticks needs fast storage with room to grow, and a plan for archiving. We usually run the history server in the same data centre as the trade server, because the two exchange data all the time.
MT5 access servers: how clients connect
MT5 access servers are the entry points that desktop, web and mobile terminals connect to. They pass traffic on to the trade server, which never faces clients directly. MetaQuotes says trade servers can be hidden behind multiple access points that work like shells.
Because they face the internet, access servers take the brunt of connection spikes and attacks. Several access servers in different regions spread the load and give clients a closer entry point. If one fails or comes under attack, terminals can still connect through another. MetaQuotes also states that account data passes through access servers in encrypted form and is decoded only on the trade servers.
Since 2022 MetaQuotes has offered Access Server Hosting that brokers launch from MT5 Administrator. At launch it listed Equinix LD4, NY4 and HK1 and the Servers.com site in Amsterdam. It also named Sao Paulo, Mumbai, Lagos and Johannesburg. We often combine these hosted points with access servers on our own MetaTrader server hosting.
MT5 backup server: what it protects and where it should run
An MT5 backup server keeps a synchronised copy of the trade server’s data so the platform can recover if the main site fails. It is a live standby, which is different from a nightly backup file. If it sits in the same rack as the main server, it protects you from a dead disk and little else.
Put the backup server in another data centre, and if possible in another country. Finance Magnates reported in June 2026 that MetaQuotes had added an Amsterdam hosting location for MT5 backup servers. Its example was a broker with a London main server and an Amsterdam backup. Whoever hosts it, the backup needs its own network path, its own monitoring and regular checks that synchronisation is current.
MT5 server redundancy and failover
MT5 server redundancy means no single machine, network link or site can take the whole platform down. Access servers are the easy part, because several can run at once. The trade server is the hard part. Its protection comes from the backup server and a tested way to switch to it.
MT5 failover is the act of moving the main role to the backup server and pointing the access servers at it. Whether this happens automatically or by an engineer’s decision is a design choice. In our experience most brokers prefer a controlled switch after a short check. A false failover during a busy session can cause more damage than a few minutes of careful diagnosis.
Redundancy also matters for planned work. MetaQuotes releases new server builds on its own schedule, and each update means a planned maintenance window. With spare access points and a current backup server, we can update one part at a time and keep a way back. We always test a new build on a demo server with the broker’s plugins before it touches production.
The table below shows how we plan for common failures. Every row should have a written runbook that your team or ours can follow under pressure.
| What fails | Effect on clients | Usual response |
|---|---|---|
| One access server | Some terminals reconnect elsewhere | Other access points take the load; replace or repair |
| History server | Charts load slowly or not at all; trading continues | Restart or restore; trading is not affected |
| Main trade server hardware | Trading stops | Switch to the backup server; confirm data; reopen |
| Whole main data centre | Trading stops | Activate the backup site; access points redirect |
| Bridge or gateway | Orders cannot reach liquidity | Fail over to a second route or switch routing rules |
| Price feed | Frozen or wrong quotes | Switch to the secondary feed; check filters |
MT5 server backup and disaster recovery
MT5 server backup and MT5 disaster recovery are two layers that work together. The backup server covers fast recovery from a live failure. Backup files cover everything else: corrupted data, a bad configuration change, or the need to rebuild from scratch. MetaQuotes states that all MT5 system databases are encrypted and come with backup and recovery options.
A good disaster recovery plan answers two questions in writing. How much data can you afford to lose? How long can you be offline? Your answers set the backup frequency, the type of standby and the cost. We agree these targets with the broker rather than quote standard figures.
Then test it. A backup that has never been restored is a hope, not a plan. We restore to a separate host on a regular schedule and check that accounts, positions and settings match. We also keep server settings, group and symbol configuration and plugin parameters under version control. A bad change can then be reversed in minutes.
- Trade server databases and the backup server’s synchronisation status
- Configuration exports of groups and symbols, managers and plugins, and routing rules
- History data and its archive
- Logs kept long enough for disputes and audits
- Copies stored in a second site, encrypted, with access limited
Load and performance tuning for MT5 servers
Most MT5 performance problems we see come from four places: slow disks, heavy plugins, too few access points and oversized logs or histories. Hardware upgrades rarely fix a plugin that blocks the trade path. So we start by measuring where the time goes.
Our tuning work follows a routine. We track CPU, memory and disk queues on each server, and connection counts on each access point. We watch processing time during news releases and market opens, because averages hide the peaks that matter. If a plugin causes spikes, we work with its developer or our own MetaTrader plugin development team to fix it. If access points run hot, we add another in the busy region.
Capacity planning is the quieter half. We review growth in accounts, symbols and history every quarter. That way a licence upgrade or a new server is ordered before it becomes urgent. It also gives you real numbers when you talk to MetaQuotes about moving from Entry to Standard, instead of a guess made during a busy week.
How to monitor a multi-server MT5 platform
Monitoring a multi-server MT5 platform means watching each server, each link between them and the services that depend on them. A green light on the trade server says nothing about an access point in Asia that clients cannot reach. So we check from the outside as well as the inside.
On each host we track CPU, memory, disk queues and free space. For the platform we watch connections per access point, synchronisation with the backup server, quote flow per symbol and the state of the bridge or gateway. Alerts go to an on-call engineer with a runbook for each one. Logs are kept and reviewed, because the cause of a Monday morning outage is often visible on Friday. Our server troubleshooting page explains how we work through incidents.
Typical MT5 layouts by licence tier
The right layout depends on your tier, your liquidity and your clients, but most brokers start from one of a few patterns. The table shows the layouts we most often build. Treat it as a starting point for a conversation, not a standard package.
| Stage | Typical layout | Main risk to manage |
|---|---|---|
| New broker on Entry | Main trade server, history server, two access points, backup server in a second site | Single trade server; failover must be tested |
| Growing broker on Standard | Main and additional trade servers, history server, regional access points, backup site | Load balance between trade servers and regions |
| Large broker on Enterprise | Full component set across two or more data centres | Change control across many servers and teams |
| MT4 broker | Single MT4 server with backup and a recovery plan | Little built-in redundancy; plan the move to MT5 |
MetaTrader multi-server set-ups on MT4
A MetaTrader multi-server set-up on MT4 is more limited, because MT4 runs as a single server. Brokers add data centres and backup servers around it, but there is no distributed design like MT5’s to work with. MetaQuotes no longer sells MT4 licences, so new multi-server projects are MT5 only.
If you still run MT4, we can host it with a backup and a written recovery plan. We can also run it next to a new MT5 platform during a move. See MT4 to MT5 migration and our daily MT5 support for the platform after the move.
Frequently asked questions
What servers make up an MT5 platform?
A main trade server, a history server, one or more access servers and a backup server. Larger licences add trade servers for distributed processing. Administrators and dealers manage it all through MT5 Administrator and MT5 Manager.
What is the difference between the MT5 main server and the history server?
The main server handles accounts, orders, positions, margin and settings. The history server stores price history and serves charts to terminals. Splitting them keeps chart requests from slowing down order processing.
Why do clients connect to access servers instead of the trade server?
For security and speed. Access servers hide the trade server from the internet and absorb connection spikes and attacks. Placing them near clients also improves connection quality.
Where should the MT5 backup server be located?
In a different data centre from the main server, and ideally in another country. A backup in the same rack protects against a hardware fault but not against a site outage.
Is MT5 failover automatic?
It can be designed either way. In our experience most brokers prefer an engineer to confirm the problem before switching. A false failover during trading can cause more trouble than a short, controlled pause.
How often should MT5 servers be backed up?
Often enough to match the data loss your business can accept. We agree that target with each broker. The live backup server covers fast recovery, while backup files and configuration exports cover rebuilds and bad changes.
How many servers does a new MT5 broker need?
Usually a main trade server, a history server, at least two access points and a backup server in another site. That is a starting point for an Entry licence. Your clients’ locations and your liquidity set-up change the picture.
Can an MT5 cluster span several data centres?
Yes. Access servers can sit in several regions and the backup server in a second site. On larger licences trade servers can be split across sites too. Each link needs its own monitoring and a tested plan if it fails.
Why is my MT5 server slow during news?
Usually because of disk speed, a heavy plugin or too few access points. Peaks matter more than averages. We measure processing time during busy periods before recommending any hardware change.
Can you review an existing MT5 architecture?
Yes. We look at server roles and locations, failover, backups and monitoring. Then we write up the weak points in order of risk. Brokers often ask for this before a licence upgrade or after an outage.
Sources
- MetaQuotes, MetaTrader 5 for brokers (distributed architecture, access points, encrypted databases), accessed October 2026
- MetaQuotes, Buy the MetaTrader 5 Platform (components by tier), accessed October 2026
- MetaQuotes, Comparison of MetaTrader 5 and MetaTrader 4 for brokers, accessed October 2026
- MetaQuotes, MetaTrader 5 Access Server Hosting, 5 May 2022, accessed October 2026
- MetaQuotes, Access Server Hosting with global load balancing, 5 May 2022, accessed October 2026
- Finance Magnates, Retail brokers gain Amsterdam hosting location for MT5 backup servers, 25 June 2026, accessed October 2026
- MetaQuotes, MetaTrader 4 for brokers (licences no longer sold), accessed October 2026
FXSUPPORT is not affiliated with MetaQuotes Ltd. or with any vendor or regulator named on this page. This page is general information, not legal or investment advice.