Raja | 1 Oct 2011 12:49
Picon
Picon
Favicon

exist-db load balancing process -reg

Hi Exist community members !!!!

We have developed an XRX application with eXist-db . the application almost complete in shape, Now we need to do the load testing .
How to do that in eXist-db  . Specifically for xquery kind of apps - entirely written in XRX model .  That means at a time 100 or 1000 users access the same page then the entire apps get-down or some time exist-db get crashed.

We are using exist-db -1.4.1 rev15155 version
 Ubuntu 10.4 (both 32 and 64 bit systems) with same configuration
 increased JVM to 4GB to avoid heap size error.

Pls suggest your comments to get success in this pbm.

By

--
Rajamani Marimuthu
Junior Research Fellow-JRF
NIC -Open Technology Centre
Rajaji Bhavan
Besant Nagar,
Chennai - 90
Cell : 9677192096
------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2dcopy2
_______________________________________________
Exist-open mailing list
Exist-open <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/exist-open
Dannes Wessels | 1 Oct 2011 13:54

Re: Resolving of external URIs from XSLT broken?

Hi

On Fri, Sep 30, 2011 at 10:25 PM, Christian Mahnke <cmahnke <at> googlemail.com> wrote:
This works for me in Xalan and Saxon from Oxygen, xsltproc and various other ways (like the Ant XSLT task), only in eXist this is seem to be seriously broken.

In exist.log I get:
Resolving database path http://viaf.org/processed/DNB|11855073X with base null to /db/archaeo18/transformations/http:/viaf.org/processed/DNB|11855073X (URI = xmldb:/db/archaeo18/transformations/http:/viaf.org/processed/DNB|11855073X)

It's hard to believe that this is a bug, since it's quite obvious to use the document function to access REST based web services from XSLT, what do I need to enable to get this to work?


Which version of eXist-db are you using?

D.


--
eXist-db Native XML Database - http://exist-db.org
Join us on linked-in: http://www.linkedin.com/groups?gid=35624
------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2dcopy2
_______________________________________________
Exist-open mailing list
Exist-open <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/exist-open
Dannes Wessels | 1 Oct 2011 14:04

Re: exist-db load balancing process -reg

Raja

On Sat, Oct 1, 2011 at 12:49 PM, Raja <m.rajamani <at> nic.in> wrote:
then the entire apps get-down or some time exist-db get crashed.
....
Pls suggest your comments to get success in this pbm.

Unfortunately we do not have this supernatural talent to understand about the problems you see, without you providing any information other than "I have a problem, help me'.

Please, if you write to this mailing list, take your time for writing, and provide (useful) information that helps analyzing the problems you see. Think of logging, and stacktraces. We are all volunteers on this list, so please help us helping you in an time efficient way.

Thnx

Dannes


--
eXist-db Native XML Database - http://exist-db.org
Join us on linked-in: http://www.linkedin.com/groups?gid=35624
------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2dcopy2
_______________________________________________
Exist-open mailing list
Exist-open <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/exist-open
Raja | 1 Oct 2011 14:20
Picon
Picon
Favicon

Re: exist-db load balancing process -reg

Hi Dannes !!!!

Sorry for the incomplete information ... the exact problem is ,

we created an application - XRX style. all  application code and data files located inside the /db in eXist-db (v1.4.1rev15155).  we using JMeter to check the load balancing (no of parallel hit in the application page) . upto 10 parallel thread the application responding well if u increase the number of hit then the responses are fail. pls suggest how solve this pbm. is there any configuration file to change this options ...


By
Raja M

On 10/01/11, Dannes Wessels <dannes <at> exist-db.org> wrote:

Raja

On Sat, Oct 1, 2011 at 12:49 PM, Raja <m.rajamani <at> nic.in> wrote:
then the entire apps get-down or some time exist-db get crashed.
....
Pls suggest your comments to get success in this pbm.

Unfortunately we do not have this supernatural talent to understand about the problems you see, without you providing any information other than "I have a problem, help me'.

Please, if you write to this mailing list, take your time for writing, and provide (useful) information that helps analyzing the problems you see. Think of logging, and stacktraces. We are all volunteers on this list, so please help us helping you in an time efficient way.

Thnx

Dannes


