I am reading the book Gauge/Gravity Duality Foundations and Applications by M. Ammon and J. Erdmenger. In that book they state the relationship between parameters on both sides of the duality as $$ g_{YM}^2=2\pi g_{s}, \;\;\;2g_{YM}^2N=\frac{L^4}{l_s^4}=2\lambda. $$ They then derive the corrospondence by considering two cases.
The Open string perspective
In this scenario they consider strings as small perturbations and therefore have to go to the limit where the string coupling is small $g_s\ll1$. Furthermore, they consider $N$ coincident D-branes, for which the effective coupling constant is given by $g_sN$ and therefore must have $\lambda\ll1$ for the expansion to be reliable.The closed string perspective
In the closed string perspective they consider D-branes as sources of the gravitational field, curving the surrounding spacetime. The characteristic length scale $L$, should be large to ensure weak curvature and thus have a reliable super gravity approximation. Since $L^4/l_s^4$ is proportional to $\lambda$, we must look at this in the limit of $\lambda \gg 1$.
We then find $\mathcal{N}=4$ SYM in the open string perspective and $AdS_5\times S^5$ in the closed string perspective. Finally the book says that the two perspectives should be equivalent descriptions of the same physics.
But how can that be? In one case we are looking at the limit of $\lambda \ll 1$ and in the other we consider $\lambda \gg 1$. How can these apparent opposite limits be equivalent descriptions of the same physics?