Author Topic: Ken and Pat argue (split from The Super-Duper Cheap Bargains Thread)  (Read 691 times)

0 Members and 1 Guest are viewing this topic.

Offline Pat B

  • Veteran member
  • *
  • Posts: 2138
  • A=430
  • Location: USA
Sigh. That means your browser won’t cache, right? You realize that caching can occur behind the reverse proxy your https connects to?

Sigh indeed. Why, at this point, would you speculate on what it means? The spec for the no-store directive (RFC2616 14.9.2) specifically states, “This directive applies to both non-shared and shared caches.” And I think you already know why it would be a very bad idea for an intermediate cache to ignore this directive.

Offline Ken B

  • Veteran member
  • *
  • Posts: 4806
  • The Age of the Wanker is upon us
    • kenBlogic
  • Location: Canada
  • Currently Listening to:
    Canoes not battleships.
Re: Ken and Pat argue (split from The Super-Duper Cheap Bargains Thread)
« Reply #1 on: March 07, 2019, 05:59:47 PM »
You are at a table in a cafe, and I am at another. They sell muffins. You ask your waiter if there are muffins left. He looks, sees three, and says “Yes, three.”
While you cogitate I have the same conversation with my waiter.
I order two muffins posthaste. My waiter, close to the muffins, grabs two.
“I will have two” you say and your waiter heads towards the counter ...

Variations are possible. You speak before I do but your waiter is slow and my quick. Or your waiter looks just before mine grabs the muffins.

This might be a rare scenario but it is plainly a possible one. So is the variant with only one muffin left.
Even more possible is online sales of a discounted item where there is suddenly a rush of orders.

What has happened is that your server's data about the number of muffins left is out of date at some point, briefly.

It's worth noting that if there had been 7 muffins left when he told you, “Yes, 7” that would have been just as out of date, since there would have only been 5 available to you,  but it wouldn’t have mattered or been noticed.
Give a man a fire and he is warm for a day. Set a man on fire and he is warm for life.

Offline mc ukrneal

  • Veteran member
  • *
  • Posts: 8904
Re: Ken and Pat argue (split from The Super-Duper Cheap Bargains Thread)
« Reply #2 on: March 07, 2019, 07:28:30 PM »
I'll take a muffin!! But I won't share my cash. Sorry. :)
Be kind to your fellow posters!!

Offline greg

  • Full Member
  • *
  • Posts: 312
  • Location: San Antonio, TX
Re: Ken and Pat argue (split from The Super-Duper Cheap Bargains Thread)
« Reply #3 on: March 07, 2019, 08:37:46 PM »
There's free muffins? Where?
Wagie wagie get back in the cagie

Offline Pat B

  • Veteran member
  • *
  • Posts: 2138
  • A=430
  • Location: USA
Re: Ken and Pat argue (split from The Super-Duper Cheap Bargains Thread)
« Reply #4 on: March 07, 2019, 10:18:40 PM »
Are we still talking about http caching? Because your latest analogy sounds like you’ve switched the subject to coherency for distributed databases.

Ghost of Baron Scarpia

  • Guest
Re: Ken and Pat argue (split from The Super-Duper Cheap Bargains Thread)
« Reply #5 on: March 07, 2019, 10:39:57 PM »
If what's-his-name had just hit refresh this whole pissing match could have been avoided. :)

Offline mc ukrneal

  • Veteran member
  • *
  • Posts: 8904
Re: Ken and Pat argue (split from The Super-Duper Cheap Bargains Thread)
« Reply #6 on: March 08, 2019, 03:51:53 AM »
Ooooh FRESH muffins!  :P
Be kind to your fellow posters!!

Offline Ken B

  • Veteran member
  • *
  • Posts: 4806
  • The Age of the Wanker is upon us
    • kenBlogic
  • Location: Canada
  • Currently Listening to:
    Canoes not battleships.
Re: Ken and Pat argue (split from The Super-Duper Cheap Bargains Thread)
« Reply #7 on: March 08, 2019, 12:20:21 PM »
Are we still talking about http caching? Because your latest analogy sounds like you’ve switched the subject to coherency for distributed databases.
No switch at all since my post was about how these things can happen in distributed systems like the net. We were never discussing just http caches. I was trying to explain to people who seemed pissed off some of the ways that what happened with their orders might have happened. And you burst in with the, I thought rude, dismissal of an analogy which is not only good but commonplace.
« Last Edit: March 08, 2019, 12:22:41 PM by Ken B »
Give a man a fire and he is warm for a day. Set a man on fire and he is warm for life.

Offline Pat B

  • Veteran member
  • *
  • Posts: 2138
  • A=430
  • Location: USA
Re: Ken and Pat argue (split from The Super-Duper Cheap Bargains Thread)
« Reply #8 on: March 08, 2019, 10:25:21 PM »
We were never discussing just http caches.

I thought we were almost entirely talking about http caches.

The exception being your scone analogy, and my one-sentence response to it. I’ll admit that it deserved a better response than I gave it.