jczic / MicroWebSrv2

The last Micro Web Server for IoTs (MicroPython) or large servers (CPython), that supports WebSockets, routes, template engine and with really optimized architecture (mem allocations, async I/Os). Ready for ESP32, STM32 on Pyboard, Pycom's chipsets (WiPy, LoPy, ...). Robust, efficient and documented!
https://github.com/jczic/MicroWebSrv2
MIT License
662 stars 97 forks source link

Expected upstream speed #46

Open tionebrr opened 4 years ago

tionebrr commented 4 years ago

Hello @jczic I am trying some file transfers over wifi from an SDcard (in SPI mode). MWS2 has been integrated as a module into micropython. I am trying the demo and changed the PDF file for a bigger one to make some speed tests. I'm seeing 30kB/sec which is ten times under what I was expecting. I don't really understand why it is so slow. Do you have some recommendations or tips to achieve better performances? Do you know where the bottleneck might be? Is there a significant gain from an SD wired with 4 data lines?