--
eXist-db Native XML Database - http://exist-db.org
Join us on linked-in: http://www.linkedin.com/groups?gid=35624
--
Rajamani Marimuthu
Junior Research Fellow-JRF
NIC -Open Technology Centre
Rajaji Bhavan
Besant Nagar,
Chennai - 90
Cell : 9677192096
------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2dcopy2
_______________________________________________
Exist-open mailing list
Exist-open <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/exist-open
Dannes Wessels | 1 Oct 2011 14:24

Re: exist-db load balancing process -reg

Raja

On Saturday, 1 October 2011 at 14:20 , Raja wrote:

upto 10 parallel thread the application responding well if u increase the number of hit then the responses are fail.
responses fail….. WHAT does this mean, what does actually happen? what do you see in the HTTP response, is there something in the server log visible, in the server std out….etc. That is what I asked for in the previous mail…..

cheers

Dannes


-- 
eXist-db Native XML Database - http://exist-db.org
Join us on linked-in: http://www.linkedin.com/groups?gid=35624

------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2dcopy2
_______________________________________________
Exist-open mailing list
Exist-open <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/exist-open
Ubbo Veentjer | 1 Oct 2011 14:03
Picon
Favicon

Fwd: Re: exist-db load balancing process -reg

missed the "reply to list" button

-------- Original Message -------- Subject: Date: From: To:
Re: [Exist-open] exist-db load balancing process -reg
Sat, 01 Oct 2011 13:13:50 +0200
Ubbo Veentjer <veentjer <at> sub.uni-goettingen.de>
Raja <m.rajamani <at> nic.in>


Hi,

if I understood you correctly and you are asking how to do stress testing I would suggest JMeter: http://jakarta.apache.org/jmeter/ . It could be configured to do HTTP requests, and you could define how much parallel threads (or clients) are supposed to produce load.

If you are asking for load balancing I would also be curious about solutions ;-).

Cheers,
Ubbo

On 01.10.2011 12:49, Raja wrote:
Hi Exist community members !!!!

We have developed an XRX application with eXist-db . the application almost complete in shape, Now we need to do the load testing .
How to do that in eXist-db  . Specifically for xquery kind of apps - entirely written in XRX model .  That means at a time 100 or 1000 users access the same page then the entire apps get-down or some time exist-db get crashed.

We are using exist-db -1.4.1 rev15155 version
 Ubuntu 10.4 (both 32 and 64 bit systems) with same configuration
 increased JVM to 4GB to avoid heap size error.

Pls suggest your comments to get success in this pbm.

By

--
Rajamani Marimuthu
Junior Research Fellow-JRF
NIC -Open Technology Centre
Rajaji Bhavan
Besant Nagar,
Chennai - 90
Cell : 9677192096
------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2dcopy2 _______________________________________________ Exist-open mailing list Exist-open <at> lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/exist-open


-- Ubbo Veentjer Research and Development Department (RDD) Goettingen State and University Library Georg-August-Universitaet Goettingen 37073 Goettingen Germany Phone: +49 551 39 7700 Fax: +49 551 39 3856 veentjer <at> sub.uni-goettingen.de http://www.sub.uni-goettingen.de/
------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2dcopy2
_______________________________________________
Exist-open mailing list
Exist-open <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/exist-open
vicmortelmans | 1 Oct 2011 15:01
Picon

Re: Admin password reset when restarting database

OK,


so it looks like I was confused by the svn-download build option, assuming that it would update svn, which it (probably?) doesn't.

So after an explicit "svn update" and a "build.sh rebuild", I now have running this version:
  • Version: 1.5.0dev
  • SVN Revision: 15423
  • Build: 20111001
  • User: admin

And the admin password problem is solved!

Best regards,
Vic

2011/9/29 Joe Wicentowski [via eXist] <[hidden email]>
Hi Vic and Dannes,

>> Note that after the rebuild I had to restore my data, I guess that's normal?
>
> no, only after a build.sh clean ... which is maybe called by build.sh
> rebuild, not sure....

It does.  The "rebuild" target calls (1) "clean" and then (2) "all"
(the default build target, which includes a "prepare" target that in
turn calls "svn-prepare" from build/subversion.xml, which is what
updates VERSION.txt).

