How is the latency impact on slippage replicated in backtesting?

And when live trading, what's the current relation between the slippage experienced and the latency between the platform's servers and each broker?

I've always wondered the impact of those on higher resolution strategies, could anyone help me to understand it better?