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

Essential Skills That are Needed in a Workplace

1 month ago

How to Prepare for Coles Interview Questions

2 months ago

State of CSS 2022 Survey Now Open | CSS-Tricks

4 months ago

The Best Figma Plugins to Create & Manage Design Systems

3 months ago

What Is Docker And What Is It Used For?

2 months ago

Weekly News for Designers № 667

3 months ago

© 2022 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.