Generic

A good API responds right away

Share this post:

The success of a valuable API can be measured by the extent to which it is invoked. After all: the more valuable an API is for developers and businesses, the more extensive – and intensive – its use. It is essential that the performance of the service offered is in line with demand. This imposes requirements on the architecture that is chosen. This must be scalable, while at the same time being versatile, safe and offering high performance levels.

Let’s delve briefly into the technique. Experience teaches that Java-based API gateways have a number of disadvantages: for example, they are more susceptible to attacks and security issues. Specifically, they are based on the so-called ‘blocking’ or ‘thread-per-request’ principle for processing API traffic. That model works well for an average, uniform load, but does not perform as well in a more dynamic environment. Moreover, this technology is far from optimal in terms of being able to linearly scale the service provision.


Why your business needs APIs – And why your APIs need IBM API Connect

 

Event-based

Conversely, a so-called ‘non-blocking’, event-based I/O architecture delivers much better performance and scalability, higher processing speeds and lower response time. Moreover, server utilization remains high, because this is set up for immediate processing and does not place tasks in a queue.

APIs work for sending and receiving data using the older XML format (for SOAP-based APIs) as well as for JSON for modern REST APIs. API gateways must be able to deal with both these formats equally well. Many APIs are nonetheless based on SOAP APIs, which convert the XML, which is comprised of various layers, into JSON. The speed with which this takes place can drastically affect the ultimate performance, in particular when processing large files. A native parser can offer a solution here.

IBM’s API Gateway, with such a non-blocking architecture, contains native parsers and compilers for parsing and composing both JSON and XML. It is constructed based on patented algorithms, integrated within IBM’s API Connect, and geared to optimum performance.


Download a test version of IBM API Connect >>>


 

More stories

Automate work and accelerate business growth

Many companies need help to navigate the rapid changes that define today’s business environment. To improve their responsiveness and flexibility, they are looking for new ways of conducting business, rethinking their processes, and investing in digital transformation projects to increase the robustness of their operations. They rely on business automation technologies to cut out repetitive […]

Continue reading

Sustainability and the technologies enabling the transition

Creating a sustainable future demands significant technological innovation to decarbonize society, restore biodiversity and ecosystem health, foster thriving oceans for sustenance and economic growth, remove atmospheric carbon, transition to sustainable agriculture, and advance eco-friendly cities that align with our vision for a better future. Generative AI has achieved much in recent years and now surpasses […]

Continue reading

Technology in action at Think Summit 2021

  Covid 19, the energy transition and climate change require business agility… right away! Organizations that are slowly starting their digital transformation are irrevocably overtaken by competitors: companies that can quickly realize new, sustainable business models with a remote workforce. How can organizations leverage innovations such as AI, machine learning and hybrid cloud to make […]

Continue reading