The Programmer News Hubb
Advertisement Banner
  • Home
  • Technical Insights
  • Tricks & Tutorial
  • Contact
No Result
View All Result
  • Home
  • Technical Insights
  • Tricks & Tutorial
  • Contact
No Result
View All Result
Gourmet News Hubb
No Result
View All Result
Home Tricks & Tutorial

Implement queue inside an API Gateway? : softwaredevelopment

admin by admin
December 22, 2022
in Tricks & Tutorial


Recently we have this client who asks for a API Gateway solution, in this case it’s Kong. Currently, they have 10 services (200 APIs) that are running on really legacy stuff (built with C++ and Fortran). It’s a pain for third party to integrate, hence they ask for API Gateway as a front to handle authentication, rate limiting, and etc.

However, there’s one thing that I can’t grasp, personally I don’t think they do too. Because of the low QPS, they specifically asked for a Message Queue server that sits between the API Gateway and rest of the services. Reason being we should hold any incoming services in the queue, and release them to the legacy services once they are done with the previous requests. As the architecture diagram here.

I think the intention is good, pausing incoming requests to not further burden the legacy services. But given the nature of MQ, doesn’t it mean existing frontend application will need to change the way they handle request/response too? To event based, callback style or socket notification.

And also putting a queue in the middle is essentially adding unnecessary complexity to the entire platform right? Personally, I think what they should do is to rework the existing services, identify the bottleneck and make them scalable.

I’ve googled quite a bit and I don’t find any relevant implantation. Is this an anti-pattern or am I missing something? Please let me know what do you all think. Thanks in advance!



Source link

Previous Post

Some of The Best IDE and Code Editors for Python

Next Post

How AI in Recruitment is Revolutionizing the Hiring Space?

Next Post

How AI in Recruitment is Revolutionizing the Hiring Space?

Recommended

Talent Analytics – A Holistic Guide to Enhance Human Capital Investment

6 months ago

Playwright vs Cypress: The King Is Dead, Long Live the King?

4 months ago

35 Tutorials to Learn & Master Adobe Lightroom

3 months ago

8 Amazing Metallic Effects Built With CSS and JavaScript

2 months ago

What’s new in Visual Studio in 2022

7 months ago

What Is Solidity? Ultimate Guide To Become A Proficient Solidity Developer

4 months ago

© The Programmer News Hubb All rights reserved.

Use of these names, logos, and brands does not imply endorsement unless specified. By using this site, you agree to the Privacy Policy and Terms & Conditions.

Navigate Site

  • Home
  • Technical Insights
  • Tricks & Tutorial
  • Contact

Newsletter Sign Up.

No Result
View All Result
  • Home
  • Technical Insights
  • Tricks & Tutorial
  • Contact

© 2022 The Programmer News Hubb All rights reserved.