Noticeably reduced performance with version 2
@const-cloudinary y travaille déjà.
Depuis le 19/2/2021.
Évaluation
Cette issue n'a pas encore été évaluée.
Description
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.

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
- 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
- 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
- Langage dominant
- PHP
- Étoiles
- 402
- Forks
- 151
- Merge moyen
- 37 min
- PR mergées (30 j)
- 2
Préparer son environnement
- Aucun Dockerfile ni fichier Docker Compose
- Propose un modèle de pull request
- Lire le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de cloudinary/cloudinary_php
-
API returns 500 "General Error" when trying to upload an image that is larger than the `chunk_size`Ouverte
Difficulté 4/5 3-5 jours Accessibilité débutants 32/100
cloudinary/cloudinary_php#412 · 2 commentaires ·
-
Update access mode method not available in SDKPeut-être à nouveau libre @aleksandar-cloudinary l’a pris il y a 1632 jours, et aucune pull request n’est ouverte. Ouverte
cloudinary/cloudinary_php#358 · 10 commentaires · 1 personne assignée ·
Toutes les issues de cloudinary/cloudinary_php
Issues similaires
-
Old /download.php attachment links: redirect drops the subfolder, nginx.example.conf returns 404OuverteBug
Difficulté 2/5 1-3 heures Accessibilité débutants 68/100
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 Moins d'une heure Accessibilité débutants 82/100
Les mainteneurs répondent en général sous 1 jour
-
0. Needs triage 35-feedback bug
Difficulté 2/5 1-3 heures Accessibilité débutants 66/100
Les mainteneurs répondent en général sous 1 jour
-
bug
Difficulté 1/5 Moins d'une heure Accessibilité débutants 72/100
wpgenius/stackfolio#22 ·
-
Import-loop editor checks fail on non-English sites: selectors assume English wp-admin labelsOuverte
Difficulté 2/5 1-3 heures Accessibilité débutants 62/100
Automattic/static-site-importer#3024 ·
Les mainteneurs répondent en général sous 1 jour