Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with request with big payload #27

Open
tocsa opened this issue Jan 19, 2022 · 2 comments
Open

Problem with request with big payload #27

tocsa opened this issue Jan 19, 2022 · 2 comments

Comments

@tocsa
Copy link

tocsa commented Jan 19, 2022

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

@tabuna
Copy link
Member

tabuna commented Jan 20, 2022

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

tabuna added a commit that referenced this issue Jan 24, 2022
@tabuna
Copy link
Member

tabuna commented Jan 24, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants