perfsonar-dev - Re: multi LS
Subject: perfsonar development work
List archive
- From: Maciej Glowiak <>
- To:
- Cc: Szymon Trocha <>, ,
- Subject: Re: multi LS
- Date: Tue, 14 Nov 2006 15:38:33 +0100
- Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAQMAAABtzGvEAAAABlBMVEUAAAD///+l2Z/dAAAA CXBIWXMAAEU1AABFNQF8gVf5AAAAB3RJTUUH1QYQDjo6uEWvwgAAAM5JREFUGNNN0LFqAkEUheGj KRZsfATrvENgYyH4APabxwgWGUUQC99BsNDCInUq7VImbbDZ0kayxBXMuN7jvTuKVh//mZlmQKZ1 EhQ8GAVgZECspEBdWQHRjR70KlgFKkoUaCw3ijSYQ4n5HfBK4a4jDcdDQPol/80Sr9BxZOOL4Fmr Jq8VBx7eopaSPvWGOm67fqol3j1q0XNs7Nk2cs6MU6gPNzf+ZGKQX4Ek8H6rAnFZnXB2vJxJcv8g C2P+WzL4tD+Txc4KydrIkh+eAdo01QbjQ84vAAAAAElFTkSuQmCC
- Organization: Poznan Supercomputing and Networking Center
Hi Jason,
Jason Zurawski wrote:
I am still curious what BDB improves? Well, I am quite sure it may be faster than eXist, butWe are working on simple tests (not completed yet) that compare eXist, BDB, and oracle XML (this is a part of another students work, but once we get results we will be more than happy to share). We will be doing performance tests once the two instances are set up, and accepting registrations.
- were there made any performance tests and comparisons between eXist
and BDB? I am sure you did something like this, but I didn't see any
results and conclusions
That's ok. Before we chose eXist I had installed and tested a bit BDB. I liked it, but I remember we had problems with FreeBSD (Roman tested it).
Then XUpdate seemed to be the standard for modification very soon. Now it seems not to be modified for a very long time.
But I didn't tested performance of BDB at all, so I am just curious.
So, after you test it, please send me the results.
- how far are both DB compatible? I thought BDB didn't support
XUpdate, so single LS functionality wouldn't work with BDB unless we
changed all database modification instructions. But for what? XQuery
Update extension?
BDB does not use XUpdate (one reason why I was interested in removing the XUpdate functionality several weeks ago) and instead uses it's own update API. The XQuery/XPath statements are more or less the same, with some notable changes regarding the organization of BDB's collections. Yi did develop a seperate service engine to try and insert some transparency into the calls to the various databases.
I was thinking about some transparency as well. But the point was that if we want to use BDB for LS we should implement these changes for single-LS as well.
- but does BDB support XQuery Update extension?To my knowledge no, it uses a separate update API (there were always promises or supporting XQuery update once it was finalized, this goes back years however).
So that could be a problem.
- is XQuery processed the same by eXist and BDB?Yes, they both should follow the standard.
But you also said that queries need to be a bit different because of differences in storage. It may be a problem for client which may not know what DB is used by particular LS.
I think LS (sLS+mLS) should be regarding as one LS, but I'd like to have code separation between multiLS and core LS. In fact multiLS should be independent protocol from LS. And in fact it is.
If they are to be regarded as 'one' (i.e. would we still even want to deploy single LS instances?) then I don't see why the need in separating the code.
I think there is strong need for such a separation. One aim is to maintain the code. After merging sLS with mLS changes in one (mostly mLS) shouldn't interfere with single LS. Single LS should be operational even if mLS fails or is not stable.
Single LS is being functional tested now. Although we have been having "stable" LS for quite a long time, we found a few bugs. When will mLS be tested? It may be more difficult to be tested because you need to set up several instances of it. It means we will have "more stable" single LS and "unknown" mLS in the release.
Other my concern was on sending request and waiting for the response in request processing action (as far as I remember it was sending a request by LSRegisterRequest action and waiting for response).
I was using timeouts to speed up the process of waiting for responses. We never really get a 'hang' situation that way, but depending on latency and other network issues this could be a problem.
You probably tested it in lab. In real 'bigger' network we may experience strange behaviour... :)
I am sure there will be, but in my opinion all we can really do is go for a best effort attempt, and handle the failures as best we can.
Yes, I agree. But we should also evaluate possible failure points and implement them in different way. After you finish your work on mLS I'll see if we can improve something with threading there
Best regards
Maciej
--
--------------------------------------------------------------------
| Maciej Glowiak Network Research and Development ||
|
Poznan Supercomputing and Networking Center ||
| (+48 61) 858 2024 http://monstera.man.poznan.pl/ ||
====================================================================
- Re: multi LS, Maciej Glowiak, 11/09/2006
- Re: multi LS, Jason Zurawski, 11/13/2006
- Re: multi LS, Maciej Glowiak, 11/14/2006
- Re: [pS-dev] Re: multi LS, Jeff W. Boote, 11/14/2006
- Re: [pS-dev] Re: multi LS, Maciej Glowiak, 11/21/2006
- Re: [pS-dev] Re: multi LS, Jeff W. Boote, 11/14/2006
- Re: multi LS, Maciej Glowiak, 11/14/2006
- Re: multi LS, Jason Zurawski, 11/13/2006
Archive powered by MHonArc 2.6.16.