ubx / start-list

Distributed start list for glider pilots
http://start-list-hrd.appspot.com/?place=grenchen%20gld
3 stars 0 forks source link

Optimization: read Airfields only on demand #53

Closed ubx closed 13 years ago

ubx commented 13 years ago

The dashboard, Current Load displays: URI Requests last 10 hrs Avg CPU (API) last hr % CPU /startlist/flightentries 57 19682 (18144) 74% /startlist/airfields 9 39004 (36259) 24%

The airfields load could be easily reduced if we would load (lazy read) only if an user wants to create/modify an FlightEntry.

ubx commented 13 years ago

Fixed in v1.1.5: Load Places and Pilots only if logged in.