Perhaps I should have suggested "./build.sh svn-prepare", to save Vic
the task of restoring your data - sorry, Vic.

But in general the cycle for building from trunk is:

1. First time, checkout the repo and "./build.sh svn-download", then
"./build.sh" to build eXist with the correct SVN revision stamps

2. Thereafter, when you want to update to trunk and rebuild eXist,
update your SVN working copy and run "./build.sh rebuild".  Note: This
does "clean" (i.e. wipe) your data directory, so you will need to
restore your data into eXist, so backup first.

Cheers,
Joe

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
Exist-open mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/exist-open


If you reply to this email, your message will be added to the discussion below:
http://exist.2174344.n4.nabble.com/Admin-password-reset-when-restarting-database-tp3841421p3857547.html
To start a new topic under eXist, email [hidden email]
To unsubscribe from eXist, click here.



--
Vic Mortelmans
Klappeistraat 34A - 2060 ANTWERPEN
03 297 40 23 - 0499 71 06 37



View this message in context: Re: Admin password reset when restarting database
Sent from the exist-open mailing list archive at Nabble.com.
------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2dcopy2
_______________________________________________
Exist-open mailing list
Exist-open <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/exist-open
Dannes Wessels | 1 Oct 2011 15:08

Re: Admin password reset when restarting database

Hi,

On 1 Oct 2011, at 15:01 , vicmortelmans wrote:

so it looks like I was confused by the svn-download build option, assuming that it would update svn, which it (probably?) doesn't.

So after an explicit "svn update" and a "build.sh rebuild", I now have running this version:
  • Version: 1.5.0dev
  • SVN Revision: 15423
  • Build: 20111001
  • User: admin

And the admin password problem is solved!

sorry, I could have been more clear; with build.sh svn-download some jar files are downloaded, which are used to determine the svn-version of you local check-out copy of exist-db.  When build.sh (all) is called, the revision info is merged into the exist-db application.

(visible in html admin client, and present in each jar file)

cheers

Dannes
------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2dcopy2
_______________________________________________
Exist-open mailing list
Exist-open <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/exist-open
Wolfgang Meier | 1 Oct 2011 15:19
Gravatar

Re: exist-db load balancing process -reg

Hi,

The first and most important step should be to use the query profiler in the admin web app to identify any bottlenecks in your queries in a singe user environment. In particular, check if there are expressions you could speed up by creating a proper index. If you have one slow query which needs to do a full document scan due to missing indexes, it will likely become a major bottleneck under high load (because it keeps blocking documents).

You may also consider increasing the broker pool max size setting in conf.xml.

Wolfgang

------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2dcopy2
_______________________________________________
Exist-open mailing list
Exist-open <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/exist-open
Dan McCreary | 1 Oct 2011 15:22
Picon

Re: exist-db load balancing process -reg

Hello Raja,

If you are asking about what tools do people use to do load testing with eXist, many of us are using "JMeter" to simulate large user loads on a server.  There are many youtube videos on how to use it.  You can set up JMeter to simulate multiple threads and simulate many concurrent users.  Let us know if you have any problems getting it working.

- Dan

On Sat, Oct 1, 2011 at 5:49 AM, Raja <m.rajamani <at> nic.in> wrote:
Hi Exist community members !!!!

We have developed an XRX application with eXist-db . the application almost complete in shape, Now we need to do the load testing .
How to do that in eXist-db  . Specifically for xquery kind of apps - entirely written in XRX model .  That means at a time 100 or 1000 users access the same page then the entire apps get-down or some time exist-db get crashed.

We are using exist-db -1.4.1 rev15155 version
 Ubuntu 10.4 (both 32 and 64 bit systems) with same configuration
 increased JVM to 4GB to avoid heap size error.

Pls suggest your comments to get success in this pbm.

By

--
Rajamani Marimuthu
Junior Research Fellow-JRF
NIC -Open Technology Centre
Rajaji Bhavan
Besant Nagar,
Chennai - 90
Cell : 9677192096

------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2dcopy2
_______________________________________________
Exist-open mailing list
Exist-open <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/exist-open




--
Dan McCreary
Semantic Solutions Architect
office: (952) 931-9198
cell: (612) 986-1552
------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2dcopy2
_______________________________________________
Exist-open mailing list
Exist-open <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/exist-open

Gmane