Given this is how the PyMSNt transport works, and seams to work 
effectively already, this seams the most logical thing to do and in fact 
i'm amazed that this change wasn't made to all the Py*t transports at 
the same time

Norman Rasmussen wrote:
> I'm interested in what people's thoughts are on the following:
>
> Currently the PyYIMt subscription data is stored (all in one file) 
> like this:
>
>  [EMAIL PROTECTED]:
>    userrname: yuser1
>    password: ypassword1
>    subscribed: true
>    avatar:
>      yusera: (sha1hash, avatarimagedata)
>      yuserb: (sha1hash, avatarimagedata)
>      yuserc: (sha1hash, avatarimagedata)
>  [EMAIL PROTECTED]:
>    userrname: yuser2
>    password: ypassword2
>    subscribed: true
>    avatar:
>      yuserc: (sha1hash, avatarimagedata)
>      yuserd: (sha1hash, avatarimagedata)
>      yusere: (sha1hash, avatarimagedata)
>
> Now obviously this means that the single file gets fairly big with all
> the avatars, and that if multiple transport users have the same
> contacts, or if multiple contacts have the same avatar, then that data
> is stored multiple times.
>
> Does it make sense to extract the avatar out of the data file, and
> store it like the other transports?  If so, does it get stored like
> pymsnt (newer - global for the whole transport), or pyaimt/pyictq
> (older - set of avatars per copy of transport).  I think that storing
> the avatars on the filesystem as individual files is a bonus, because
> then the admin can use standard tools to archive old/unused data.
>
> What are people's thoughts on converting the entire file to the file
> system based format (xml files in sha1'ed folders) - btw: this is a
> lot more work than just extracting the avatar image data :-P
>


-- 

Will Tatam
------------------------------------------------------------
Email / JID     [EMAIL PROTECTED]
Web     www.netmindz.net
PGP Key www.netmindz.net/will/will_tatam.asc
------------------------------------------------------------
Registered Linux user   294695
Linux Counter           http://counter.li.org
------------------------------------------------------------
See http://www.jabber.org/ to find out more about the most
 advanced cross platform, open source enterprise messaging 
                          solution                        
------------------------------------------------------------

Reply via email to