<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
On Tuesday 30 March 2010 09:13:58 shruti jain wrote:<br>
> I am a final year student of computer science. I intend to contribute to<br>
> plasma and see GSoC 2010 as a good starting point for that. I have<br>
> participated in GSoC 2009 as well. I am proficient in C/C++ and network<br>
> programming as well. I have also been the system administrator of my<br>
> university.<br>
> I am interested in Plasmoid data caching project. I am doing research on<br>
> speculative execution at my university. It has a similar concept of<br>
> starting execution on cached data while the most recent copy of data is<br>
> not available from the server and avoid downloading from server if the<br>
> data has not changed since it was cached.<br>
><br>
> Presently, plasmoids such as news etc do not show anything when Plasma<br>
> netbooks are disconnected from the network. The idea is to use the cached<br>
> data when network is not available and refresh when network is available.<br>
> I think that the project can be extended to incorporate collaborative<br>
> caching as well. Even if the network is present, we can take the data from<br>
> caches of other clients on the network. This reduces the load on the server<br>
> from where the data(like news) is being fetched. This also fetches a more<br>
> recent data in case of proxy failures.<br>
><br>
> Please send me your comments on the idea and any suggestions to improve the<br>
> same.<br>
<br>
Two things that are probably interesting:<br>
<br>
- Akonadi: can access and transparently cache arbitrary types of data<br>
<br>
- Network status notifier: can tell you when an internet connection becomes available<br>
<br>
Combining those two things can get you quite far already.<br>
--<br>
sebas<br>
<br><br></blockquote></div>So the flow should be:<br>1. Creating an Akonadi resource for the plasmoids<br>2. running Network status notifier to see if connection is available<br>3. If not then show the data in Akonadi cache.<br>
4. If yes then access data sources using Akonadi capabilities.<br>Right ?<br><br>What about the collaborative caching part ? Do you think that accessing data from other client's cache would be useful ?<br><br>Thank You<br>
<br>Shruti<br>