how can I be sure my website can handle 15k traffic even if it comes in 1 min?

Hi. I am gonna launch my website a publisher platform. One push notification can bring around 15k traffic in 1-2 mins. How can I be sure that my website will not get down? Is there a test for that? Thanks.
9 Replies
Akama Aka
Akama Aka•7mo ago
Try to do stress testing
Akama Aka
Akama Aka•7mo ago
GitHub
GitHub - mcollina/autocannon: fast HTTP/1.1 benchmarking tool writt...
fast HTTP/1.1 benchmarking tool written in Node.js - mcollina/autocannon
Nihat Avci
Nihat AvciOP•7mo ago
Thank you for your answer. However I couldn't understand how this can work as testing, I am not good at coding 😦
Akama Aka
Akama Aka•7mo ago
You just need to install it with npm i -g autocannon with Admin und run this command: autocannon -c 100 -d 40 -p 10 localhost:3000 -c = The number of concurrent connections to use. default: 10. -d = The number of seconds to run the autocannon. default: 10. -p = The number of pipelined requests to use. default: 1. localhost:3000 = Your Domain There are all other features and functions you can set: https://github.com/mcollina/autocannon?tab=readme-ov-file#command-line
GitHub
GitHub - mcollina/autocannon: fast HTTP/1.1 benchmarking tool writt...
fast HTTP/1.1 benchmarking tool written in Node.js - mcollina/autocannon
Akama Aka
Akama Aka•7mo ago
Please ping me on reply so I can answere faster, just lurking sometimes in here :gx_laugh:
0xShivek
0xShivek•7mo ago
If you are on pages, your UI will be fine. If you are on a traditional server, your API will like die. If you are on serverless, your database will likely die. But all depends on the type of app. If it's just traffic on the landing page, I wouldn't be much concerned.
Nihat Avci
Nihat AvciOP•7mo ago
it's like a blog page, see here: www.scrolli.co. I managed to make this test and i got a lot of timeouts, I'd like to ask one more thing. How can i read the result? Yesterday, cache status: DYNAMIC Today, i changed to HIT
Nihat Avci
Nihat AvciOP•7mo ago
Yesterday: (Cf-Cache-Status:DYNAMIC), and -c 10000 -d 20 -p 100
No description
Nihat Avci
Nihat AvciOP•7mo ago
Today (Cf-Cache-Status:HIT) -c 20000 -d 20 -p 100. Two times higher
No description
Want results from more Discord servers?
Add your server