From kde-panel-devel Tue Mar 30 15:44:23 2010 From: shruti jain Date: Tue, 30 Mar 2010 15:44:23 +0000 To: kde-panel-devel Subject: Re: Plasma-devel Digest, Vol 21, Issue 98 Message-Id: <59714e761003300832i688ca5b8g8356baedd2d77399 () mail ! gmail ! com> X-MARC-Message: https://marc.info/?l=kde-panel-devel&m=126996321019000 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--===============0144899103==" --===============0144899103== Content-Type: multipart/alternative; boundary=001636457c9a0d8ac50483065696 --001636457c9a0d8ac50483065696 Content-Type: text/plain; charset=ISO-8859-1 > > On Tuesday 30 March 2010 09:13:58 shruti jain wrote: > > I am a final year student of computer science. I intend to contribute to > > plasma and see GSoC 2010 as a good starting point for that. I have > > participated in GSoC 2009 as well. I am proficient in C/C++ and network > > programming as well. I have also been the system administrator of my > > university. > > I am interested in Plasmoid data caching project. I am doing research on > > speculative execution at my university. It has a similar concept of > > starting execution on cached data while the most recent copy of data is > > not available from the server and avoid downloading from server if the > > data has not changed since it was cached. > > > > Presently, plasmoids such as news etc do not show anything when Plasma > > netbooks are disconnected from the network. The idea is to use the cached > > data when network is not available and refresh when network is available. > > I think that the project can be extended to incorporate collaborative > > caching as well. Even if the network is present, we can take the data > from > > caches of other clients on the network. This reduces the load on the > server > > from where the data(like news) is being fetched. This also fetches a more > > recent data in case of proxy failures. > > > > Please send me your comments on the idea and any suggestions to improve > the > > same. > > Two things that are probably interesting: > > - Akonadi: can access and transparently cache arbitrary types of data > > - Network status notifier: can tell you when an internet connection becomes > available > > Combining those two things can get you quite far already. > -- > sebas > > > So the flow should be: 1. Creating an Akonadi resource for the plasmoids 2. running Network status notifier to see if connection is available 3. If not then show the data in Akonadi cache. 4. If yes then access data sources using Akonadi capabilities. Right ? What about the collaborative caching part ? Do you think that accessing data from other client's cache would be useful ? Thank You Shruti --001636457c9a0d8ac50483065696 Content-Type: text/html; charset=ISO-8859-1

On Tuesday 30 March 2010 09:13:58 shruti jain wrote:
> I am a final year student of computer science. I intend to contribute to
> plasma and see GSoC 2010 as a good starting point for that. I have
> participated in GSoC 2009 as well. I am proficient in C/C++ and network
> programming as well. I have also been the system administrator of my
> university.
> I am interested in Plasmoid data caching project. I am doing research on
> speculative execution at my university. It has a similar concept of
> starting execution on cached data while the most recent copy of data is
> not available from the server and avoid downloading from server if the
> data has not changed since it was cached.
>
> Presently, plasmoids such as news etc do not show anything when Plasma
> netbooks are disconnected from the network. The idea is to use the cached
> data when network is not available and refresh when network is available.
> I think that the project can be extended to incorporate collaborative
> caching as well. Even if the network is present, we can take the data from
> caches of other clients on the network. This reduces the load on the server
> from where the data(like news) is being fetched. This also fetches a more
> recent data in case of proxy failures.
>
> Please send me your comments on the idea and any suggestions to improve the
> same.

Two things that are probably interesting:

- Akonadi: can access and transparently cache arbitrary types of data

- Network status notifier: can tell you when an internet connection becomes available

Combining those two things can get you quite far already.
--
sebas


So the flow should be:
1. Creating an Akonadi resource for the plasmoids
2. running Network status notifier to see if connection is available
3. If not then show the data in Akonadi cache.
4. If yes then access data sources using Akonadi capabilities.
Right ?

What about the collaborative caching part ? Do you think that accessing data from other client's cache would be useful ?

Thank You

Shruti
--001636457c9a0d8ac50483065696-- --===============0144899103== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel --===============0144899103==--