You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
logging.info(f'Python HTTP triggered function processed: {obj.read()}')
169
169
```
170
170
171
-
When the function is invoked, the HTTP request is passed to the function as `req`. An entry will be retrieved from the Azure Blob Storage based on the _ID_ in the route URL and made available as `obj` in the function body. Here the storage account specified is the connection string found in `AzureWebJobsStorage` which is the same storage account used by the function app.
171
+
When the function is invoked, the HTTP request is passed to the function as `req`. An entry will be retrieved from the Azure Blob Storage based on the _ID_ in the route URL and made available as `obj` in the function body. Here the storage account specified is the connection string found in , which is the same storage account used by the function app.
172
172
173
173
174
174
## Outputs
@@ -280,10 +280,10 @@ Likewise, you can set the `status_code` and `headers` for the response message i
280
280
281
281
## Concurrency
282
282
283
-
By default, the Functions Python runtime can only process one invocation of a function at a time. This concurrency level might not be sufficient in under one or more of the following conditions:
283
+
By default, the Functions Python runtime can only process one invocation of a function at a time. This concurrency level might not be sufficient under one or more of the following conditions:
284
284
285
-
+ You are trying to handle a number of invocations being made at the same time.
286
-
+Your are processing a large number of I/O events.
285
+
+ You're trying to handle a number of invocations being made at the same time.
286
+
+You're processing a large number of I/O events.
287
287
+ Your application is I/O bound.
288
288
289
289
In these situations, you can improve performance by running asynchronously and by using multiple language worker processes.
@@ -310,7 +310,7 @@ def main():
310
310
311
311
### Use multiple language worker processes
312
312
313
-
By default, every Functions host instance has a single language worker process. However there is support to have multiple language worker processes per host instance. Function invocations can then be evenly distributed among these language worker processes. Use the [FUNCTIONS_WORKER_PROCESS_COUNT](functions-app-settings.md#functions_worker_process_count) application setting to change this value.
313
+
By default, every Functions host instance has a single language worker process. However there's support to have multiple language worker processes per host instance. Function invocations can then be evenly distributed among these language worker processes. Use the [FUNCTIONS_WORKER_PROCESS_COUNT](functions-app-settings.md#functions_worker_process_count) application setting to change this value.
0 commit comments