Ask for linux picture (nginx+lua) (static file css/js) server hardware configuration?

Happy New year, my friends!
currently wants to configure a picture server, which can realize the following website picture server functions
https://car2.autoimg.cn/cardf...
, that is, upload an image. You can generate the corresponding size image through nginx+lua through different parameters in url

.

want to know how to choose this kind of server hardware configuration (for example, need cpu multi-core or more memory, or only need ssd, I am very bad at this aspect), thank experienced friends for advice!

Jul.10,2022

I think the hardware configuration mainly depends on

  1. Server visits, concurrency
  2. Image clipping efficiency

you can first use the local server to simulate and estimate the configuration.
of course, when the requirements are not high, you can first get a low-configuration one and upgrade it according to the situation.


it is recommended to use Aliyun's oss or Qiniuyun's storage. They already have these functions, and the cost is not very high.


put Qiniu in the picture

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1c1dd9d-333ac.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1c1dd9d-333ac.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?