-
January 6th, 2010, 08:37 PM
#1
Lightstreamer Performance Issues while fetching data from db
Hello,
I'm running LS Moderato on a RedHat Enterprise based server.
I've built a multithreaded adapter which has two threads:
1. A thread Contacts a MySQL database using the latest Connector/J Jar every fixed interval , it retreives some data and pushes that data to users if it has been changed.
(I'm using a ConcurrentHashtable to cache results)
2. A Thread that pushes the server's time and date every second
Now, I'm not sure why, and I tried tweaking the code many times and changing the version of the connector /j as well but at certain point
the java binary rises to 150% cpu usage (multi core environment) , and LS becomes unresponsive, any ideas what may cause that (aside from the adapter code, which works without a hiccup under win2k8 environment)
Any known problems whilst using mysql w/ LS under linux?
Thanks beforehand, Max.
Similar Threads
-
By rmusco in forum General
Replies: 5
Last Post: January 4th, 2013, 12:38 AM
-
By achittoda in forum Adapter SDKs
Replies: 1
Last Post: December 22nd, 2009, 09:15 AM
-
By rsouissi in forum Adapter SDKs
Replies: 3
Last Post: February 12th, 2009, 10:31 AM
-
By quanhm in forum General
Replies: 1
Last Post: May 19th, 2008, 09:48 AM
-
By rsouissi in forum Client SDKs
Replies: 2
Last Post: December 28th, 2007, 08:33 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
All times are GMT +1. The time now is 03:32 AM.
Bookmarks