Talend ESB- Integrating Multiple Endpoints in a Single Service and Performance Optimization

Four Stars

Talend ESB- Integrating Multiple Endpoints in a Single Service and Performance Optimization

So there are few instances where we have to merge multiple services into a single service with Multiple Endpoints. Lets Take and example here.

1st service endpoint like : Productcolor/Operation

2nd service end point like : Productprice/Operation

we can merge these 2 endpoints saying that : Product/Color and Product/Price in a single service. so the Best way to use the endpoints is to add "if" Trigger conditions based on the "URI".

So how "IF" Trigger helps?

So when ever we are integrating multiple endpoints into a single service, and run the process it activates all the components which will leads to more JVM memory consumption. So If we use IF triggers only that flow will be activated after IF condition which needs to be run, rest other flows will be de-activated.

Suppose you have 30 components in 1st endpoint Flow and 20 components in the 2nd Flow , If you don't use the IF Triggers it will activate all the 50 components and memory consumption will be high which lead to Degraded response Time,And if you use "IF Trigger" (Like condition if URI.equals("Color")) then it will only activate that flow which satisfy the condition it wont activate the other flow. which will Optimize the Response.

Community Manager

Re: Talend ESB- Integrating Multiple Endpoints in a Single Service and Performance Optimization

This is not an ideal design. There is no reason I can think of for so many operations to be contained in one service. Why is this necessary? What if you need to amend one particular operation? You will have to take down all of your services to make a change. 

2019 GARNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

An API-First Approach to Modernizing Applications

Learn how to use an API-First Approach to Modernize your Applications

Watch Now

Best Practices for Using Context Variables with Talend – Part 3

Read about some useful Context Variable ideas

Blog

Best Practices for Using Context Variables with Talend – Part 4

Pick up some tips and tricks with Context Variables

Blog