Hi Everyone,
We have a requirement where Application is writing 500 rows parallely via startprocess smart service(Loop).
Now for every Write opertion sync will run that means sync will run 500 times in backend. It seems to be creating connection pool issue though connection pool is 200.
can some one suggest the best soultion in this case?
Thanks in Advance!!
Discussion posts and replies are publicly visible
Could the 500 rows (or any subset of them) be written in one instance, versus looped?
500 instances are running parallely where each instnace is writing a row in db.
Yes, that's what you said originally. And I'm asking if there's any way to restructure this, so that all 500 of those writes could be done in a single instance somehow. Because it sounds as if you're referring to 500 instances that are launched and write 100% simultaneously, which leads me to conclude that it might be possible, instead of launching 500 instances, to launch 1 instance with 500 rows (or 5 instances with 100 rows each, etc...).
It is an upload process where each row in an excel is getting processed. Unfortunately,do not have any away to include those rows to be inserted at a time because it is taking too much time to process all the rows at a time
Gopu Hema said:Unfortunately,do not have any away to include those rows to be inserted at a time
Can you explain a bit more about the structure of this setup that requires each row to get its own... process instance, i assume? If that's correct, I don't understand why the process can be passed multiple rows (or even all rows), versus requiring each row to be processed in its own instance.