You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fetching a card by id requires three round-trips (the 2nd two in parallel) from the database:
request card by id
returns id_view, id_data
request view, request data
return viewName, questionData
render the appropriate view with the returned data
This is too slow for fetching to occur between each viewed card. A card cache should exist that stores cards data locally in an associative array, with the id_card as key.
Card loading should check the cache first and perform db lookups when necessary.
The text was updated successfully, but these errors were encountered:
Fetching a card by id requires three round-trips (the 2nd two in parallel) from the database:
This is too slow for fetching to occur between each viewed card. A card cache should exist that stores cards data locally in an associative array, with the
id_card
as key.Card loading should check the cache first and perform db lookups when necessary.
The text was updated successfully, but these errors were encountered: