Connection Pool Issues

Certified Senior Developer

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

Parents Reply
  • 0
    Certified Lead Developer
    in reply to piyusha6151

    You add the delay timer prior to the Sync call (or if you're just talking about the syncing that happens automatically after a Write, then before the Write node) in each process instance.  That means instead of 500 instances all hitting write and sync within a few milliseconds of each other, they'll execute in a staggered fashion across the entire set, allowing time for the connections to open and close between the different sync calls.

Children
No Data