But is the file system really the best place for a queue with thousands of messages?
Not ideal no. But if you need a simple FIFO queue it should be more than enough.
JBoss can persist to a RDBMS but its implementation has some bugs and I couldn't make it work with our DBMS of choice (namely Sybase). As for getting a more serious message queue (such as IBM's MQSeries or SonicMQ) well, let's just say this project is erm, on a budget...
Few of care about 100,000 files? Using JBossMQ I had around 100,000 messages in a queue and the iowait on the box was going nuts and things were crawling to a halt. Why? Solaris file system (JBossMQ persists messages to files). No such problems with Irix (or linux or windows for that matter). This was a run-of-the-mill enterprise app (to be deployed on Solaris of course - what else).
Better threads scalability. In my experience more threads can be handled by Irix than Solaris without context switching getting too expensive. The filesystem of Irix seems to be much more scalable too. Just try creating a directory with 100,000 files on Solaris and Irix to see what I mean. Solaris has some very significant issues when it comes to that.
That's a giveaway. If it can't deal with joins there is probably a lot more it can't deal with. Views, class hierarchies, transactions etc. I don't know torque but your example isn't enough to sell me on its simplicity.
Re:JDO vs EJB Entity Beans?
on
Java Data Objects
·
· Score: 3, Insightful
EJB is simple. Really. It isn't as bad as people say. Entity beans make sense once you read the spec and understand it.
The sucky part of J2EE is deployment. If I don't have to look at another 500K deployment descriptor file I'll be a happy man. They moved so much functionality out of code into deployment descriptors that now it's more complicated to manipulate descriptors than code! We went full circle. Instead of keeping complexity in the code it has been shifted to XML i.e. the weakly typed, unchecked format that's responsible for 90% of J2EE project delays.
Kill deployment descriptors and we'll all be winners. The tools to manipulate deployment descriptors have not materialised. It's time to cut the losses and ditch that XML madness in J2EE.
I see text based ads as having a more "serious" audience. I would not advertise the latest server platform with a swoosh, bang flash movie. It calls for more maturity. A text ad is appropriate. Same if I advertise a whitepaper.
When it comes to selling the latest top 10 hit to a 15 year old however, that's a different story. A noisy flash ad may be just what's being called for.
Context is very important though. I don't want to be fed noisy, flashy ads when I'm reading technical articles... Actually I don't want to be fed noisy flashy ads at all, but I'm probably just an exception if the number of flash ads is anything to go by:)
Why does this textbook babble get moderated as "Insightful"? You've just told them what every fucking web job board out there keeps telling people. Improve your skills... blah, blah... take a lower paying job blah, blah... be proactive blah, blah..
Guess what moron, 100% of those unemployed already do that. And they stand no fucking chance in hell, let me tell you.
Here's the key to job hunting: "networking"... And not the type involving NICs. My wife couldn't find a job as an accountant for over a year. Until I winced to an influential friend of ours. He made a few calls and the next week the phone started ringing.
The moral of this is: Rather than learn the next pile of buzzwords, you stand a better chance of getting employed if you play lots of golf. I'm not being nasty just telling you that as a friend.
A Polish proverb: "It's the opportunity that creates the thief".
Unfortunately the truth is that if 90% of those who want to steal cannot do so because the lack technical know how and the other 5% are too afraid of getting caught, you've just cut the 'crime' rate by 95%.
Even though the crime will still exist the scale of it is very likely to be significantly reduced if you introduce strong DRM systems and appropriate legislation to back it up, which is exactly what RIAA is doing.
I started on a simple diet a few days ago. Not for self-esteem reasons but rather to reduce risks of cancers, strokes and heart diseases. Pizza and coke is great when you're in early twenties. Few years of such eating habits and you can tell the difference in your appearance, your levels of energy and your fitness. You get tired quicker (physically and mentally) and your concentration is poorer.
This is my first real diet where I'm conciously cutting down on calories. I'm not starving myself but only because I constantly snack on fruits and veggies. I feel like I have to have something in my mouth every hour. Weird feeling but one can get used to it.
I'm not following any particular dieting fad. I just stopped eating all the junk foods that are served at your typical lunch place. No more burgers, pizzas, fries or doughnuts. I firmly believe that Russian females are so slender because they diddn't have junk food for so many years. Accordingly if I remove all junk food from my diet I should get slender too... Time will tell.
There are certain design decisions that were made by the java team that limit java's performance in a number of ways. Lack of stack objects comes to mind and collections that cannot store basic types.
That said for most network centric applications java is plenty fast. Now if we only stopped short of introducing the unbelievable overhead of XML's excessive verbosity...
Lest we forget Adolf Hitler also couldn't win elections so he strongarmed himself into power and subsequently worked the media machine to rally people in his support. Oh, and he used the Reichstag fire to instill collective paranoia and push through his "Peace and Prosperity Restoration Act".
"Those who don't know history are doomed to repeat it."
-- F.D.Roosevelt
Because that could well be grounds for putting Mr. George W. Bush in front of the war crimes tribunal i.e. where he belongs. US news in censored heavily and independent journalists are not allowed in Iraq by the USA!
For your sake Americans I hope you're not planning on travelling to anywhere outside of North America any time soon because you'll be lynched.
I think it's more to do with the fact that North Korea is the fifth largest military power in the world and Bush administration would shit themselves if they were to go into North Korea.
Not ideal no. But if you need a simple FIFO queue it should be more than enough.
JBoss can persist to a RDBMS but its implementation has some bugs and I couldn't make it work with our DBMS of choice (namely Sybase). As for getting a more serious message queue (such as IBM's MQSeries or SonicMQ) well, let's just say this project is erm, on a budget...
Few of care about 100,000 files? Using JBossMQ I had around 100,000 messages in a queue and the iowait on the box was going nuts and things were crawling to a halt. Why? Solaris file system (JBossMQ persists messages to files). No such problems with Irix (or linux or windows for that matter). This was a run-of-the-mill enterprise app (to be deployed on Solaris of course - what else).
Better threads scalability. In my experience more threads can be handled by Irix than Solaris without context switching getting too expensive. The filesystem of Irix seems to be much more scalable too. Just try creating a directory with 100,000 files on Solaris and Irix to see what I mean. Solaris has some very significant issues when it comes to that.
Irix is so much better than solaris. I wish SGI were able to break into the mainstream server market. Their gear is much better than Sun's anyway...
Depends on your security policy settings. You can restrict your policies so that nobody can get private member/field access through reflection.
SunOne is still alive and kicking. It may not be as big as WebLogic or Websphere but they have some market share. Like 10% or so...
Reminds me of electric chairs actually
You mean blocked...
1+n lookup issue that you're referring to has long been resolved in CMP2.0. Move on.
That's a giveaway. If it can't deal with joins there is probably a lot more it can't deal with. Views, class hierarchies, transactions etc. I don't know torque but your example isn't enough to sell me on its simplicity.
The sucky part of J2EE is deployment. If I don't have to look at another 500K deployment descriptor file I'll be a happy man. They moved so much functionality out of code into deployment descriptors that now it's more complicated to manipulate descriptors than code! We went full circle. Instead of keeping complexity in the code it has been shifted to XML i.e. the weakly typed, unchecked format that's responsible for 90% of J2EE project delays.
Kill deployment descriptors and we'll all be winners. The tools to manipulate deployment descriptors have not materialised. It's time to cut the losses and ditch that XML madness in J2EE.
When it comes to selling the latest top 10 hit to a 15 year old however, that's a different story. A noisy flash ad may be just what's being called for.
Context is very important though. I don't want to be fed noisy, flashy ads when I'm reading technical articles... Actually I don't want to be fed noisy flashy ads at all, but I'm probably just an exception if the number of flash ads is anything to go by :)
Guess what moron, 100% of those unemployed already do that. And they stand no fucking chance in hell, let me tell you.
Here's the key to job hunting: "networking"... And not the type involving NICs. My wife couldn't find a job as an accountant for over a year. Until I winced to an influential friend of ours. He made a few calls and the next week the phone started ringing.
The moral of this is: Rather than learn the next pile of buzzwords, you stand a better chance of getting employed if you play lots of golf. I'm not being nasty just telling you that as a friend.
Unfortunately the truth is that if 90% of those who want to steal cannot do so because the lack technical know how and the other 5% are too afraid of getting caught, you've just cut the 'crime' rate by 95%.
Even though the crime will still exist the scale of it is very likely to be significantly reduced if you introduce strong DRM systems and appropriate legislation to back it up, which is exactly what RIAA is doing.
wb?
This is my first real diet where I'm conciously cutting down on calories. I'm not starving myself but only because I constantly snack on fruits and veggies. I feel like I have to have something in my mouth every hour. Weird feeling but one can get used to it.
I'm not following any particular dieting fad. I just stopped eating all the junk foods that are served at your typical lunch place. No more burgers, pizzas, fries or doughnuts. I firmly believe that Russian females are so slender because they diddn't have junk food for so many years. Accordingly if I remove all junk food from my diet I should get slender too... Time will tell.
Michael Dell may be an asshole but he certainly knows how to give competition a run for their money.
Don't flame this is from a fellow Canuck :)
That said for most network centric applications java is plenty fast. Now if we only stopped short of introducing the unbelievable overhead of XML's excessive verbosity...
"Those who don't know history are doomed to repeat it."
-- F.D.Roosevelt
For your sake Americans I hope you're not planning on travelling to anywhere outside of North America any time soon because you'll be lynched.
I think it's more to do with the fact that North Korea is the fifth largest military power in the world and Bush administration would shit themselves if they were to go into North Korea.
your country is lame and moronic. Live with it or emigrate.
How much has Dubya has done to rebuild Afghanistan? Diddly fuck that's how much! Don't expect much of Adolf Bush.
Awesome. Thanks for sharing.