Editing 2315: Eventual Consistency

Jump to: navigation, search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 8: Line 8:
  
 
==Explanation==
 
==Explanation==
[[Cueball]]'s employer wants him to continue his work, possibly as a home-based remote worker as encouraged by the common current advice during the {{w|2019–20 coronavirus outbreak|2020 COVID-19 pandemic}}.
+
{{incomplete|Created by an EVENTUALLY CONSISTENT BOT. First revision. Do NOT delete this tag too soon.}}
 +
[[Cueball]]'s employer wants him to continue his work in the {{w|COVID-19}} pandemic. The stated task is to "test the database" and "guarantee eventual consistency". Trying to avoid work, Cueball points out that the {{w|second law of thermodynamics}} itself "guarantees eventual consistency", as the {{w|universe}} is ''guaranteed'' to ''eventually'' die a {{w|Heat death of the universe|heat death}}, at maximum {{w|entropy}} and perfect ''consistency''. His boss retorts that in a heat death, nobody can work; Cueball claims that he's simply getting a head start on this.
  
The stated task is to "test the database" and "guarantee eventual consistency". Trying to avoid work, Cueball points out that the {{w|second law of thermodynamics}} itself "guarantees eventual consistency", as the {{w|universe}} is ''guaranteed'' to ''eventually'' die a {{w|Heat death of the universe|heat death}}, at maximum {{w|entropy}} and perfect ''consistency''. His boss responds that in a system that has reached maximum entropy, no {{w|work}} can be performed (as this requires a difference in energy states between two sources)Cueball claims that he's simply getting a head start on this.
+
''Eventual consistency'' has a double meaning here. In computing, many systems are ''{{w|distributed computing|distributed}}'' (spread out) across multiple servers, sometimes in very different parts of the world.  When data changes -- like the number of views on a video or the likes on a social media post -- updating it across ''every'' server can be a challenge, and it's often not practical to keep the data perfectly in synch everywhere. So the system will use {{w|eventual consistency}} instead.  Each individual server will record changes, and after a certain amount of time or a certain amount of change, the results will be synched across the whole networkAt any given moment, an individual server's data will be a little off -- but ''eventually'' everything will get recorded correctly.
  
''Eventual consistency'' has a double meaning here.  In computing, many systems are ''{{w|distributed computing|distributed}}'' (spread out) across multiple servers, sometimes in very different parts of the world.  When data changes -- like the number of views on a video or the likes on a social media post -- updating it across ''every'' server can be a challenge, and it's often not necessary to keep the data perfectly in sync everywhere.  So the system will use {{w|eventual consistency}} instead.  Each individual server will record changes, and after a certain amount of time or a certain amount of change, the results will be synced across the whole network.  At any given moment, an individual server's data will be a little off -- but ''eventually'' everything will get recorded correctly.
+
The title text constitutes another play on the words "heat bath", which can refer to the thermally uniform state of the universe at heat death. However, in this context, we can assume Cueball instead plans to prepare a literal warm bath for his own relaxation and enjoyment after or during his work.
 
 
The title text constitutes another play on the words "heat bath", which can refer to the thermally uniform state of the universe at {{w|heat death}}. However, in this context, we can assume Cueball instead plans to prepare a literal warm bath for his own relaxation and enjoyment after or during (or instead of) his work.
 
  
 
==Transcript==
 
==Transcript==
 +
{{incomplete transcript|Do NOT delete this tag too soon.}}
 
:[Cueball sits at a home desk.]
 
:[Cueball sits at a home desk.]
 
:Laptop: I know it's hard to focus right now, but we should try to finish testing the DB.
 
:Laptop: I know it's hard to focus right now, but we should try to finish testing the DB.
Line 22: Line 22:
 
:Cueball: Okay.
 
:Cueball: Okay.
  
:[A frameless panel. Cueball still sitting at his desk. He has his hand on his chin.]
 
 
:Laptop: The system needs to guarantee eventual consistency.
 
:Laptop: The system needs to guarantee eventual consistency.
 
:Cueball: I mean, it does.
 
:Cueball: I mean, it does.
Line 31: Line 30:
 
:Cueball: Maximum entropy.
 
:Cueball: Maximum entropy.
  
:[Back to Cueball and desk.  Cueball is leaning back in his chair.]
+
:[Back to Cueball and desk.]
 
:Laptop: Maximum entropy means no useful work can be done!
 
:Laptop: Maximum entropy means no useful work can be done!
 
:Cueball: I'm getting a head start by doing no useful work ''now''.
 
:Cueball: I'm getting a head start by doing no useful work ''now''.
 
==Trivia==
 
* Randall has previously invoked the second law of thermodynamics (indirectly) to provide a "big picture" solution to the {{w|halting problem}} in [[1266: Halting Problem]], concluding that (in the real world, rather than the case of the ideal infinite {{w|Turing machine}}) all programs do halt...eventually.
 
* In [[2282: Coronavirus Worries]], Randall asserted that worrying about "whether you're getting enough work done" is common but not very healthy.  Evidently Cueball has taken his advice to heart, but Cueball's boss has not.
 
* A new [[Header text#2020-06-03_-_Black_Lives_Matter|header text (Black Lives Matter)]] appeared earlier on the day that this comic debuted.
 
  
 
{{comic discussion}}
 
{{comic discussion}}
  
[[Category:Comics featuring Cueball]]
+
[[Category:COVID-19]]
[[Category:Programming]]
 
[[Category:Physics]]
 

Please note that all contributions to explain xkcd may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see explain xkcd:Copyrights for details). Do not submit copyrighted work without permission!

To protect the wiki against automated edit spam, we kindly ask you to solve the following CAPTCHA:

Cancel | Editing help (opens in new window)