DevOps Fixed Price

Reduce EC2 PHP-FPM Response Time by 60 % with OPcache, JIT & Real-ip Logging

Posted 1 year ago  ·  0 proposals


Budget

$890.00

Level

Junior

Location

Germany

Posted

Sep 26, 2025

Proposals

0

Job Type

Fixed Price

Job Description

Problem you’re facing:

Your REST endpoint written in PHP 8.2 + Laravel serves 80 k requests/day from a t3.large EC2 instance. Average response time is 2.4 s, CPU hovers at 70 % and New-Relic shows 1.8 s in PHP exclusive time. You have not enabled OPcache, JIT or real-ip logging; APCu is missing and php-fpm pm is still on static. You need faster UX without upgrading hardware.

What I will do for you (step-by-step):

  • Take AMI snapshot for rollback safety.
  • Install and configure OPcache (128 MB, validate_timestamps=1, revalidate_freq=60).
  • Enable PHP 8.2 JIT (tracing, buffer 64 M, max root buffers 1024).
  • Switch php-fpm from static to dynamic (pm.max_children=50, start=20, min_spare=5, max_spare=15).
  • Add real-ip module to nginx so Laravel TrustProxies works behind ALB.
  • Install APCu (laravel cache driver) and warm application config/cache.
  • Add micro-cache (1 s) for 404/static assets inside nginx.
  • Deliver 1-page runbook so you can repeat the same on staging.

Deliverables:

  • Updated php.ini, www.conf, nginx.conf committed in your repo.
  • OPcache GUI one-file dashboard for future monitoring.
  • ab result CSV + New-Relic comparison PNG.
  • Rollback AMI ID tagged pre-optimization-backup.

Business value:

API latency drops below 1 s without touching code; mobile users stop complaining; you postpone expensive instance upgrade; finance sees lower CPU credit burn.

Why choose me (Junior):

  • LFCS certified, 40+ VPS tunings, average 55 % latency cut.
  • Response time <1 h on weekdays; 7-day email support included.
  • Provide Terraform snippet if you want to repeat on Auto-Scaling group.
Required Skills
About the Client
Lena Schmidt

Lena Schmidt

Client  ·  Germany

Login as a freelancer to apply

Lena Schmidt

Lena Schmidt

Offline

Germany


Member Since
Aug 2025
Total Jobs Posted
6
Total Spent
$3,070.00

Cookies & Privacy Settings

We use cookies and similar technologies to make FEATMATE work, to secure your account, and to improve our services. Some cookies are strictly necessary and are always active. With your permission, we will also use optional cookies (such as analytics and marketing) to understand how our site is used and to personalize your experience. By clicking “Accept all”, you agree to the use of non-essential cookies as described in our Privacy & Cookie Policy. You can change or withdraw your consent at any time by clicking “Manage settings” or by using the cookie link in the footer.