SQL Azure connectivity issue after concurrent connections -


is there limit on number of concurrent connections can established on sql azure database. situation facing: have website hosted on windows server 2008 r2 virtual machine many users connect , database created in sql azure. have observed when there many concurrent connections, there connection loss meaning further connections correct usernames , passwords website fail login. no user able login website atleast 40 minutes after same usernames , passwords log users website.

is throttling issue or happens when multiple users try login , perform multiple time consuming activities. step can take resolve issue. session multiple users open causing error.can please tell me exact thing , steps need take avoid such situation.

there hard limit of 180 connections on database. if example have got retry framework in place when start limit see situation worse try's retry creating more connections sql azure, increasing issue.

you start see errors :

exception type: system.data.sqlclient.sqlexception resource id : 1. request limit database 180 , has been reached. see 'http://go.microsoft.com/fwlink/?linkid=267637' assistance.

http://social.technet.microsoft.com/wiki/contents/articles/1541.windows-azure-sql-database-connection-management.aspx#throttling_limits

the quickest fixes try , cache lots of stuff , try using max pool limit on connection string if had lots of compute in front. (although sounds don't)

caching in azure

the other way fix issue shard databases if cannot lower connection limits through cache, , recommend doing custom process rather use federation more control.

to idea don't have connection leak , see going on @ this resource.

hths,

james


Comments

Popular posts from this blog

.htaccess - First slash is removed after domain when entering a webpage in the browser -

Automatically create pages in phpfox -

c# - Farseer ContactListener is not working -