|
"Use the right tool for the right job." -- Scotty et al
Many times a database-based queue is the right tool and I would consider it before resorting to message queueing.
I know very little about message queueing (I've never developed such a system, but I've had to maintain some), but they seem much less flexible and more brittle than database-based systems.
Perhaps the systems he's seen have other problems. Or message queues are the only hammer he has.
|
|
|
|
|
Message queuing through shared memory is very fast and can be flexible. I have seen this work well and would recommend it over a database solution.
m.bergman
For Bruce Schneier, quanta only have one state : afraid.
To succeed in the world it is not enough to be stupid, you must also be well-mannered. -- Voltaire
In most cases the only difference between disappointment and depression is your level of commitment. -- Marc Maron
I am not a chatbot
|
|
|
|
|
But it duplicates data and in a database-based system you can have a dynamic set of listeners.
Shared memory can't be used between servers, can it?
|
|
|
|
|
PIEBALDconsult wrote: But it duplicates data and in a database-based system you can have a dynamic set of listeners.
With multiple applications on a single server, no the data is not duplicated. I don't see why you cannot have a dynamic set of listeners watching shared memory.
PIEBALDconsult wrote: Shared memory can't be used between servers, can it?
No, of course not. However, you could use a publish/subscribe pattern. You could use Apache's HTTPComponents to build a transport system or you could build the system using named pipes which is one of the methods SQLServer uses.
m.bergman
For Bruce Schneier, quanta only have one state : afraid.
To succeed in the world it is not enough to be stupid, you must also be well-mannered. -- Voltaire
In most cases the only difference between disappointment and depression is your level of commitment. -- Marc Maron
I am not a chatbot
|
|
|
|
|
Michael Bergman wrote: no the data is not duplicated
Yes, it is. It's in the database and in the queueing system.
|
|
|
|
|
PIEBALDconsult wrote: Shared memory can't be used between servers, can it?
Also, you could use MSMQ on Windows systems to handle messaging or IBM Websphere MQ on Linux.
m.bergman
For Bruce Schneier, quanta only have one state : afraid.
To succeed in the world it is not enough to be stupid, you must also be well-mannered. -- Voltaire
In most cases the only difference between disappointment and depression is your level of commitment. -- Marc Maron
I am not a chatbot
|
|
|
|
|
A hacker can put a lot of code together in a hurry but if a change is needed the code has to be completely rewritten. A programmer may take a little longer but if changes are needed they are more quickly and easily installed without the need for a complete rewrite. But is that the only way to express the difference? Or is there a real difference at all? What is the difference between Hacking and programming?
|
|
|
|
|
I think "quick and dirty" fits well...there's a reason VS groups comments starting with "HACK" with those starting with "TODO".
|
|
|
|
|
Hear hear!
Slow and steady wins the race.
|
|
|
|
|
A rather sweeping generalization. A competent and experienced programmer can 'hack' code together quickly to do a job and it may not require anyone to go back and fix it. On the other hand a whole group of 'programmers' can still produce crap code.
"If you think it's expensive to hire a professional to do the job, wait until you hire an amateur." Red Adair.
nils illegitimus carborundum
me, me, me
|
|
|
|
|
Hacking on the C code of giflib after an absence of nearly two decades has been an interesting experience, a little like doing an archeological dig. And not one that could readily be had elsewhere; nowhere other than under Unix is code that old still genuinely useful under any but carefully sandboxed conditions. #ifdef you remember any of this, you're getting old like me.
|
|
|
|
|
When it comes to building a Metro style app for business users, the first thing you should consider—whether you are a developer or an IT admin—is how you'll deploy the app. The information you find here should be helpful to you, whether you're a developer writing an app targeting business users, or an IT admin responsible for deploying the app throughout your company. Follow the colorful, tiled path to success!
modified 27-Apr-12 10:22am.
|
|
|
|
|
Terrence Dorsey: http://blogs.msdn.com/b/windowsstore/archive/2012/04/25/deploying-metro-style-apps-to-businesses.aspx Deploying Metro style apps to businesses
What happened to the title?
All of the books in the world contain no more information than is broadcast as video in a single large American city in a single year. Not all bits have equal value.
Carl Sagan
|
|
|
|
|
Poster error. Fixed it.
Director of Content Development, The Code Project
|
|
|
|
|
The URL made it hard to read!
All of the books in the world contain no more information than is broadcast as video in a single large American city in a single year. Not all bits have equal value.
Carl Sagan
|
|
|
|
|
The iPad’s light, sleek, simple construction belies its complex origins. There’s a lot of stuff in the iPad: aluminum and glass, of course, but also other heavy metals and toxic chemicals. And manufacturing each 1.44-pound iPad results in over 285 times its own weight in greenhouse gas emissions. The manufacturing of and material used in the iPad are two reasons why the iPad must be made in China—and not just in the ways you’d expect. It's not just about cheap labor.
|
|
|
|
|
Your phone's or computers' battery drains over the course of a day, but its effectiveness also wears down over the course of weeks, months, and years. We explain why, and the best way to do long-term battery storage. You'll get a charge out of this.
|
|
|
|
|
That's all very well but why does my chewing gum lose it's flavour on the bed-post overnight?
You never answer the most important questions, do you?
Henry Minute
Girl: (staring) "Why do you need an icy cucumber?"
“I want to report a fraud. The government is lying to us all.”
I wouldn't let CG touch my Abacus!
When you're wrestling a gorilla, you don't stop when you're tired, you stop when the gorilla is.
Cogito ergo thumb - Sucking my thumb helps me to think.
|
|
|
|
|
Henry Minute wrote: chewing gum [...] bed-post overnight
All of the books in the world contain no more information than is broadcast as video in a single large American city in a single year. Not all bits have equal value.
Carl Sagan
|
|
|
|
|
Ancient skiffle ditty[^].
Henry Minute
Girl: (staring) "Why do you need an icy cucumber?"
“I want to report a fraud. The government is lying to us all.”
I wouldn't let CG touch my Abacus!
When you're wrestling a gorilla, you don't stop when you're tired, you stop when the gorilla is.
Cogito ergo thumb - Sucking my thumb helps me to think.
|
|
|
|
|
Best known for authoring one of the very first web browsers, Lynx, and being a founding engineer at Netscape. I helped create many of the foundational technologies for the web: HTTP, HTML, SSL, Cookies, Proxies and others. Here's the software and hardware Lou uses to get stuff done. What does the developer of Lynx use to get stuff done?
|
|
|
|
|
"For many years I've been saying that from a security point of view there is no big difference between Mac and Windows. It's always been possible to develop Mac malware, but this one was a bit different. For example it was asking questions about being installed on the system and, using vulnerabilities, it was able to get to the user mode without any alarms." Welcome to Microsoft's world, Eugene Kaspersky tells Apple.
|
|
|
|
|
A bros-only atmosphere will hurt no one more than the startups that foster it. Beyond the obvious workplace consequences—and potential legal fallout—of this imbalance, testosterone-fueled boneheadedness can also turn into a PR nightmare, especially in an industry awash in social media. For startups, recasting geek identity with a frat house swagger is a dangerous game.
|
|
|
|
|
|