Networking Performance with WebServer
Started by dayland, Oct 26 2010 09:43 PM
4 replies to this topic
#1
Posted 26 October 2010 - 09:43 PM
Here is yet another version of a WebServer. This version assumes the web pages are stored on the SD card, and looks for a default.htm page and then can load the rest from there. I have tested this with a sivlerlight application and have found that reading the file from the SD card is fast but sending the data on the Socket is taking a very long time.
Read 8000 bytes from SD card = <1 second
Send that 8000 bytes with Socket.Send() = 12 - 15 seconds
Please have a look and let me know if I am doing something wrong, or if this is a limitation of the beta networking.
I want to use the N+ as a Serial to Ethernet adapter for my Elk security system, and would love to be able to host the Silverlight website directly on it.
Thanks,
Daylan D
#2
Posted 26 October 2010 - 09:58 PM
Wow, very cool project. Are you using the v4.1.0.5 beta 2 firmware?
Chris
#3
Posted 27 October 2010 - 02:18 AM
Nope... didn't realize the Beta2 was out. I am on Beta 1 currently.. will upgrade tomorrow and see if it makes a difference.
#4
Posted 31 October 2010 - 04:48 AM
Daylan,
Did the v4.1.0.5 beta 2 firmware get your networking up to speed?
Chris
Edited on October 31 2010
Did the v4.1.0.5 beta 2 firmware get your networking up to speed?
Chris
Edited on October 31 2010
#5
Posted 31 October 2010 - 06:40 AM
Daylan,
Did the v4.1.0.5 beta 2 firmware get your networking up to speed?
Chris
Edited on October 31 2010
Yes the beta 2 firmware was much better. In testing with the Beta 2 I was able to send 10000 byte chunks in <1 second. Networking speed is greatly improved!
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users