|
7 | 7 | <name>Bullshit Program</name> |
8 | 8 | <uri>https://bullshitprogram.com/</uri> |
9 | 9 | </author> |
10 | | - <updated>2025-07-01T06:58:42Z</updated> |
| 10 | + <updated>2025-07-01T07:04:24Z</updated> |
11 | 11 | <link rel="self" type="application/atom+xml" href="https://bullshitprogram.com/feed.atom" hreflang="zh"/> |
12 | 12 | <link rel="alternate" type="text/html" href="https://bullshitprogram.com/" hreflang="zh"/> |
13 | 13 | <entry> |
@@ -748,89 +748,6 @@ https://business.sohu.com/2004/04/28/18/article219981873.shtml</p></conten |
748 | 748 | <li><a href="https://help.aliyun.com/document_detail/59636.html">计量项和计费项</a></li> |
749 | 749 | <li><a href="https://wiki.mbalib.com/zh-tw/5W1H%E5%88%86%E6%9E%90%E6%B3%95">5W1H分析法</a></li> |
750 | 750 | <li><a href="https://connect.console.aliyun.com/connect/detail/144802">阿里云CDN费用过高</a></li> |
751 | | -</ol></content> |
752 | | - </entry> |
753 | | - <entry> |
754 | | - <title>Distributed Wives System</title> |
755 | | - <author> |
756 | | - <name>Zeusro</name> |
757 | | - <uri>https://github.com/zeusro</uri> |
758 | | - </author> |
759 | | - <id>https://bullshitprogram.com/distributed-wives-system/</id> |
760 | | - <updated>2020-04-24T09:13:31Z</updated> |
761 | | - <published>2020-04-24T09:13:31Z</published> |
762 | | - <content type="html"><h2>CAP 理论</h2> |
763 | | -<p><img src="/image/post/Distributed-Wives-System/CAP.png" alt="image"></p> |
764 | | -<p><strong>可用性(Availability)</strong>:睡觉的时候旁边有老婆A或者B,老婆数量越多,可用性越高。可用性的终极形态是“1对N群体运动”(参考罗某人)。满足高可用性的前提是 N ≥ 2 。高可用性也是分布式系统的基础。</p> |
765 | | -<p><strong>分区容错性(Partition tolerance)</strong>:老婆A不知道老婆B,她们信息不完全互通。</p> |
766 | | -<p><strong>一致性(Consistency)</strong> :老婆A 知道老婆B 的存在,或者孩子知道自己爹妈是谁。</p> |
767 | | -<p><strong>最终一致性</strong>:虽然有很多老婆,但最后她们都和谐共处。</p> |
768 | | -<p>我们从历史的长河,来看各个时代的(分布式)老婆系统是怎么样的。</p> |
769 | | -<h2>只知其母,不知其父</h2> |
770 | | -<p>这种母系社会,应该叫<a href="https://www.bullshitprogram.com/distributed-husband-system/">分布式老公系统</a>才对。 |
771 | | -分布式老公系统,实现了高可用性和分区容错性。 |
772 | | -一致性无法保障,所以生下来的娃不知道谁是爹。因此也确立了母亲在族群中的统领地位。</p> |
773 | | -<p>老婆=1,所以不能叫分布式老婆系统。</p> |
774 | | -<h2>父有一个,三妻四妾</h2> |
775 | | -<p>在中国的封建时期。曾经流行这样一套系统。 |
776 | | -不过这套系统也是有讲究的。三妻四妾中的“妻”包括嫡妻、偏妻、下妻等。“三”在古代还有“多”的意思。 |
777 | | -三妻里面,正(髮)妻地位最高,所以叫做“娶”。其余平妻,专门辅佐髮妻。 |
778 | | -至于妾,则用“納”。妾的地位更低。</p> |
779 | | -<table> |
780 | | - <thead> |
781 | | - <tr> |
782 | | - <th>特性</th> |
783 | | - <th>是否实现</th> |
784 | | - </tr> |
785 | | - </thead> |
786 | | - <tbody> |
787 | | - <tr> |
788 | | - <td>一致性</td> |
789 | | - <td>√</td> |
790 | | - </tr> |
791 | | - <tr> |
792 | | - <td>可用性</td> |
793 | | - <td>√</td> |
794 | | - </tr> |
795 | | - <tr> |
796 | | - <td>分区容错性</td> |
797 | | - <td>×(她们各住自己房间)</td> |
798 | | - </tr> |
799 | | - </tbody> |
800 | | -</table> |
801 | | -<h2>构建现代分布式老婆系统</h2> |
802 | | -<h3>弱水三千,只取一瓢</h3> |
803 | | -<blockquote> |
804 | | -<p>亲爱的,我从你身上看到了整个世界。跟你在一起之后,我的生命变得完整。嫁给我吧,我会给你幸福的!</p></blockquote> |
805 | | -<h3>喜新厌旧,开始劈腿</h3> |
806 | | -<blockquote> |
807 | | -<p>老婆,她们只是我的姐妹,我只是玩玩而已。大家都是人,有什么生理需求都很正常。</p></blockquote> |
808 | | -<h3>老婆A 的态度</h3> |
809 | | -<p>第二个步骤过后,会有两条分支线。这取决于老婆A的态度。</p> |
810 | | -<h3>自戴绿帽</h3> |
811 | | -<p>自戴绿帽的合法方式是与他离婚,让他娶小三。但是事实上又在一起。或者做表面夫妻,假意原谅老公,让他继续在外面浪荡。</p> |
812 | | -<p>离婚后又事实上在一起,叫做<strong>实现了最终一致性</strong>。</p> |
813 | | -<p>马斯克是实现分布式老婆系统的大成者。 |
814 | | -他有一句名言:虽然我不知道那孩子爸爸是谁,但看在我这么有钱的份上,给她们母子一点钱吧。</p> |
815 | | -<p>不过我看最近(2025-06)马斯克的气色有点差,感觉也快去地府报道了。</p> |
816 | | -<h3>斩其祸根</h3> |
817 | | -<p>在《School Days》,诚哥上了天台,故事的结局,大家也都知道了。</p> |
818 | | -<p><img src="/image/post/Distributed-Wives-System/school-days.png" alt="image"></p> |
819 | | -<p>来说一首诗祭奠一下诚哥吧:</p> |
820 | | -<pre><code>诚哥笑我胆子小,我笑诚哥死得早。 |
821 | | -你笑诚哥死得早,诚哥笑你日得少。 |
822 | | -诚哥笑你日得少,我笑诚哥日不了。 |
823 | | -你笑诚哥日不了,诚哥笑你胆子小。 |
824 | | -</code></pre> |
825 | | -<h2>结论</h2> |
826 | | -<p>只要你一心沉迷二次元,完美的分布式老婆系统还是可以实现的!</p> |
827 | | -<p><img src="/image/post/Distributed-Wives-System/wives.jpg" alt="image"></p> |
828 | | -<h2>参考链接</h2> |
829 | | -<ol> |
830 | | -<li><a href="https://baike.baidu.com/item/%E4%B8%8A%E5%B8%9D%E9%80%A0%E4%BA%BA">上帝造人</a></li> |
831 | | -<li><a href="https://zh.moegirl.org/zh-hans/%E8%AF%9A%E5%93%A5%E6%AD%BB%E5%BE%97%E6%97%A9">诚哥死得早</a></li> |
832 | | -<li><a href="https://www.ctwant.com/article/47365">羅志祥40歲搞多P!「30秒抖動126下」衝刺片瘋傳 網全看傻</a></li> |
833 | | -<li><a href="https://kknews.cc/history/m46bxz.html">揭秘:中國的妻妾制度,三妻四妾到底指的是哪三妻和哪四妾?</a></li> |
834 | 751 | </ol></content> |
835 | 752 | </entry> |
836 | 753 | <entry> |
|
0 commit comments