Hi all,
I'm curious where we should normally install the AX connector for Mobile apps.
In a real environment normally there will be more than 1 AOS server, probably a dedicated Batch server and a separate IIS server.
Let's say we have:
3 AOS servers
1 AOS batch server
1 IIS server
1 ADFS server
1 AD and domain server
2 SQL servers (always on cluster)
For a production environment:
Would it be wise to use one of these machines or add a new server and run the connector dedicated?
What would be the answer in case of 100, 500, 1000 or more user which needs to write time and/or expenses?
*This post is locked for comments
Thanks again Rob! I'm happy with the great answers.
Another excellent question. In reality, there will be *some* natural load balancing, since they are listening on the same endpoint, but there is no deterministic strategy implemented as to which listener will get the traffic, and thus it will be fairly random as to who actually processes a service call (I believe it is whichever machine happens to poll their listening connection first for a new incoming request). This is okay since the processing is very light, but as such, we recommend multiple listeners for the purposes of failover only and do not guarantee any equivalence of resource utilization among them.
Thanks!
Rob (Microsoft)
Hi Rob,
Many thanks for your answer. If we install the mobile connector on two machines, probably the AOS'. Will this also take care of some load balancing automatically as all connectors are listeners?
Hi André,
The Mobile Connector is extremely light weight (it's primarily just a relay to the AOS), and as such we recommend using one of your existing servers to host it. Even under extreme load, the resources used by the Mobile Connector should be minimal.
The specific server doesn't particularly matter as long as it can communicate with the AOS and initiate outbound traffic to open a listening connection on Service Bus. But I would stay away from your DB & domain servers as you generally don't want any kind of apps running on them.
It would also be a good idea for fault tolerance in a production environment to run at least two Mobile Connectors in case one of the machines were to fail.
Because it is listening on Azure Service Bus, it will also elastically scale to accept as many incoming connections as your AOS' can handle and we have successfully used it in production for quite a long time with 10,000's of expense & time users.
Thanks for the great question!
Rob Drollinger,
Microsoft
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,253 Super User 2024 Season 2
Martin Dráb 230,188 Most Valuable Professional
nmaenpaa 101,156