EFForg / OpenWireless

The official home of the EFF OpenWireless Project
Other
732 stars 80 forks source link

Many interactions such as loading dashboard, loading settings page etc are too slow. #274

Open Rangak opened 9 years ago

Rangak commented 9 years ago

Could not get done in time for MVP-EarlyAdopter. Moving to beta.

Rangak commented 9 years ago

Check if #281 fixes this.

Rangak commented 9 years ago

Significant speedup with https://github.com/EFForg/OpenWireless/commit/17d8eaf328e5e700c3281b0759e900cfb656010d . Profiled the remaining latency. 1.5 sec to load python, another 1.3 seconds to do the imports. So potential 2.5 - 3 seconds improvement still possible with python fcgi or freeze or cython.

Rangak commented 9 years ago

Looks like right solution to not have python startup is to use a HTTP/WSGI server. Lighttpd would fwd all JSONRPC calls to the HTTP/WSGI server. Lighttpd would still serve all static files. The HTTP/WSGI server would run all python scripts. This seems simpler than using fcgi.