I have created a simple pipeline that operates as such:
Generates an access token via an Azure Function. No problem.
Uses a Lookup activity to create a table to iterate through the rows (4 columns by 0.5M rows). No problem.
- For Each activity (sequential off, batch-size = 10):
- (within For Each): Set some variables for checking important values.
- (within For Each): Pass values through web activity to return a json.
- (within For Each): Copy Data activity mapping parts of the json to the sink-dataset (postgres).
Problem: The pipeline slows to a crawl after approximately 1000 entries/inserts.
I was looking at this documentation regarding the limits of ADF.
- ForEach items: 100,000
- ForEach parallelism: 20
I would expect that this falls within in those limits unless I'm misunderstanding it. I also cloned the pipeline and tried it by offsetting the query in one, and it tops out at 2018 entries.
Anyone with more experience be able to give me some idea of what is going on here?