LINK - Azure Mobile Services - Custom Bulk Insert Javascript API

荆煌
2023-12-01

the Challenge:

The underlying problem is that a Mobile Service running in free mode (the default configuration) throttles the number of connections that can be made and in a tight loop, you can quickly exceed that and put the service in a bad state.  The solution is to wait for previous inserts to complete before inserting new items.  You can safely insert a batch of items (say 10) and once that is complete submit another batch of insert operations to avoid this connection limit.


LINK - http://blogs.msdn.com/b/jpsanders/archive/2013/03/20/server-script-to-insert-table-items-in-windows-azure-mobile-services.aspx

 类似资料: