The Oracle Lite Blog

The Rekounas Blog about Oracle's Mobile Enterprise Application Platform

The Oracle Lite Blog header image 2

Testing Concurrent Synchronization in Oracle Lite

May 11th, 2009 · No Comments

So, you are all ready to go. Your application has gone through some final testing and all that is really left is to perform some minor performance tweaks here and there and clean up some bugs. Then someone in the rooms asks a question, “How will performance be during concurrent synchronizations? How will it affect the rest of the database?” So now you are probably sweating a bit because you really haven’t thought about it. An individual synchronizing isn’t too bad, but have you thought about 5, 10, 15, 50? Maybe not. And even if you have thought about it, how do you test this? I have been involved in many releases and this is always a bit of a challenge. You may be thinking of using something like LoadRunner, but this doesn’t work well. The next thing to do is to grab 10 – 20 devices, install the Mobile Client and rapidly click sync on each device to get the number of concurrent syncs your are testing your system for. Not the sexiest solution in the world, but it works. The other solution I use is a Java/perl solution Oracle development passed along to me a few years ago. You install the software on one machine. You create the users TEST(1…N) on the server and assign them to the application and set their data subset paraments. You then run a perl script to set up the TEST users on your machine. Finally you just the Java code to simulate the concurrent syncs. This worked very well, but for some reason, all syncs were Complete Refresh. So the test was worst case scenario.

Here is a picture of a test scenario we had set up. We had 10 laptops and they were synchronizing Webtgo-OC4J and Win32. They were all going through the same router and I think 10 out of 10 succeeded.

10 Laptops performing concurrent synchronization.

Your third option for testing concurrency is by contacting an Oracle Lite guru 😉 He might be able to give you a hand with your performance testing.

Share

Tags: Oracle Lite

0 responses so far ↓

  • There are no comments yet...Kick things off by filling out the form below.

Leave a Comment

*