The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
Originally posted by Daniil Sosonkin:
Yes, I should create butter subject lines. But then again if I could write better english, I doubt I'd be coding at all.
The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
Originally posted by Daniil Sosonkin:
How about this. I'll be storing X amount of quotes in memory and the rest will be writted on disk. Only the most recently quotes will be in memory or those that are being `watched` by clients. Would something like this make sense?
"I'm not back." - Bill Harding, Twister
Originally posted by Mr. C Lamont Gilbert:
You realize that Strings are interned?
The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
Originally posted by Ilja Preuss:
That's only true for compile time constants and those Strings on which you call the intern() method explicitely. Other Strings that are constructed at runtime aren't interned at all.
Originally posted by Daniil Sosonkin:
[QB]Thanks for suggestions guys. Let me go though each issue raised to see how I can answer. First of all, let say that I've decided to switch to C++ as I see no viable solution in the near future. And also because the database will go immencely in the upcoming months. Anyone dealing with the market would understand. But I'm not going to abandon Java attempts just out of sheer challenge
The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
Originally posted by Ilja Preuss:
If I'm reading correctly, you are running the system on a two-processor system? Have you tried using the Parallel GC? If I understand correctly, that one should be able to run on one of the processors without stopping your application code running on the other one...
Originally posted by Daniil Sosonkin:
... The data is coming in at the rate of 1.5MB/s at the market open/close and on average of 700KB/s throughout a day. Thats a lot; but luckily Java can handle the flowWhat it can't handle is the amount of objects in memory. No matter how you put it, all the quotes have to be in memory forever. ...
... As for C++, well, so far the app is going along. Its been running for couple of days now. ...
SCJP, SCWCD
SCJP, SCWCD
SCJP, SCWCD
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime. |