Why should synchronous calls be avoided?

Synchronous calls during the requests may result into the cumulative effect of downtime. If an API call is synchronous, the thread will block or wait until the API call returns back and your application will not perform any further until a response is received by the API. This results in a performance lag in your application.

To overcome this problem, you can decide between asynchronous calls that doesn’t block or synchronous calls that wait until the API call returns from the server. The aim should be to free the main thread so that it will result in a continuous response to the user interface.

Some sites use a simple rule on their platform viz. one synchronous call per user request, whereas some of them have redesigned their API platform and have built asynchronicity into the API framework.

Vmoksha has come up with its own Enterprise Architecture over a period of time and advocate the need for asynchronous calls or requests.


About Anoop Sathyavan

Anoop Sathyavan is the CEO of Vmoksha Technologies and is responsible for its Indian operations. He has over 16 years of experience leveraging IT solutions to drive business results across the globe. He has been with Vmoksha since 14 years and is based out of the Headquarters in Bangalore. Prior to Vmoksha, Anoop has held management positions in various products and services firms such as Pixel Technologies, Compulink Systems (now a part of Glodyne), First Advantage (formerly known as ZapApp). He has travelled in multiple countries and has wide experience in leading & managing global teams. He has a Bachelor of Engineering degree in Electronics from Pune University.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>