1 Star 0 Fork 0

edgells/CodeGolang

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
index.html 44.20 KB
一键复制 编辑 原始数据 按行查看 历史
edgells 提交于 2024-04-12 22:22 . Site updated: 2024-04-12 22:22:45
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158
<!DOCTYPE html>
<html lang="cn">
<head><!-- hexo injector head_begin start --><link href="https://cdn.jsdelivr.net/npm/hexo-widget-tree@0.2.2/css/index.css" rel="stylesheet"/><!-- hexo injector head_begin end -->
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=2">
<meta name="theme-color" content="#222">
<meta name="generator" content="Hexo 7.1.1">
<link rel="apple-touch-icon" sizes="180x180" href="/images/apple-touch-icon-next.png">
<link rel="icon" type="image/png" sizes="32x32" href="/images/favicon-32x32-next.png">
<link rel="icon" type="image/png" sizes="16x16" href="/images/favicon-16x16-next.png">
<link rel="mask-icon" href="/images/logo.svg" color="#222">
<link rel="stylesheet" href="/css/main.css">
<link rel="stylesheet" href="/lib/font-awesome/css/all.min.css">
<script id="hexo-configurations">
var NexT = window.NexT || {};
var CONFIG = {"hostname":"edgells.github.io","root":"/","scheme":"Muse","version":"7.8.0","exturl":false,"sidebar":{"position":"left","display":"post","padding":18,"offset":12,"onmobile":true,"width":300},"copycode":{"enable":true,"show_result":true,"style":null},"back2top":{"enable":true,"sidebar":true,"scrollpercent":false},"bookmark":{"enable":false,"color":"#222","save":"auto"},"fancybox":false,"mediumzoom":false,"lazyload":false,"pangu":false,"comments":{"style":"tabs","active":null,"storage":true,"lazyload":false,"nav":null},"algolia":{"hits":{"per_page":10},"labels":{"input_placeholder":"Search for Posts","hits_empty":"We didn't find any results for the search: ${query}","hits_stats":"${hits} results found in ${time} ms"}},"localsearch":{"enable":false,"trigger":"auto","top_n_per_article":1,"unescape":false,"preload":false},"motion":{"enable":true,"async":false,"transition":{"post_block":"fadeIn","post_header":"slideDownIn","post_body":"slideDownIn","coll_header":"slideLeftIn","sidebar":"slideUpIn"}}};
</script>
<meta property="og:type" content="website">
<meta property="og:title" content="一个关于 Go、Java、Python 的技术网站">
<meta property="og:url" content="http://edgells.github.io/index.html">
<meta property="og:site_name" content="一个关于 Go、Java、Python 的技术网站">
<meta property="og:locale">
<meta property="article:author" content="edgells">
<meta property="article:tag" content="Golang,Go,golang,go,Java,java,Python,微服务,领域驱动,DDD">
<meta name="twitter:card" content="summary">
<link rel="canonical" href="http://edgells.github.io/">
<script id="page-configurations">
// https://hexo.io/docs/variables.html
CONFIG.page = {
sidebar: "",
isHome : true,
isPost : false,
lang : 'cn'
};
</script>
<title>一个关于 Go、Java、Python 的技术网站</title>
<noscript>
<style>
.use-motion .brand,
.use-motion .menu-item,
.sidebar-inner,
.use-motion .post-block,
.use-motion .pagination,
.use-motion .comments,
.use-motion .post-header,
.use-motion .post-body,
.use-motion .collection-header { opacity: initial; }
.use-motion .site-title,
.use-motion .site-subtitle {
opacity: initial;
top: initial;
}
.use-motion .logo-line-before i { left: initial; }
.use-motion .logo-line-after i { right: initial; }
</style>
</noscript>
</head>
<body itemscope itemtype="http://schema.org/WebPage">
<div class="container use-motion">
<div class="headband"></div>
<header class="header" itemscope itemtype="http://schema.org/WPHeader">
<div class="header-inner"><div class="site-brand-container">
<div class="site-nav-toggle">
<div class="toggle" aria-label="Toggle navigation bar">
<span class="toggle-line toggle-line-first"></span>
<span class="toggle-line toggle-line-middle"></span>
<span class="toggle-line toggle-line-last"></span>
</div>
</div>
<div class="site-meta">
<a href="/" class="brand" rel="start">
<span class="logo-line-before"><i></i></span>
<h1 class="site-title">一个关于 Go、Java、Python 的技术网站</h1>
<span class="logo-line-after"><i></i></span>
</a>
</div>
<div class="site-nav-right">
<div class="toggle popup-trigger">
</div>
</div>
</div>
<nav class="site-nav">
<ul id="menu" class="main-menu menu">
<li class="menu-item menu-item-home">
<a href="/" rel="section"><i class="fa fa-home fa-fw"></i>Home</a>
</li>
<li class="menu-item menu-item-archives">
<a href="/archives/" rel="section"><i class="fa fa-archive fa-fw"></i>Archives</a>
</li>
<li class="menu-item menu-item-about">
<a href="/about/" rel="section"><i class="fa fa-user fa-fw"></i>About</a>
</li>
<li class="menu-item menu-item-tags">
<a href="/tags/" rel="section"><i class="fa fa-tags fa-fw"></i>Tags</a>
</li>
<li class="menu-item menu-item-categories">
<a href="/categories/" rel="section"><i class="fa fa-th fa-fw"></i>Categories</a>
</li>
</ul>
</nav>
</div>
</header>
<div class="reading-progress-bar"></div>
<a href="https://github.com/edgells" class="github-corner" title="Follow me on GitHub" aria-label="Follow me on GitHub" rel="noopener" target="_blank"><svg width="80" height="80" viewBox="0 0 250 250" aria-hidden="true"><path d="M0,0 L115,115 L130,115 L142,142 L250,250 L250,0 Z"></path><path d="M128.3,109.0 C113.8,99.7 119.0,89.6 119.0,89.6 C122.0,82.7 120.5,78.6 120.5,78.6 C119.2,72.0 123.4,76.3 123.4,76.3 C127.3,80.9 125.5,87.3 125.5,87.3 C122.9,97.6 130.6,101.9 134.4,103.2" fill="currentColor" style="transform-origin: 130px 106px;" class="octo-arm"></path><path d="M115.0,115.0 C114.9,115.1 118.7,116.5 119.8,115.4 L133.7,101.6 C136.9,99.2 139.9,98.4 142.2,98.6 C133.8,88.0 127.5,74.4 143.8,58.0 C148.5,53.4 154.0,51.2 159.7,51.0 C160.3,49.4 163.2,43.6 171.4,40.1 C171.4,40.1 176.1,42.5 178.8,56.2 C183.1,58.6 187.2,61.8 190.9,65.4 C194.5,69.0 197.7,73.2 200.1,77.6 C213.8,80.2 216.3,84.9 216.3,84.9 C212.7,93.1 206.9,96.0 205.4,96.6 C205.1,102.4 203.0,107.8 198.3,112.5 C181.9,128.9 168.3,122.5 157.7,114.1 C157.9,116.9 156.7,120.9 152.7,124.9 L141.0,136.5 C139.8,137.7 141.6,141.9 141.8,141.8 Z" fill="currentColor" class="octo-body"></path></svg></a>
<main class="main">
<div class="main-inner">
<div class="content-wrap">
<div class="content index posts-expand">
<article itemscope itemtype="http://schema.org/Article" class="post-block" lang="cn">
<link itemprop="mainEntityOfPage" href="http://edgells.github.io/2024/03/06/django-admin-%E6%94%B9%E9%80%A0/">
<span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
<meta itemprop="image" content="/images/avatar.gif">
<meta itemprop="name" content="edgells">
<meta itemprop="description" content="">
</span>
<span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
<meta itemprop="name" content="一个关于 Go、Java、Python 的技术网站">
</span>
<header class="post-header">
<h2 class="post-title" itemprop="name headline">
<a href="/2024/03/06/django-admin-%E6%94%B9%E9%80%A0/" class="post-title-link" itemprop="url">Django Admin 改造</a>
</h2>
<div class="post-meta">
<span class="post-meta-item">
<span class="post-meta-item-icon">
<i class="far fa-calendar"></i>
</span>
<span class="post-meta-item-text">Posted on</span>
<time title="Created: 2024-03-06 18:03:56 / Modified: 18:06:38" itemprop="dateCreated datePublished" datetime="2024-03-06T18:03:56+08:00">2024-03-06</time>
</span>
<span class="post-meta-item">
<span class="post-meta-item-icon">
<i class="far fa-folder"></i>
</span>
<span class="post-meta-item-text">In</span>
<span itemprop="about" itemscope itemtype="http://schema.org/Thing">
<a href="/categories/Django/" itemprop="url" rel="index"><span itemprop="name">Django</span></a>
</span>
</span>
</div>
</header>
<div class="post-body" itemprop="articleBody">
<p>django 中本身自带一个 admin 工具, 一般情况下也能够满足用户需求. 但是长得比较难看而且功能也不是很多. 对于 admin 后台就需要进行扩展了. 哪么如何对 django 中的 admin 后端进行扩展就需要翻阅源码才能解决了</p>
<figure class="highlight plaintext"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br></pre></td><td class="code"><pre><span class="line"> </span><br><span class="line"> </span><br></pre></td></tr></table></figure>
</div>
<footer class="post-footer">
<div class="post-eof"></div>
</footer>
</article>
<article itemscope itemtype="http://schema.org/Article" class="post-block" lang="cn">
<link itemprop="mainEntityOfPage" href="http://edgells.github.io/2024/03/01/%E5%BE%AE%E6%9C%8D%E5%8A%A1%E4%BB%8E%E9%9B%B6%E5%AE%9E%E7%8E%B0rpc%E6%A1%86%E6%9E%B6/">
<span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
<meta itemprop="image" content="/images/avatar.gif">
<meta itemprop="name" content="edgells">
<meta itemprop="description" content="">
</span>
<span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
<meta itemprop="name" content="一个关于 Go、Java、Python 的技术网站">
</span>
<header class="post-header">
<h2 class="post-title" itemprop="name headline">
<a href="/2024/03/01/%E5%BE%AE%E6%9C%8D%E5%8A%A1%E4%BB%8E%E9%9B%B6%E5%AE%9E%E7%8E%B0rpc%E6%A1%86%E6%9E%B6/" class="post-title-link" itemprop="url">微服务从零实现Rpc框架</a>
</h2>
<div class="post-meta">
<span class="post-meta-item">
<span class="post-meta-item-icon">
<i class="far fa-calendar"></i>
</span>
<span class="post-meta-item-text">Posted on</span>
<time title="Created: 2024-03-01 23:52:44" itemprop="dateCreated datePublished" datetime="2024-03-01T23:52:44+08:00">2024-03-01</time>
</span>
<span class="post-meta-item">
<span class="post-meta-item-icon">
<i class="far fa-calendar-check"></i>
</span>
<span class="post-meta-item-text">Edited on</span>
<time title="Modified: 2024-03-06 16:26:39" itemprop="dateModified" datetime="2024-03-06T16:26:39+08:00">2024-03-06</time>
</span>
<span class="post-meta-item">
<span class="post-meta-item-icon">
<i class="far fa-folder"></i>
</span>
<span class="post-meta-item-text">In</span>
<span itemprop="about" itemscope itemtype="http://schema.org/Thing">
<a href="/categories/%E5%BE%AE%E6%9C%8D%E5%8A%A1/" itemprop="url" rel="index"><span itemprop="name">微服务</span></a>
</span>
</span>
</div>
</header>
<div class="post-body" itemprop="articleBody">
<p>参考: <a target="_blank" rel="noopener" href="https://blog.csdn.net/top_code/article/details/54615853">https://blog.csdn.net/top_code/article/details/54615853</a></p>
</div>
<footer class="post-footer">
<div class="post-eof"></div>
</footer>
</article>
<article itemscope itemtype="http://schema.org/Article" class="post-block" lang="cn">
<link itemprop="mainEntityOfPage" href="http://edgells.github.io/2024/03/01/kafka%E4%BD%BF%E7%94%A8/">
<span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
<meta itemprop="image" content="/images/avatar.gif">
<meta itemprop="name" content="edgells">
<meta itemprop="description" content="">
</span>
<span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
<meta itemprop="name" content="一个关于 Go、Java、Python 的技术网站">
</span>
<header class="post-header">
<h2 class="post-title" itemprop="name headline">
<a href="/2024/03/01/kafka%E4%BD%BF%E7%94%A8/" class="post-title-link" itemprop="url">Kafka使用</a>
</h2>
<div class="post-meta">
<span class="post-meta-item">
<span class="post-meta-item-icon">
<i class="far fa-calendar"></i>
</span>
<span class="post-meta-item-text">Posted on</span>
<time title="Created: 2024-03-01 23:48:55" itemprop="dateCreated datePublished" datetime="2024-03-01T23:48:55+08:00">2024-03-01</time>
</span>
<span class="post-meta-item">
<span class="post-meta-item-icon">
<i class="far fa-calendar-check"></i>
</span>
<span class="post-meta-item-text">Edited on</span>
<time title="Modified: 2024-03-06 15:47:04" itemprop="dateModified" datetime="2024-03-06T15:47:04+08:00">2024-03-06</time>
</span>
</div>
</header>
<div class="post-body" itemprop="articleBody">
<p>参考: <a target="_blank" rel="noopener" href="https://it-blog-cn.com/blogs/qmq/product.html#%E4%B8%80%E3%80%81%E7%94%9F%E4%BA%A7%E8%80%85%E5%8F%91%E9%80%81%E6%B6%88%E6%81%AF%E7%9A%84%E6%AD%A5%E9%AA%A4">https://it-blog-cn.com/blogs/qmq/product.html#一、生产者发送消息的步骤</a></p>
</div>
<footer class="post-footer">
<div class="post-eof"></div>
</footer>
</article>
<article itemscope itemtype="http://schema.org/Article" class="post-block" lang="cn">
<link itemprop="mainEntityOfPage" href="http://edgells.github.io/2024/03/01/%E6%9E%B6%E6%9E%84%E6%A8%A1%E5%BC%8F/">
<span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
<meta itemprop="image" content="/images/avatar.gif">
<meta itemprop="name" content="edgells">
<meta itemprop="description" content="">
</span>
<span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
<meta itemprop="name" content="一个关于 Go、Java、Python 的技术网站">
</span>
<header class="post-header">
<h2 class="post-title" itemprop="name headline">
<a href="/2024/03/01/%E6%9E%B6%E6%9E%84%E6%A8%A1%E5%BC%8F/" class="post-title-link" itemprop="url">架构模式</a>
</h2>
<div class="post-meta">
<span class="post-meta-item">
<span class="post-meta-item-icon">
<i class="far fa-calendar"></i>
</span>
<span class="post-meta-item-text">Posted on</span>
<time title="Created: 2024-03-01 23:24:38" itemprop="dateCreated datePublished" datetime="2024-03-01T23:24:38+08:00">2024-03-01</time>
</span>
<span class="post-meta-item">
<span class="post-meta-item-icon">
<i class="far fa-calendar-check"></i>
</span>
<span class="post-meta-item-text">Edited on</span>
<time title="Modified: 2024-03-06 16:50:29" itemprop="dateModified" datetime="2024-03-06T16:50:29+08:00">2024-03-06</time>
</span>
<span class="post-meta-item">
<span class="post-meta-item-icon">
<i class="far fa-folder"></i>
</span>
<span class="post-meta-item-text">In</span>
<span itemprop="about" itemscope itemtype="http://schema.org/Thing">
<a href="/categories/%E6%9E%B6%E6%9E%84%E5%B8%88/" itemprop="url" rel="index"><span itemprop="name">架构师</span></a>
</span>
</span>
</div>
</header>
<div class="post-body" itemprop="articleBody">
<p>架构模式解决了特定工程下针对常遇性问题, 设计出通用解决方案. 针对</p>
<!--noindex-->
<!--/noindex-->
</div>
<footer class="post-footer">
<div class="post-eof"></div>
</footer>
</article>
<article itemscope itemtype="http://schema.org/Article" class="post-block" lang="cn">
<link itemprop="mainEntityOfPage" href="http://edgells.github.io/2024/03/01/kafka-%E6%B7%B1%E5%BA%A6%E8%A7%A3%E6%9E%90/">
<span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
<meta itemprop="image" content="/images/avatar.gif">
<meta itemprop="name" content="edgells">
<meta itemprop="description" content="">
</span>
<span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
<meta itemprop="name" content="一个关于 Go、Java、Python 的技术网站">
</span>
<header class="post-header">
<h2 class="post-title" itemprop="name headline">
<a href="/2024/03/01/kafka-%E6%B7%B1%E5%BA%A6%E8%A7%A3%E6%9E%90/" class="post-title-link" itemprop="url">Kafka 深度解析</a>
</h2>
<div class="post-meta">
<span class="post-meta-item">
<span class="post-meta-item-icon">
<i class="far fa-calendar"></i>
</span>
<span class="post-meta-item-text">Posted on</span>
<time title="Created: 2024-03-01 22:31:55" itemprop="dateCreated datePublished" datetime="2024-03-01T22:31:55+08:00">2024-03-01</time>
</span>
<span class="post-meta-item">
<span class="post-meta-item-icon">
<i class="far fa-calendar-check"></i>
</span>
<span class="post-meta-item-text">Edited on</span>
<time title="Modified: 2024-03-06 15:47:02" itemprop="dateModified" datetime="2024-03-06T15:47:02+08:00">2024-03-06</time>
</span>
</div>
</header>
<div class="post-body" itemprop="articleBody">
<p>参考: <a target="_blank" rel="noopener" href="https://blog.csdn.net/allthesametome/article/details/47362451">https://blog.csdn.net/allthesametome/article/details/47362451</a><br>
参考: <a target="_blank" rel="noopener" href="http://lxw1234.com/archives/2015/10/538.htm">http://lxw1234.com/archives/2015/10/538.htm</a></p>
</div>
<footer class="post-footer">
<div class="post-eof"></div>
</footer>
</article>
<article itemscope itemtype="http://schema.org/Article" class="post-block" lang="cn">
<link itemprop="mainEntityOfPage" href="http://edgells.github.io/2024/03/01/%E5%A6%82%E4%BD%95%E4%BF%9D%E8%AF%81%E6%B6%88%E6%81%AF%E9%A1%BA%E5%BA%8F%E6%80%A7/">
<span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
<meta itemprop="image" content="/images/avatar.gif">
<meta itemprop="name" content="edgells">
<meta itemprop="description" content="">
</span>
<span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
<meta itemprop="name" content="一个关于 Go、Java、Python 的技术网站">
</span>
<header class="post-header">
<h2 class="post-title" itemprop="name headline">
<a href="/2024/03/01/%E5%A6%82%E4%BD%95%E4%BF%9D%E8%AF%81%E6%B6%88%E6%81%AF%E9%A1%BA%E5%BA%8F%E6%80%A7/" class="post-title-link" itemprop="url">如何保证消息顺序性</a>
</h2>
<div class="post-meta">
<span class="post-meta-item">
<span class="post-meta-item-icon">
<i class="far fa-calendar"></i>
</span>
<span class="post-meta-item-text">Posted on</span>
<time title="Created: 2024-03-01 22:31:09" itemprop="dateCreated datePublished" datetime="2024-03-01T22:31:09+08:00">2024-03-01</time>
</span>
<span class="post-meta-item">
<span class="post-meta-item-icon">
<i class="far fa-calendar-check"></i>
</span>
<span class="post-meta-item-text">Edited on</span>
<time title="Modified: 2024-03-06 15:46:11" itemprop="dateModified" datetime="2024-03-06T15:46:11+08:00">2024-03-06</time>
</span>
</div>
</header>
<div class="post-body" itemprop="articleBody">
<p>参考: <a target="_blank" rel="noopener" href="https://www.cnblogs.com/cjsblog/p/8267892.html">https://www.cnblogs.com/cjsblog/p/8267892.html</a></p>
</div>
<footer class="post-footer">
<div class="post-eof"></div>
</footer>
</article>
<article itemscope itemtype="http://schema.org/Article" class="post-block" lang="cn">
<link itemprop="mainEntityOfPage" href="http://edgells.github.io/2024/03/01/%E6%B6%88%E6%81%AF%E9%98%9F%E5%88%97%E5%92%8C%E6%B6%88%E6%81%AF%E6%80%BB%E7%BA%BF/">
<span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
<meta itemprop="image" content="/images/avatar.gif">
<meta itemprop="name" content="edgells">
<meta itemprop="description" content="">
</span>
<span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
<meta itemprop="name" content="一个关于 Go、Java、Python 的技术网站">
</span>
<header class="post-header">
<h2 class="post-title" itemprop="name headline">
<a href="/2024/03/01/%E6%B6%88%E6%81%AF%E9%98%9F%E5%88%97%E5%92%8C%E6%B6%88%E6%81%AF%E6%80%BB%E7%BA%BF/" class="post-title-link" itemprop="url">消息队列和消息总线</a>
</h2>
<div class="post-meta">
<span class="post-meta-item">
<span class="post-meta-item-icon">
<i class="far fa-calendar"></i>
</span>
<span class="post-meta-item-text">Posted on</span>
<time title="Created: 2024-03-01 22:30:34" itemprop="dateCreated datePublished" datetime="2024-03-01T22:30:34+08:00">2024-03-01</time>
</span>
<span class="post-meta-item">
<span class="post-meta-item-icon">
<i class="far fa-calendar-check"></i>
</span>
<span class="post-meta-item-text">Edited on</span>
<time title="Modified: 2024-03-06 15:46:48" itemprop="dateModified" datetime="2024-03-06T15:46:48+08:00">2024-03-06</time>
</span>
</div>
</header>
<div class="post-body" itemprop="articleBody">
<p>参考: <a target="_blank" rel="noopener" href="https://blog.csdn.net/yanghua_kobe/article/details/43877281">https://blog.csdn.net/yanghua_kobe/article/details/43877281</a></p>
</div>
<footer class="post-footer">
<div class="post-eof"></div>
</footer>
</article>
<article itemscope itemtype="http://schema.org/Article" class="post-block" lang="cn">
<link itemprop="mainEntityOfPage" href="http://edgells.github.io/2024/03/01/raft%E5%8D%8F%E8%AE%AE%E6%98%AF%E5%A6%82%E4%BD%95%E5%B7%A5%E4%BD%9C%E7%9A%84/">
<span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
<meta itemprop="image" content="/images/avatar.gif">
<meta itemprop="name" content="edgells">
<meta itemprop="description" content="">
</span>
<span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
<meta itemprop="name" content="一个关于 Go、Java、Python 的技术网站">
</span>
<header class="post-header">
<h2 class="post-title" itemprop="name headline">
<a href="/2024/03/01/raft%E5%8D%8F%E8%AE%AE%E6%98%AF%E5%A6%82%E4%BD%95%E5%B7%A5%E4%BD%9C%E7%9A%84/" class="post-title-link" itemprop="url">Raft协议是如何工作的</a>
</h2>
<div class="post-meta">
<span class="post-meta-item">
<span class="post-meta-item-icon">
<i class="far fa-calendar"></i>
</span>
<span class="post-meta-item-text">Posted on</span>
<time title="Created: 2024-03-01 18:48:11" itemprop="dateCreated datePublished" datetime="2024-03-01T18:48:11+08:00">2024-03-01</time>
</span>
<span class="post-meta-item">
<span class="post-meta-item-icon">
<i class="far fa-calendar-check"></i>
</span>
<span class="post-meta-item-text">Edited on</span>
<time title="Modified: 2024-03-06 15:47:31" itemprop="dateModified" datetime="2024-03-06T15:47:31+08:00">2024-03-06</time>
</span>
</div>
</header>
<div class="post-body" itemprop="articleBody">
</div>
<footer class="post-footer">
<div class="post-eof"></div>
</footer>
</article>
<article itemscope itemtype="http://schema.org/Article" class="post-block" lang="cn">
<link itemprop="mainEntityOfPage" href="http://edgells.github.io/2024/03/01/mysql%E4%B8%BA%E4%BD%95%E4%BD%BF%E7%94%A8-B-%E6%A0%91%E5%BB%BA%E7%AB%8B%E7%B4%A2%E5%BC%95/">
<span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
<meta itemprop="image" content="/images/avatar.gif">
<meta itemprop="name" content="edgells">
<meta itemprop="description" content="">
</span>
<span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
<meta itemprop="name" content="一个关于 Go、Java、Python 的技术网站">
</span>
<header class="post-header">
<h2 class="post-title" itemprop="name headline">
<a href="/2024/03/01/mysql%E4%B8%BA%E4%BD%95%E4%BD%BF%E7%94%A8-B-%E6%A0%91%E5%BB%BA%E7%AB%8B%E7%B4%A2%E5%BC%95/" class="post-title-link" itemprop="url">Mysql为何使用 B+ 树建立索引</a>
</h2>
<div class="post-meta">
<span class="post-meta-item">
<span class="post-meta-item-icon">
<i class="far fa-calendar"></i>
</span>
<span class="post-meta-item-text">Posted on</span>
<time title="Created: 2024-03-01 14:02:05" itemprop="dateCreated datePublished" datetime="2024-03-01T14:02:05+08:00">2024-03-01</time>
</span>
<span class="post-meta-item">
<span class="post-meta-item-icon">
<i class="far fa-calendar-check"></i>
</span>
<span class="post-meta-item-text">Edited on</span>
<time title="Modified: 2024-03-06 15:47:29" itemprop="dateModified" datetime="2024-03-06T15:47:29+08:00">2024-03-06</time>
</span>
</div>
</header>
<div class="post-body" itemprop="articleBody">
<p>作为 B 树的变种, Mysql 为何使用 B+ 树来作为索引的数据结构?, 因为范围查询</p>
</div>
<footer class="post-footer">
<div class="post-eof"></div>
</footer>
</article>
<article itemscope itemtype="http://schema.org/Article" class="post-block" lang="cn">
<link itemprop="mainEntityOfPage" href="http://edgells.github.io/2024/02/24/%E5%A4%A7%E6%95%B0%E6%8D%AE%E7%B3%BB%E7%BB%9F%E8%AE%BE%E8%AE%A1/">
<span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
<meta itemprop="image" content="/images/avatar.gif">
<meta itemprop="name" content="edgells">
<meta itemprop="description" content="">
</span>
<span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
<meta itemprop="name" content="一个关于 Go、Java、Python 的技术网站">
</span>
<header class="post-header">
<h2 class="post-title" itemprop="name headline">
<a href="/2024/02/24/%E5%A4%A7%E6%95%B0%E6%8D%AE%E7%B3%BB%E7%BB%9F%E8%AE%BE%E8%AE%A1/" class="post-title-link" itemprop="url">大数据系统设计</a>
</h2>
<div class="post-meta">
<span class="post-meta-item">
<span class="post-meta-item-icon">
<i class="far fa-calendar"></i>
</span>
<span class="post-meta-item-text">Posted on</span>
<time title="Created: 2024-02-24 23:50:42" itemprop="dateCreated datePublished" datetime="2024-02-24T23:50:42+08:00">2024-02-24</time>
</span>
<span class="post-meta-item">
<span class="post-meta-item-icon">
<i class="far fa-calendar-check"></i>
</span>
<span class="post-meta-item-text">Edited on</span>
<time title="Modified: 2024-03-06 15:45:34" itemprop="dateModified" datetime="2024-03-06T15:45:34+08:00">2024-03-06</time>
</span>
</div>
</header>
<div class="post-body" itemprop="articleBody">
</div>
<footer class="post-footer">
<div class="post-eof"></div>
</footer>
</article>
<nav class="pagination">
<span class="page-number current">1</span><a class="page-number" href="/page/2/">2</a><span class="space">&hellip;</span><a class="page-number" href="/page/5/">5</a><a class="extend next" rel="next" href="/page/2/"><i class="fa fa-angle-right" aria-label="Next page"></i></a>
</nav>
</div>
<script>
window.addEventListener('tabs:register', () => {
let { activeClass } = CONFIG.comments;
if (CONFIG.comments.storage) {
activeClass = localStorage.getItem('comments_active') || activeClass;
}
if (activeClass) {
let activeTab = document.querySelector(`a[href="#comment-${activeClass}"]`);
if (activeTab) {
activeTab.click();
}
}
});
if (CONFIG.comments.storage) {
window.addEventListener('tabs:click', event => {
if (!event.target.matches('.tabs-comment .tab-content .tab-pane')) return;
let commentClass = event.target.classList[1];
localStorage.setItem('comments_active', commentClass);
});
}
</script>
</div>
<div class="toggle sidebar-toggle">
<span class="toggle-line toggle-line-first"></span>
<span class="toggle-line toggle-line-middle"></span>
<span class="toggle-line toggle-line-last"></span>
</div>
<aside class="sidebar">
<div class="sidebar-inner">
<ul class="sidebar-nav motion-element">
<li class="sidebar-nav-toc">
Table of Contents
</li>
<li class="sidebar-nav-overview">
Overview
</li>
</ul>
<!--noindex-->
<div class="post-toc-wrap sidebar-panel">
</div>
<!--/noindex-->
<div class="site-overview-wrap sidebar-panel">
<div class="site-author motion-element" itemprop="author" itemscope itemtype="http://schema.org/Person">
<p class="site-author-name" itemprop="name">edgells</p>
<div class="site-description" itemprop="description"></div>
</div>
<div class="site-state-wrap motion-element">
<nav class="site-state">
<div class="site-state-item site-state-posts">
<a href="/archives/">
<span class="site-state-item-count">41</span>
<span class="site-state-item-name">posts</span>
</a>
</div>
<div class="site-state-item site-state-categories">
<a href="/categories/">
<span class="site-state-item-count">13</span>
<span class="site-state-item-name">categories</span></a>
</div>
<div class="site-state-item site-state-tags">
<a href="/tags/">
<span class="site-state-item-count">32</span>
<span class="site-state-item-name">tags</span></a>
</div>
</nav>
</div>
<div class="links-of-author motion-element">
<span class="links-of-author-item">
<a href="https://github.com/edgells" title="GitHub → https:&#x2F;&#x2F;github.com&#x2F;edgells" rel="noopener" target="_blank"><i class="fab fa-github fa-fw"></i></a>
</span>
<span class="links-of-author-item">
<a href="/joesedgells@gmail.com" title="E-Mail → joesedgells@gmail.com"><i class="fa fa-envelope fa-fw"></i></a>
</span>
</div>
</div>
<div class="back-to-top motion-element">
<i class="fa fa-arrow-up"></i>
<span>0%</span>
</div>
</div>
</aside>
<div id="sidebar-dimmer"></div>
</div>
</main>
<footer class="footer">
<div class="footer-inner">
<div class="copyright">
&copy;
<span itemprop="copyrightYear">2024</span>
<span class="with-love">
<i class="fa fa-heart"></i>
</span>
<span class="author" itemprop="copyrightHolder">转载来自 edgells 的技术博客, 请声明出处. 如有需要合作请与作者联系</span>
</div>
<div class="powered-by">Powered by <a href="https://hexo.io/" class="theme-link" rel="noopener" target="_blank">Hexo</a> & <a href="https://muse.theme-next.org/" class="theme-link" rel="noopener" target="_blank">NexT.Muse</a>
</div>
</div>
</footer>
</div>
<script src="/lib/anime.min.js"></script>
<script src="/lib/pjax/pjax.min.js"></script>
<script src="/lib/velocity/velocity.min.js"></script>
<script src="/lib/velocity/velocity.ui.min.js"></script>
<script src="/js/utils.js"></script>
<script src="/js/motion.js"></script>
<script src="/js/schemes/muse.js"></script>
<script src="/js/next-boot.js"></script>
<script>
var pjax = new Pjax({
selectors: [
'head title',
'#page-configurations',
'.content-wrap',
'.post-toc-wrap',
'.languages',
'#pjax'
],
switches: {
'.post-toc-wrap': Pjax.switches.innerHTML
},
analytics: false,
cacheBust: false,
scrollTo : !CONFIG.bookmark.enable
});
window.addEventListener('pjax:success', () => {
document.querySelectorAll('script[data-pjax], script#page-configurations, #pjax script').forEach(element => {
var code = element.text || element.textContent || element.innerHTML || '';
var parent = element.parentNode;
parent.removeChild(element);
var script = document.createElement('script');
if (element.id) {
script.id = element.id;
}
if (element.className) {
script.className = element.className;
}
if (element.type) {
script.type = element.type;
}
if (element.src) {
script.src = element.src;
// Force synchronous loading of peripheral JS.
script.async = false;
}
if (element.dataset.pjax !== undefined) {
script.dataset.pjax = '';
}
if (code !== '') {
script.appendChild(document.createTextNode(code));
}
parent.appendChild(script);
});
NexT.boot.refresh();
// Define Motion Sequence & Bootstrap Motion.
if (CONFIG.motion.enable) {
NexT.motion.integrator
.init()
.add(NexT.motion.middleWares.subMenu)
.add(NexT.motion.middleWares.postList)
.bootstrap();
}
NexT.utils.updateSidebarPosition();
});
</script>
<div id="pjax">
</div>
<!-- hexo injector body_end start --><script src="https://cdn.jsdelivr.net/npm/hexo-widget-tree@0.2.2/js/index.js"></script><div id="widget-tree">
<ul>
<li class="tree-list-item">
<i class="toggle-post-icon gg-folder-add"></i>
<a class="tree-list-link" href="/categories/Flask/">
Flask
</a>
<span class="tree-list-count">5</span><ul class="tree-list-children"><li class="tree-list-item"><a class="tree-list-post-link" href="/2017/10/12/Flask-%E4%BF%A1%E5%8F%B7/" title="Flask 信号"><i class="post-icon gg-file-document"></i>Flask 信号</a></li><li class="tree-list-item"><a class="tree-list-post-link" href="/2017/10/13/Flask-%E9%92%A9%E5%AD%90%E5%87%BD%E6%95%B0/" title="Flask 钩子函数"><i class="post-icon gg-file-document"></i>Flask 钩子函数</a></li><li class="tree-list-item"><a class="tree-list-post-link" href="/2017/10/11/flask-sqlalchemy-%E5%A4%8D%E6%9D%82%E6%9F%A5%E8%AF%A2/" title="Flask-Sqlalchemy-复杂查询"><i class="post-icon gg-file-document"></i>Flask-Sqlalchemy-复杂查询</a></li><li class="tree-list-item"><a class="tree-list-post-link" href="/2017/10/10/flask-%E8%B7%AF%E7%94%B1%E5%92%8C%E8%93%9D%E5%9B%BE/" title="Flask 路由和蓝图"><i class="post-icon gg-file-document"></i>Flask 路由和蓝图</a></li><li class="tree-list-item"><a class="tree-list-post-link" href="/2017/10/11/flask%E4%B8%8A%E4%B8%8B%E6%96%87%E5%BA%94%E7%94%A8/" title="Flask 上下文应用"><i class="post-icon gg-file-document"></i>Flask 上下文应用</a></li></ul></li>
<li class="tree-list-item">
<i class="toggle-post-icon gg-folder-add"></i>
<a class="tree-list-link" href="/categories/clickhouse/">
clickhouse
</a>
<span class="tree-list-count">1</span><ul class="tree-list-children"><li class="tree-list-item"><a class="tree-list-post-link" href="/2022/12/10/clickhouse-%E7%AE%80%E5%8D%95%E4%BD%BF%E7%94%A8/" title="Clickhouse 简单使用"><i class="post-icon gg-file-document"></i>Clickhouse 简单使用</a></li></ul></li>
<li class="tree-list-item">
<i class="toggle-post-icon gg-folder-add"></i>
<a class="tree-list-link" href="/categories/Django/">
Django
</a>
<span class="tree-list-count">2</span><ul class="tree-list-children"><li class="tree-list-item"><a class="tree-list-post-link" href="/2024/03/06/django-admin-%E6%94%B9%E9%80%A0/" title="Django Admin 改造"><i class="post-icon gg-file-document"></i>Django Admin 改造</a></li><li class="tree-list-item"><a class="tree-list-post-link" href="/2018/05/22/django%E6%9C%89%E4%BA%86restframe-work%E4%B9%8B%E5%90%8E%E7%9A%84%E5%8A%9B%E9%87%8F/" title="Django有了 Rest Framework之后的力量"><i class="post-icon gg-file-document"></i>Django有了 Rest Framework之后的力量</a></li></ul></li>
<li class="tree-list-item">
<i class="toggle-post-icon gg-folder-add"></i>
<a class="tree-list-link" href="/categories/TCP/">
TCP
</a>
<span class="tree-list-count">1</span><ul class="tree-list-children"><li class="tree-list-item"><a class="tree-list-post-link" href="/2018/08/20/linux-TCP%E5%8F%82%E6%95%B0%E8%AF%B4%E6%98%8E/" title="Linux TCP参数说明"><i class="post-icon gg-file-document"></i>Linux TCP参数说明</a></li></ul></li>
<li class="tree-list-item">
<i class="toggle-post-icon gg-folder-add"></i>
<a class="tree-list-link" href="/categories/database/">
database
</a>
<span class="tree-list-count">1</span><ul class="tree-list-children"><li class="tree-list-item"><a class="tree-list-post-link" href="/2018/03/06/mysql-%E4%BA%8B%E5%8A%A1%E4%B9%8Bwal%E6%97%A5%E5%BF%97/" title="Mysql Wal 日志"><i class="post-icon gg-file-document"></i>Mysql Wal 日志</a></li></ul></li>
<li class="tree-list-item">
<i class="toggle-post-icon gg-folder-add"></i>
<a class="tree-list-link" href="/categories/Mysql/">
Mysql
</a>
<span class="tree-list-count">2</span><ul class="tree-list-children"><li class="tree-list-item"><a class="tree-list-post-link" href="/2019/03/18/mysql-%E7%B4%A2%E5%BC%95/" title="Mysql 索引"><i class="post-icon gg-file-document"></i>Mysql 索引</a></li><li class="tree-list-item"><a class="tree-list-post-link" href="/2018/10/25/mysql%E4%B8%ADmvcc%E5%A6%82%E4%BD%95%E8%AE%A9%E4%BA%8B%E5%8A%A1%E5%B9%B6%E5%8F%91%E6%89%A7%E8%A1%8C/" title="Mvcc如何让事务并发执行"><i class="post-icon gg-file-document"></i>Mvcc如何让事务并发执行</a></li></ul></li>
<li class="tree-list-item">
<i class="toggle-post-icon gg-folder-add"></i>
<a class="tree-list-link" href="/categories/%E5%88%86%E5%B8%83%E5%BC%8F%E5%8D%8F%E8%AE%AE/">
分布式协议
</a>
<span class="tree-list-count">2</span><ul class="tree-list-children"><li class="tree-list-item"><a class="tree-list-post-link" href="/2018/01/10/paxos%E5%8D%8F%E8%AE%AE/" title="Paxos协议"><i class="post-icon gg-file-document"></i>Paxos协议</a></li><li class="tree-list-item"><a class="tree-list-post-link" href="/2018/05/11/zookeeper%E5%88%86%E6%9E%90/" title="Zookeeper 分析"><i class="post-icon gg-file-document"></i>Zookeeper 分析</a></li></ul></li>
<li class="tree-list-item">
<i class="toggle-post-icon gg-folder-add"></i>
<a class="tree-list-link" href="/categories/python/">
python
</a>
<span class="tree-list-count">2</span><ul class="tree-list-children"><li class="tree-list-item"><a class="tree-list-post-link" href="/2015/10/21/python%E5%86%85%E5%AD%98%E7%AE%A1%E7%90%86/" title="Python Gc"><i class="post-icon gg-file-document"></i>Python Gc</a></li><li class="tree-list-item"><a class="tree-list-post-link" href="/2018/02/24/wsgi/" title="Python Wsgi"><i class="post-icon gg-file-document"></i>Python Wsgi</a></li></ul></li>
<li class="tree-list-item">
<i class="toggle-post-icon gg-folder-add"></i>
<a class="tree-list-link" href="/categories/Redis/">
Redis
</a>
<span class="tree-list-count">1</span><ul class="tree-list-children"><li class="tree-list-item"><a class="tree-list-post-link" href="/2017/10/21/redis-%E5%9F%BA%E6%9C%AC%E6%95%B0%E6%8D%AE%E7%BB%93%E6%9E%84-string/" title="Redis 基本数据结构之String"><i class="post-icon gg-file-document"></i>Redis 基本数据结构之String</a></li></ul></li>
<li class="tree-list-item">
<i class="toggle-post-icon gg-folder-add"></i>
<a class="tree-list-link" href="/categories/Linux/">
Linux
</a>
<span class="tree-list-count">1</span><ul class="tree-list-children"><li class="tree-list-item"><a class="tree-list-post-link" href="/2018/03/15/%E5%B8%B8%E7%94%A8%E7%9A%84-Linux-%E5%91%BD%E4%BB%A4/" title="常用的 Linux 命令"><i class="post-icon gg-file-document"></i>常用的 Linux 命令</a></li></ul></li>
<li class="tree-list-item">
<i class="toggle-post-icon gg-folder-add"></i>
<a class="tree-list-link" href="/categories/%E5%BE%AE%E6%9C%8D%E5%8A%A1/">
微服务
</a>
<span class="tree-list-count">2</span><ul class="tree-list-children"><li class="tree-list-item"><a class="tree-list-post-link" href="/2024/03/01/%E5%BE%AE%E6%9C%8D%E5%8A%A1%E4%BB%8E%E9%9B%B6%E5%AE%9E%E7%8E%B0rpc%E6%A1%86%E6%9E%B6/" title="微服务从零实现Rpc框架"><i class="post-icon gg-file-document"></i>微服务从零实现Rpc框架</a></li><li class="tree-list-item"><a class="tree-list-post-link" href="/2019/02/10/%E5%BE%AE%E6%9C%8D%E5%8A%A1%E6%9E%B6%E6%9E%84%E4%B9%8B%E7%BD%91%E5%85%B3/" title="微服务架构之网关"><i class="post-icon gg-file-document"></i>微服务架构之网关</a></li></ul></li>
<li class="tree-list-item">
<i class="toggle-post-icon gg-folder-add"></i>
<a class="tree-list-link" href="/categories/%E6%9E%B6%E6%9E%84%E5%B8%88/">
架构师
</a>
<span class="tree-list-count">1</span><ul class="tree-list-children"><li class="tree-list-item"><a class="tree-list-post-link" href="/2024/03/01/%E6%9E%B6%E6%9E%84%E6%A8%A1%E5%BC%8F/" title="架构模式"><i class="post-icon gg-file-document"></i>架构模式</a></li></ul></li>
<li class="tree-list-item">
<i class="toggle-post-icon gg-folder-add"></i>
<a class="tree-list-link" href="/categories/go/">
go
</a>
<span class="tree-list-count">1</span><ul class="tree-list-children"><li class="tree-list-item"><a class="tree-list-post-link" href="/2023/10/06/%E7%99%BE%E4%B8%87%E7%BA%A7%E9%95%BF%E8%BF%9E%E6%8E%A5-GO-%E6%9C%8D%E5%8A%A1%E6%9E%B6%E6%9E%84%E8%AE%BE%E8%AE%A1/" title="百万级长连接 GO 服务架构设计"><i class="post-icon gg-file-document"></i>百万级长连接 GO 服务架构设计</a></li></ul></li></ul>
<div id="widget-tree-button">
<i class="gg-chevron-right"></i>
</div>
</div><!-- hexo injector body_end end --></body>
</html>
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/edgells/code-golang.git
git@gitee.com:edgells/code-golang.git
edgells
code-golang
CodeGolang
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385