Arquisoft / viade_en3b

Viade en3b
0 stars 3 forks source link

What do we do with the cache? #113

Open ElenaRodriguezRio opened 4 years ago

ElenaRodriguezRio commented 4 years ago

Right now we store the routes in the app not to be retrieve from solid all the time. This has bugs at the moment because it does not update correctly.

We have a few options:

More ideas and opinions are welcome :)

CarmenVigo commented 4 years ago

I think that accessing the pod every time that some information is needed will worsen performance. So I am between the following options:

ElenaRodriguezRio commented 4 years ago

I feel like for actually fixing it, and make it work properly, the ammount of times the application would have to access the pod and refresh the information would be similar to the non existance of the cache.

Furdermore, for the ammount of data we are managing at this moment does not affect that much the performance to really worry about it and spend our valuable time fixing it.

Another thing would be if storing the data, even though it is for a short time, would be aligned with the solid goal. I think that our application should display and give the user tools to modify the data, but not store it, despite the performance when it comes to retrieve data from solid.

UO264850 commented 4 years ago

I think we should keep the cache and fix it as the amount of information to manage now is small, but might increase in the future, and the performance will be negatively affected