Open kacasey8 opened 10 years ago
The site kinda slows down on local with 40 meals 50 ingredients. I think the app will scale quite a bit if we can nail these three things.
get an index on foreign keys (especially group_id)
datatables need to paginate to reduce DB load. Should be able to refer to http://railscasts.com/episodes/340-datatables
We should cache how much people owe each other if possible
first one is easy, second is doable but takes some effort, third is probably fairly complex.
The site kinda slows down on local with 40 meals 50 ingredients. I think the app will scale quite a bit if we can nail these three things.
get an index on foreign keys (especially group_id)datatables need to paginate to reduce DB load. Should be able to refer to http://railscasts.com/episodes/340-datatables
We should cache how much people owe each other if possible
first one is easy, second is doable but takes some effort, third is probably fairly complex.