Re: HTTP client module

John Snelson <[email protected]> Fri, 23 Jan 2009 17:50:18 +0000
Newsgroups gmane.text.xml.xslt.extensions
Message-ID <[email protected]>
M. David Peterson wrote:
> So a completely non-related question, but while I have your ear: Do you 
> know if memcachedb[1] could use Berkeley DB XML interchangeably with 
> Berkeley DB as its persistent data store, gaining the XML-ified benefits 
> of using Berkeley DB XML over Berkeley DB as an unintended side effect 
> of using memcachedb for maintaining data persistence of memcached data?  
> While storing key/value pairs in Berkeley DB doesn't allow for querying 
> the contained data on anything other than the seemingly unstructured 
> keyed values, if those same values being stored were being viewed by 
> Berkeley DB XML as insert operations of well formed XML, as long as the 
> values /were/ well formed XML, the end result would be that of gaining 
> the distributed caching benefits of memcached with the structured data 
> persistence (and therefore (X)Queryable) benefits of Berkeley DB XML.
> 
> Obviously something that would need to moved to a completely separate 
> thread, but if you happen to know if this is concievably possible, or if 
> it would be a complete waste of time and effort and should therefore be 
> avoided, and wouldn't mind sharing that information with me I would be 
> extremely grateful. :-)

I don't know too much about memcached, but I imagine you could use DB 
XML as it's store if you had a sufficient XML format for it's data. Not 
knowing the code, I wouldn't know how much effort that would be.

John

-- 
John Snelson, Oracle Corporation            http://snelson.org.uk/john
Berkeley DB XML:            http://oracle.com/database/berkeley-db/xml
XQilla:                                  http://xqilla.sourceforge.net