Hi Ales
I managed to start the app with 3 nodes on my laptop, and it inserted a
flight in about 26.7 seconds with TRACE enabled for org.infinispan.
However, when I counted the number of cache commands being executed and I
got 55000 (8700 of which went remote), which seems way too much for a
single insert. (The log file grew by more than 100 MB.)
I think there may be a cycle whereas each operation on a cache generates a
log message, which then triggers a change in the Lucene caches, which
writes another log message, and so on. How does CapeDwarf capture the logs?
I haven't seen any appender in the standard-capedwarf.xml configuration.
How can I enable TRACE logging for org.infinispan without the logs being
indexed by CapeDwarf?
On Mon, Apr 8, 2013 at 4:12 PM, Ales Justin <ales.justin(a)gmail.com> wrote:
Steps to re-produce:
(1) checkout JBossAS 7.2.0.Final tag --> JBOSS_HOME
(2) build CapeDwarf Shared
https://github.com/capedwarf/capedwarf-shared
(3) build CapeDwarf Blue
https://github.com/capedwarf/capedwarf-blue
(4) build CapeDwarf AS
https://github.com/capedwarf/capedwarf-jboss-as
mvn clean install -Djboss.dir=<JBOSS_HOME> -Pupdate-as
This will install CapeDwarf Subsystem into previous AS 7.2.0.Final
(5) grab GAE 1.7.6 SDK
http://googleappengine.googlecode.com/files/appengine-java-sdk-1.7.6.zip
(6) Build GAE demos/helloorm2
ant
cd war/
zip -r ROOT.war .
This will zip the demo app as ROOT.war,
which you then deploy to AS.
(7) start CapeDwarf
JBOSS_HOME/bin
./standalone.sh -c standalone-capedwarf.xml -b <IP> -Djboss.node.name
=some_name
(8) deploy the app / ROOT.war
---
Deploy this on a few nodes, goto browser: http://<IP:8080>,
add a few flights and see how it works.
It now runs a bit better, where we changed mstruk's laptop with luksa's.
But we still get replication locks ...
Also, the problem is that query on indexing slave takes waaay tooo long.
Anyway, you'll see. ;-)
Ping me for any issues.
-Ales
_______________________________________________
infinispan-dev mailing list
infinispan-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/infinispan-dev