{ Community }
  • Academy
  • Docs
  • Developers
  • Resources
    • Community Articles
    • Apigee on GitHub
    • Code Samples
    • Videos & eBooks
    • Accelerator Methodology
  • Support
  • Ask a Question
  • Spaces
    • Product Announcements
    • General
    • Edge/API Management
    • Developer Portal (Drupal-based)
    • Developer Portal (Integrated)
    • API Design
    • APIM on Istio
    • Extensions
    • Business of APIs
    • Academy/Certification
    • Analytics
    • Events
    • Hybrid
    • Integration (AWS, PCF, Etc.)
    • Microgateway
    • Monetization
    • Private Cloud Deployment
    • Insights
    • IoT Apigee Link
    • BaaS/Usergrid
    • BaaS Transition/Migration
    • Apigee-127
    • New Customers
    • Topics
    • Questions
    • Articles
    • Ideas
    • Leaderboard
    • Badges
  • Log in
  • Sign up

Get answers, ideas, and support from the Apigee Community

  • Home /
  • API Design /
avatar image
0
Question by Nitin Tyagi · Jul 24, 2017 at 08:57 PM · 1.3k Views orchestrationchaining

Proxy Chaining vs Service Callouts

Hi All,

We are currently designing a Micro Services Based API solution which would require orchestrating API responses, in order to provide Coarse-Grained Business feature API's. Reading thorough Documentation there seems to be multiple options. Wanted to understand from the group about the scenario's where in one would be preferred over other & also the primary difference between 1 & 2.

  • 1) Using Proxy Chaining : http://docs.apigee.com/api-services/content/connecting-proxies-other-proxies
  • 2) Using Service Callouts (specifically Node for Async Behavior): http://docs.apigee.com/api-services/reference/service-callout-policy
  • 3) Manage Orchestration outside Apigee.

Comment
Add comment
10 |5000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by Apigeeks only
  • Viewable by the original poster
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Close

2 Answers

  • Sort: 
avatar image
1

Answer by davissean   · Jul 25, 2017 at 06:48 AM

Proxy chaining and Service Callouts are not mutually exclusive :)

'Proxy Chaining' is the nickname for using a LocalTargetConnection. This can be set in a TargetEndpoint or in a ServiceCallout.

To answer your question fully, I would like to know if the requests you are trying to orchestrate are all Apigee API requests, or requests to Target Backend systems.

If it is between Apigee proxies, Proxy Chaining is the way to go. If it it multiple Backend systems I would use vanilla Service Callouts. Alternatively you can use Javascript's HTTP Client or NodeJS to make some of these calls in parallel.

If you would like to discuss this further, please provide a bit more info around the targets of the requests, and if you would like them to be executed sequentially or in parallel.

Many thanks, Sean

Comment
Add comment Show 1 · Link
10 |5000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by Apigeeks only
  • Viewable by the original poster
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Nitin Tyagi · Jul 25, 2017 at 06:55 PM 0
Link

Thanks for the response @Sean Davis.

My use case is the latter one. We primarily want to orchestrate multiple backend calls to build one business API. An example could be Product Details API call being served by multiple Micro Services like price, inventory, review etc.

Wanted to understand if business users (Non Tech) can also build the Service callouts or will it always require a Developer intervention?

avatar image
0

Answer by Mahammad Feroz · Sep 18, 2017 at 02:20 PM

@Nitin Tyagi, As per my understanding you are talking about composite APIs where for an incoming request; we need to make calls to multiple backend services and then mash up all those responses in to a single response object prior sending it to client.

This can be implemented using Javascript policy or NodeJS which requires expertise in JavaScript. Hence you need a developer for implementing this solution.

Comment
Add comment · Link
10 |5000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by Apigeeks only
  • Viewable by the original poster
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Follow this Question

Answers Answers and Comments

39 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Transaction Integrity of multiple back end API calls using single API Proxy 1 Answer

Can I perform Orchestration within the Apigee API Gateway? 1 Answer

  • Products
    • Edge - APIs
    • Insights - Big Data
    • Plans
  • Developers
    • Overview
    • Documentation
  • Resources
    • Overview
    • Blog
    • Apigee Institute
    • Academy
    • Documentation
  • Company
    • Overview
    • Press
    • Customers
    • Partners
    • Team
    • Events
    • Careers
    • Contact Us
  • Support
    • Support Overview
    • Documentation
    • Status
    • Edge Support Portal
    • Privacy Policy
    • Terms & Conditions
© 2019 Apigee Corp. All rights reserved. - Apigee Community Terms of Use - Powered by AnswerHub
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Create an article
  • Post an idea
  • Spaces
  • Product Announcements
  • General
  • Edge/API Management
  • Developer Portal (Drupal-based)
  • Developer Portal (Integrated)
  • API Design
  • APIM on Istio
  • Extensions
  • Business of APIs
  • Academy/Certification
  • Analytics
  • Events
  • Hybrid
  • Integration (AWS, PCF, Etc.)
  • Microgateway
  • Monetization
  • Private Cloud Deployment
  • Insights
  • IoT Apigee Link
  • BaaS/Usergrid
  • BaaS Transition/Migration
  • Apigee-127
  • New Customers
  • Explore
  • Topics
  • Questions
  • Articles
  • Ideas
  • Members
  • Badges