Re: [Evolution-hackers] Sqlite cache for address-book storage in EDS

2011-03-21 Thread Matthias Braun
Am Montag, den 14.03.2011, 08:40 -0400 schrieb Adam Tauno Williams:
 On Mon, 2011-03-14 at 18:57 +0530, Chenthill Palanisamy wrote:
  On Mon, Mar 14, 2011 at 3:53 PM, Adam Tauno Williams
  awill...@opengroupware.us wrote:
   On Mon, 2011-03-14 at 10:09 +0530, Chenthill Palanisamy wrote:
   On Thu, Mar 10, 2011 at 6:54 PM, Matthew Barnes mbar...@redhat.com 
   wrote:
Okay, this might be a long shot but I'm gonna throw it out there 
anyway:
would it make sense to look at using Xapian to index a directory of raw
vCards?
   Am not sure if its worth doing this for adress-book. Am just making an
   assumption that the
   address-book content may not be as huge as mail data. The only 
   address-book data
   that would be large enough would be GAL (exchange) and
   SystemAdressBook (groupwise).
   This is a self-fulfilling prophecy;  I and others have tried to have
   large address books... which doesn't work... so address books remain
   small.
  I agree, the *only* should be removed from the third sentence of mine,
  there could be other address-books.
  While thinking of Xapian for address-book, am not still convinced.
  One could search on various fields such as sender, subject,
  recipients, full-text search etc. in mailer often and xapian is said
  to work much better.
  Although I have not got any profiling information as such, but its
  just from hearing from multiple people.
  But for address-books, the most often used searches would be based on
  name and email. Even if the address-book has 21k or more data,
  a db with good indexing should perform better. The information stored
  will be small when compared to mail content.. Well these are just
  my observations, are there any other cases am missing ?
 
 This makes sense to me [I've no idea really how it is currently
 implemented or what the practical alternatives are].  But funny side
 note: if I just walk the DAV collection and save all the vcf files to a
 directory ... a simple python script can parse each file [using the
 vobject module], compare the values to a criteria, and report what items
 match... an order of magnitude faster than Evolution.  But the reason
 for this is mentioned below.
 
   I have a CardDAV/GroupDAV collection of ~21,000 contacts I'd love to
   have access to via Evolutions WebDAV address book.  But anything more
   than a thousand or so gets to be unbearably slow.
  AFAIR, there are some UI issues involved here which should be dealt
  with separately.
 
 True,  most importantly [at least for WebDAV address books] why the @^
 $*@ it issues a PROPFIND to the server to enumerate the collection at
 every search?!  Just search the data you have;  it really seems like
 update / synchronizing the collection and searching the collection
 should be independent events.
 
 I suppose I should get around to filing a bug about that.

The problem here is that obviously contacts on the server could have
changed since the last search. How else can you detect this? Do the
propfind results get an ETag, then this would be a good way to speed
things up.

Apart from that I could obviously add some timout, which would only
query the server every N-minutes and do faster queries from cache
only...

Anyway I'd be happy to get more input from people on the server side - I
wrote and used it only for my own contact collection which is ~200
contacts on an apache mod_dav server, because that was enough for me and
I never managed (and wanted) to setup one of the big groupwares just
for myself.

___
evolution-hackers mailing list
evolution-hackers@gnome.org
To change your list options or unsubscribe, visit ...
http://mail.gnome.org/mailman/listinfo/evolution-hackers


Re: [Evolution-hackers] [Fwd: [MeeGo-dev] migration (back) to EDS]

2011-03-21 Thread Matthew Barnes
On Mon, 2011-03-21 at 15:50 +0100, Patrick Ohly wrote: 
 If you see some increased interest in EDS soon, then it might be because
 MeeGo is currently investigating how to use EDS as the main PIM and
 email system again.
 
 Attached a rough outline of the current ideas. My expectation is that we
 will start sharing more thoughts and questions here as we proceed.
 
 Note that this work probably has to be delivered to MeeGo as part of an
 Evolution 2.32 based solution, because I don't see us moving to 3.0 soon
 enough.

Hey Patrick, thanks for the info.

I meant to ask you when last we spoke on IRC, to what extent are you
involved with MeeGo right now, and is there anyone else specifically on
the MeeGo team that we should be reaching out to?  I'm trying to get a
feel for who all is or is going to be involved.

___
evolution-hackers mailing list
evolution-hackers@gnome.org
To change your list options or unsubscribe, visit ...
http://mail.gnome.org/mailman/listinfo/evolution-hackers


Re: [Evolution-hackers] [Fwd: [MeeGo-dev] migration (back) to EDS]

2011-03-21 Thread Srinivasa Ragavan
On Tue, Mar 22, 2011 at 2:14 AM, Matthew Barnes mbar...@redhat.com wrote:
 On Mon, 2011-03-21 at 15:50 +0100, Patrick Ohly wrote:
 If you see some increased interest in EDS soon, then it might be because
 MeeGo is currently investigating how to use EDS as the main PIM and
 email system again.

 Attached a rough outline of the current ideas. My expectation is that we
 will start sharing more thoughts and questions here as we proceed.

 Note that this work probably has to be delivered to MeeGo as part of an
 Evolution 2.32 based solution, because I don't see us moving to 3.0 soon
 enough.

 Hey Patrick, thanks for the info.

 I meant to ask you when last we spoke on IRC, to what extent are you
 involved with MeeGo right now, and is there anyone else specifically on
 the MeeGo team that we should be reaching out to?  I'm trying to get a
 feel for who all is or is going to be involved.


Hey Matt,

I'm part of the team that is working on it. I'll catch you on IRC asap
to discuss very specific details.

-Srini.

 ___
 evolution-hackers mailing list
 evolution-hackers@gnome.org
 To change your list options or unsubscribe, visit ...
 http://mail.gnome.org/mailman/listinfo/evolution-hackers

___
evolution-hackers mailing list
evolution-hackers@gnome.org
To change your list options or unsubscribe, visit ...
http://mail.gnome.org/mailman/listinfo/evolution-hackers