cht-core icon indicating copy to clipboard operation
cht-core copied to clipboard

Send Outbound Push requests in a single payload

Open njuguna-n opened this issue 1 year ago • 1 comments

Is your feature request related to a problem? Please describe. Currently outbound push requests are processed one at a time but with the introduction of delaying sending requests immediately by using a cron in the outbound config then the ability to batch all requests that match the criteria into one request would be helpful.

Describe the solution you'd like A way to have batched requests when using the outbound push feature

Describe alternatives you've considered Using the feature as is and processing one request at a time

Additional context Forum post asking about this.

njuguna-n avatar Apr 02 '24 10:04 njuguna-n

Hello Njuguna, My request for implementing batch processing of records when Cron's conditions are met is backed by the need to adequately utilize the server capacity for the "Receivers" in this case DHIS2. This means that DHIS2 will have a single incoming payload with all the records compared to current setup which entails 1 payload per record. For instance if you have 200 records then you will see 200 payloads when cronjob's time is met instead of 1 payload with 200 data records. Let me know if it makes sense. Thanks, Job

job-isabai avatar Apr 11 '24 10:04 job-isabai