Smash Company Splash Image

November 19th, 2018

In Technology

1 Comment











If you enjoy this article, see the other most popular articles




















If you enjoy this article, see the other most popular articles




















If you enjoy this article, see the other most popular articles

To start with, tran­sient query surges are no longer a prob­lem?

(written by lawrence krubner, however indented passages are often quotes). You can contact lawrence at: lawrence@krubner.com

Tim Bray has an interesting article about the future of REST. However, I fail to understand this sentence:

To start with, tran­sient query surges are no longer a prob­lem

Why? The external world can still send unexpected surges of traffic, yes?

Anyway, this is worth reading:

Post-REST: Mes­sag­ing and Event­ing · This ap­proach is all over, and I mean all over, the cloud in­fras­truc­ture that I work on. The idea is you get a re­quest, you val­i­date it, maybe you do some com­pu­ta­tion on it, then you drop it on a queue (or bus, or stream, or what­ev­er you want to call it) and for­get about it, it’s not your prob­lem any more. ¶

The next stage of re­quest han­dling is im­ple­ment­ed by ser­vices that read the queue and ei­ther route an an­swer back to the orig­i­nal re­quester or pass­es it on to an­oth­er ser­vice stage. Now for this to work, the queues in ques­tion have to be fast (which the­se, days, they are), scal­able (which they are), and very, very durable (which they are).

There are a lot of wins here: To start with, tran­sient query surges are no longer a prob­lem. Al­so, once you’ve got a mes­sage stream you can do fan-out and fil­ter­ing and as­sem­bly and sub­set­ting and all sorts of oth­er use­ful stuff, with­out dis­turb­ing the op­er­a­tions of the up­stream mes­sage source.

Source



Check out my books:





RECENT COMMENTS

August 13, 2019 1:34 pm

From William Hatch on Docker is the dangerous gamble which we will regret

"No tool is every perfect, and you're certainly free to use whatever you want. But, I doubt very much the huge ..."

August 5, 2019 5:23 pm

From lawrence on Why does he want to throw his reputation away?

"DangerNorm, as to your last point, I was recently consulting with a startup that focused on the privacy of med..."

August 5, 2019 3:55 pm

From DangerNorm on Why does he want to throw his reputation away?

"This is tangential to the above point, but on the subject of mental health, I'll also take this chance to say ..."

August 5, 2019 3:51 pm

From DangerNorm on Why does he want to throw his reputation away?

"Your description of most people's response is correct, but I consider it to be a problem, rather than the corr..."

August 5, 2019 3:28 pm

From lawrence on Why does he want to throw his reputation away?

"DangerNorm, thank you for writing. I think you are missing the moral element here. You should understand the d..."

August 5, 2019 3:07 pm

From DangerNorm on Why does he want to throw his reputation away?

"It is true that a murderer is different from the flu virus in that murderers are moral agents and the flu viru..."

August 5, 2019 1:19 pm

From lawrence on Why does he want to throw his reputation away?

"ruurd, I'm not sure if you're responding to me or to DangerNorm, but this is true: "If you don’t get it the..."

August 5, 2019 1:09 pm

From ruurd on Why does he want to throw his reputation away?

"Oh yeah that argument. If you don't get it there is something wrong with you. Yeah right. I'll tell you what's..."

August 4, 2019 9:43 pm

From DangerNorm on Why does he want to throw his reputation away?

""Mass shootings are just not enough of a problem to be worth the attention given to it", is in fact an importa..."

July 28, 2019 2:48 pm

From anon on Appreciating the wisdom of Clay Shirky's comments regarding the early Web and how it would end

"I thought the article ended with a quote, but then I saw the last line: NO COMMENTS..."

July 24, 2019 11:56 pm

From lawrence on Mutable iterators are the work of the Devil

"Alex Miller, thank you. I should have said that I was writing the Clojure code so it might be easier for a Jav..."

July 23, 2019 6:42 pm

From Alex Miller on Mutable iterators are the work of the Devil

"This Clojure code may be serving a comparative purpose, but it's poorly written as Clojure code, and not what ..."

July 21, 2019 6:19 pm

From lawrence on Why is Meghan McCain famous?

"Lindsey, thank you for writing about Meghan McCain. As to her miscarriage, I am of two minds. Miscarriages are..."

July 21, 2019 6:02 pm

From lawrence on How I recovered from Lyme Disease: I fasted for two weeks, no food, just water

"Lindsey, thank you for writing. In fact, when I was a teenager, I went through a phase when I was very into wr..."

July 21, 2019 5:39 pm

From lindsey on How I recovered from Lyme Disease: I fasted for two weeks, no food, just water

"to be honest i was kind of hoping this would be a whole rhyme, with the first sentence and all. i'm glad you ..."

1 COMMENT

November 19, 2018
5:13 pm

By Justin McGuire

I think the idea is that a surge in traffic results in more messages on the queue, which can be handled at a normal pace, instead of more work coming straight to the receivers and possibly DDOSing them.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>