Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Async & Bulk REST API new possibilities of communication between systems

161 views

Published on

Async & Bulk REST API - new possibilities of communication between systems - Marek Borzęcki, Team Leader at Divante
Presentation originally presented at Magento Lightning Talks meetup on October 3rd, 2019, in Divante HQ.
Learn more at Divante at https://divante.com
Check out more Magento Lightning Talks at https://divante.com/blog/tag/magento-lightning-talks/

Published in: Internet
  • Be the first to comment

Async & Bulk REST API new possibilities of communication between systems

  1. 1. Async & Bulk REST API new possibilities of communication between systems Marek Borzęcki | Divante Team Leader
  2. 2. Integrations Is the game worth the candle? Async & Bulk REST API
  3. 3. Async & Bulk REST API
  4. 4. Async & Bulk REST API
  5. 5. Async & Bulk REST API
  6. 6. Does REST API works for single requests ? Async & Bulk REST API
  7. 7. Demo 1: single REST API request Async & Bulk REST API
  8. 8. Does REST API works for BULK requests ? Async & Bulk REST API
  9. 9. Demo 2: bulk REST API requests Async & Bulk REST API
  10. 10. How does REST API works ? Async & Bulk REST API
  11. 11. So, how to optimize it ? Thanks, Async & Bulk Rest API Async & Bulk REST API
  12. 12. Async REST API TODO 1. configure RabbitMQ [DevOps 1h] 2. configure Magento [Developer 15 min] 3. add /async to REST API request [Developer 15 min] Async & Bulk REST API
  13. 13. Demo 3: Async REST API requests Async & Bulk REST API
  14. 14. Async & Bulk REST API TODO 1. merge requests 2. add /async/bulk to REST API request [Developer 15 min] Async & Bulk REST API
  15. 15. Demo 4: Async & Bulk REST API requests Async & Bulk REST API
  16. 16. Test for 100 products REST API Async REST API Async & Bulk REST API 1 x M2 process 101 s 82 s 66 s 4 x M2 process 42 s 30 s Async & Bulk REST API
  17. 17. Conclusions: 1. Thanks Async & Bulk API you will be able to optimize min 50% integration efficiency 2. About 95% REST API methods support POST, PUT, PATCH, DELETE async requests (not support GET requests) 3. Async & Bulk available from Magento 2.3 version 4. You will be able to check/update all async processes 5. Bulk API split request to separate requests in queue 6. You have to try it ! :) Async & Bulk REST API
  18. 18. Questions? Hi, my name is Marek Borzęcki I am a TRIBE Tech leader responsible for Magento 2 platform at Divante, one of the biggest Magento Agencies in Europe eCommerce Solution Architect experienced in B2B and Marketplace Magento 2 Solution Specialist and also Developer email: mborzecki@divante.com mobile: +48 661 446972 /marek-borzecki
  19. 19. LEARN MORE AT DIVANTE.COM/BLOG

×