server icon indicating copy to clipboard operation
server copied to clipboard

Problem with request with big payload

Open tocsa opened this issue 4 years ago • 2 comments

Smaller request works well, but larger ones (10MB+ payload, for example large email sets) hangs on processing side. The problem caused by the Arr::dot() call in \Sayja\Server\Binding bindResolve() function line 76

tocsa avatar Jan 19 '22 13:01 tocsa

Hey @tocsa. Can you provide an example so I can reproduce the problem?

tabuna avatar Jan 20 '22 01:01 tabuna

Hello @tocsa. I analyzed this and some other places looking for the problem. I was able to reproduce significant degradation. With big JSON. Which must necessarily have many enums or depth. JSON containing base64 files for weight is not suitable.

To avoid this degradation, I have already changed the code and will make a new release today.

tabuna avatar Jan 24 '22 19:01 tabuna