Posts

Showing posts from June, 2014

Advanced Distributed Systems Design with SOA, part 3 of N

(This is part 3 of my notes from the ADSD-SOA course. You'll  find part 2 here .) 5. The Topology won't change ... unless a server goes down and is replaced, which is a premise on which cloud services are generally built (see, for example, what an Azure container looks like ), is moved to a different subnet ... or we're serving wireless and mobile users (see Google's   Mobile Performance from the Radio Up ) ...  So ... if our target endpoint (ex. server) is no longer where we expect it to be, what happens? Well, first off: Nothing! And for a significant amount of time too! The default timeout for both OpenTimeout and SendTimeout  in WCF is a minute each ! Connections to SQL Server? On premise, the default timeout is 15 seconds. If you're connecting to an Azure SQL database, it's 30 seconds . Imagine having a thread waiting for such a connection when/as a client disconnects. It's quite the common scenario. Now, multiply the scenario by 10 clients, 1