on-internet
← Community

Spring Boot Procedure call

Stack Overflow ·

I am working on a legacy application, that has multiple processors and each processor runs in a loop and calls multiple DB procedures. All this is happening synchronously. I was wondering, wouldn't the service thread be stopped during the procedure execution. I asked multiple LLMs, they suggested that even if I make all the processors asynchronous, it won't be any cost effective! But my perspective was, that if I make processors async, then during the procedure call, service can execute some other code, this should increase the server & thread utilisation, while scaling, more servers might not

Comments

Sign in or sign up to comment and upvote.

No comments yet.