Quantcast
Channel: Recent Questions - Stack Overflow
Viewing all articles
Browse latest Browse all 11781

Batch Processing to use multiple pods

$
0
0

We have a front end application in react and backend application in .net core which were deployed in a single kubernetes cluster of 3 pods(It may autoscale). Ahead of the application we have load balancer and api gateway.We have a page which lists the clinicians and on click of create payroll, Payroll will process for each clinician. Since on success of each clinician payroll it calls the next payroll, Always it uses a single pods and it is taking longer time.

Now we have taught of using following methods to utilize all the pods

1. Publish event to kafka and consume message to process payroll

2. On Payroll Create, Insert a basic details to mysql table and write a background service to process the payroll

are there any efficient methods to handle batch processing to utilize all the pods?


Viewing all articles
Browse latest Browse all 11781

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>