Can the 4core 8G server, running rails service, support 5000-10000 concurrent requests?

Server configuration: 4core 8G

there are several nginx+rails+mongodb+redis+sidekiq services.

where rails starts 2 worker, and one worker10 thread
sidekiq concurrency is set to 15

how should I optimize or upgrade the server?


if you just return a hello world, you can multiply it by 10, and you don't need to optimize or upgrade.


pressure measurement tool

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-1bdaa5e-3122b.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-1bdaa5e-3122b.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?