Poor performance in api portal/gateway 3.5