zackad / manga-server

Serve your manga collection over network.
MIT License
3 stars 0 forks source link

Docker image performance optimization #234

Open zackad opened 2 days ago

zackad commented 2 days ago

Ref: https://frankenphp.dev/docs/performance/

TODO:

 -------------------- --------------------------------- 
  Symfony                                               
 -------------------- --------------------------------- 
  Version              6.4.13                           
  Long-Term Support    Yes                              
  End of maintenance   11/2026 (in +757 days)           
  End of life          11/2027 (in +1122 days)          
 -------------------- --------------------------------- 
  Kernel                                                
 -------------------- --------------------------------- 
  Type                 App\Kernel                       
  Environment          prod                             
  Debug                false                            
  Charset              UTF-8                            
  Cache directory      ./var/cache/prod (16.1 MiB)      
  Build directory      ./var/cache/prod (16.1 MiB)      
  Log directory        ./var/log (5 KiB)                
 -------------------- --------------------------------- 
  PHP                                                   
 -------------------- --------------------------------- 
  Version              8.3.13                           
  Architecture         64 bits                          
  Intl locale          n/a                              
  Timezone             UTC (2024-11-03T04:54:48+00:00)  
  OPcache              false                            
  APCu                 false                            
  Xdebug               false                            
 -------------------- ---------------------------------
zackad commented 1 day ago

I'm not sure changing base image from alpine to debian is a good decision. Unless we have solid benchmark number with significant different performance, I think I'll keep the minimal image based on alpine.