We are experiencing significant performance issues with our Laravel application deployed on Koyeb. Looking to see if others in the community have faced similar issues or found solutions.
Environment Details:
- Koyeb Web Service (Instance: CPU Standard Medium)
- Koyeb Database (Instance: Medium)
- Deployment: Using Buildpack
- Laravel Version: 10.x
- PHP Version: 8.2
- UI Enhancement Library: [backpack]
Current Issues:
- Initial page loads and page transitions take 5-10 seconds
- Disk I/O appears to be unusually slow
- These issues persist despite running on Linux + Docker environment
What We’ve Investigated:
- Tested using Koyeb persistent volume for /var/www/html/vendor with a simpler Laravel application
- Performance improvements were observed
- However, operational challenges exist (inability to unmount volumes, additional steps required for cache clearing)
- Aware of common vendor directory mounting issues with Docker + Laravel
- These should not have significant impact in Linux environments
Questions:
- Are there any Koyeb-specific configurations available to improve I/O performance?
- Specifically regarding disk I/O configuration options
- Possibilities for filesystem performance tuning
- Regarding the use of persistent volumes for vendor directory:
- While performance improvements were confirmed, we face these operational challenges:
- Unable to unmount volumes
- Need for cache clearing with fixed volumes
- Increased operational costs
- Are there any alternative solutions to these challenges?
- Regarding AWS backbone usage:
- When selecting AWS as the backbone for Koyeb web service, does it effectively become an Amazon Linux 2 + Docker configuration?
- Could this configuration change potentially resolve our current performance issues?
Additional Question:
4. Community Experience:
- Has anyone else in the Koyeb community experienced similar performance issues with Laravel applications?
- If so, what solutions or workarounds have you found effective?
- Are there any known issues or discussions about Laravel performance on Koyeb’s platform?
Thank you for your support.