cloud-sdk-js icon indicating copy to clipboard operation
cloud-sdk-js copied to clipboard

Migration from V1 to V4: batch requests becomes too slow (NodeJs22.xx)

Open abdev2019 opened this issue 8 months ago • 1 comments

Describe the Question

Hey! After upgrading my project to NODE 22.XX & dependencies; +Lot of things have been changed in generated entities from EDMX files. +Just after upgrade, I noticed big increase of latency in batch requests, when I increased the aws lambda memory size, the requests latency decreased a little bit. But after doing a second upgrade, the requests latency got worst. The issue concerns just batch request.

I probably suspect the issue in generated entity size becomes too big during parsing & reading from server, are there any hints to make the flow light like in version 1 ?

This is similar: https://github.com/SAP/cloud-sdk-js/issues/3930#issuecomment-1598271790 (I mean the entity fields and also logging entity produces big output)

Thank you!   Image

abdev2019 avatar May 26 '25 01:05 abdev2019

Hi @abdev2019 ,

Thanks for reporting this. Can you narrow your case and provide us a simple EDMX with which we can reproduce the behaviour? It is very hard to tell a specific reason due to the many changes of SDK over years.

ZhongpinWang avatar May 30 '25 11:05 ZhongpinWang