cloudinary / cloudinary/cloudinary_php

Noticeably reduced performance with version 2

Aperta
#244 11 commenti 1 reazione 1 assegnatario Rivendicata da @const-cloudinary Vedi su GitHub
Lingua principale
PHP
Stelle
399
Fork
151
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

## Bug report for Cloudinary PHP SDK
Before proceeding, please update to latest version and test if the issue persists

## Describe the bug in a sentence or two.
After upgrading to the new PHP SDK (from 1.x to 2.x) I noticed our 50th percentile drop considerably. I isolated the change and reverted back to 1.x and saw my response times go back to where they were previously. Unfortunately New Relic wasn't running correctly so I didn't manage to capture any better metrics.

![image](https://user-images.githubusercontent.com/1100408/108443189-7783cd80-72ac-11eb-847c-d86372f24013.png)

I've opened this issue to see if anyone else has noticed similar issues. I would not have expected simply upgrading Cloudinary to have an a noticeable impact on response time. Additionally - we only use the PHP SDK for URL generation, not for uploading assets or anything, so it should be pretty negligible.

## Issue Type (Can be multiple)
- [ ] Build - Can’t install or import the SDK
- [x] Performance - Performance issues
- [ ] Behaviour - Functions aren’t working as expected (such as generate URL)
- [ ] Documentation - Inconsistency between the docs and behaviour
- [ ] Other (Specify)

## Operating System
- [x] Linux
- [ ] Windows
- [ ] macOS
- [ ] All

## Environment and Frameworks (fill in the version numbers)

- PHP Cloudinary SDK version - 2.0.2
- PHP Version - 8.0.2
- Framework (Laravel, Symphony, etc) - 8.27.0

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.