cloudinary / cloudinary/cloudinary_php

Noticeably reduced performance with version 2

Abierto
#244 11 comentarios 1 reacción 1 asignado Reclamado por @const-cloudinary Ver en GitHub
Lenguaje dominante
PHP
Estrellas
399
Forks
151
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

## 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

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.