cloudinary / cloudinary/cloudinary_php

Noticeably reduced performance with version 2

Ouverte
#244 11 commentaires 1 réaction 1 personne assignée Réclamée par @const-cloudinary Voir sur GitHub
Langage dominant
PHP
Étoiles
399
Forks
151
Métriques de merge des PR
Aucune PR mergée en 30 j

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.

![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

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.