Wednesday, September 9, 2015

Esp8266 - An Unplanned Stress Test

Saturday (9/5) about 5:00pm, I had an interesting and unexpected surprise, HACKADAY publish a note about my ERB-EspWebServer.

As a result, my Blog and the my ERB-EspWebServer Farm were hammered with Internet requests.

With only one Esp8266 Farm Server working (nod169) at the time (others were offline) the request rate was intense. For the next 16 hours the single Esp8266 served about 1650 page requests for 1050 unique visitors. When "choked" with Internet Requests, the Esp successfully rebooted itself (several times), and I only occasionally had to help with a power-on reboot.


The above shows the first 16 hours of the onslaught.

The next day about 10:00am the Internet Requests were still coming in, I had to leave for the day, and therefore had to leave the Esp to its own fate. It eventually crashed, and therefore it was mostly down for the next 24 hours.

Once I returned, the Internet Requests started up again, with a little less intensity. And now, 4 days later, the Esp is receiving about 10 hits per hour, see current/live stats here. So far, the Esp has handled about 3500 requests.

Today I added new code to serve a local "Server Farm Photo" which is about 30KB, it can be seen on the current Esp Server Info Page.

This has been a fun and exciting Experiment of Esp Web Server Load Survivability, the Esp8266 did well for itself !!


-- Home Page: https://WA0UWH.blogspot.com

3 comments:

  1. Dear Mr.Eldon,
    this is really a innovative project which opens a gate for new vistas. I am very eager to try this. But I find too many ino sketch files in your zip folder and there are only 3 ESP8266 modules. It would be a great help if you could advice me, how to go about.
    With Best regards,
    Ragothaman R. (VU2RRO)

    ReplyDelete
  2. Hi, I missed to notice that, these files are in the same folder and gets added while compiling. I will try now.

    ReplyDelete
  3. Yes, all of the *.ino files compile as a single blob. I use the Arduino IDE (REV 1.6.5) with ESP Support Options, which compiles and download all to the ESP8266.

    ReplyDelete