@ -223,6 +223,105 @@
< article itemscope itemtype = "http://schema.org/Article" class = "post-block home" lang = "zh-Hans" >
< link itemprop = "mainEntityOfPage" href = "https://nicksxs.me/2016/08/14/docker-mysql-cluster/" >
< span hidden itemprop = "author" itemscope itemtype = "http://schema.org/Person" >
< meta itemprop = "image" content = "/uploads/avatar.jpg" >
< meta itemprop = "name" content = "Nicksxs" >
< meta itemprop = "description" content = "learn from zero,技术博客,Nicksxs,史学森" >
< / span >
< span hidden itemprop = "publisher" itemscope itemtype = "http://schema.org/Organization" >
< meta itemprop = "name" content = "Nicksxs's Blog" >
< / span >
< header class = "post-header" >
< h1 class = "post-title" itemprop = "name headline" >
< a href = "/2016/08/14/docker-mysql-cluster/" class = "post-title-link" itemprop = "url" > docker-mysql-cluster< / a >
< / h1 >
< div class = "post-meta" >
< span class = "post-meta-item" >
< span class = "post-meta-item-icon" >
< i class = "fa fa-calendar-o" > < / i >
< / span >
< span class = "post-meta-item-text" > Posted on< / span >
< time title = "Created: 2016-08-14 16:51:00" itemprop = "dateCreated datePublished" datetime = "2016-08-14T16:51:00+08:00" > 2016-08-14< / time >
< / span >
< span class = "post-meta-item" >
< span class = "post-meta-item-icon" >
< i class = "fa fa-calendar-check-o" > < / i >
< / span >
< span class = "post-meta-item-text" > Edited on< / span >
< time title = "Modified: 2020-01-12 21:08:27" itemprop = "dateModified" datetime = "2020-01-12T21:08:27+08:00" > 2020-01-12< / time >
< / span >
< span class = "post-meta-item" >
< span class = "post-meta-item-icon" >
< i class = "fa fa-folder-o" > < / i >
< / span >
< span class = "post-meta-item-text" > In< / span >
< span itemprop = "about" itemscope itemtype = "http://schema.org/Thing" >
< a href = "/categories/docker/" itemprop = "url" rel = "index" >
< span itemprop = "name" > docker< / span >
< / a >
< / span >
< / span >
< span class = "post-meta-item" >
< span class = "post-meta-item-icon" >
< i class = "fa fa-comment-o" > < / i >
< / span >
< span class = "post-meta-item-text" > Disqus: < / span >
< a title = "disqus" href = "/2016/08/14/docker-mysql-cluster/#comments" itemprop = "discussionUrl" >
< span class = "post-comments-count disqus-comment-count" data-disqus-identifier = "2016/08/14/docker-mysql-cluster/" itemprop = "commentCount" > < / span >
< / a >
< / span >
< / div >
< / header >
< div class = "post-body" itemprop = "articleBody" >
< h3 id = "docker-mysql-cluster" > < a href = "#docker-mysql-cluster" class = "headerlink" title = "docker-mysql-cluster" > < / a > docker-mysql-cluster< / h3 > < p > 基于docker搭了个mysql集群,稍微记一下,< br > 首先是新建mysql主库容< br >
<!-- noindex -->
< div class = "post-button" >
< a class = "btn" href = "/2016/08/14/docker-mysql-cluster/#more" rel = "contents" >
Read more »
< / a >
< / div >
<!-- /noindex -->
< / div >
< footer class = "post-footer" >
< div class = "post-eof" > < / div >
< / footer >
< / article >
< article itemscope itemtype = "http://schema.org/Article" class = "post-block home" lang = "zh-Hans" >
< article itemscope itemtype = "http://schema.org/Article" class = "post-block home" lang = "zh-Hans" >
< link itemprop = "mainEntityOfPage" href = "https://nicksxs.me/2016/07/13/swoole-websocket-test/" >
< link itemprop = "mainEntityOfPage" href = "https://nicksxs.me/2016/07/13/swoole-websocket-test/" >
@ -1124,105 +1223,6 @@
< article itemscope itemtype = "http://schema.org/Article" class = "post-block home" lang = "zh-Hans" >
< link itemprop = "mainEntityOfPage" href = "https://nicksxs.me/2015/01/04/Path-Sum/" >
< span hidden itemprop = "author" itemscope itemtype = "http://schema.org/Person" >
< meta itemprop = "image" content = "/uploads/avatar.jpg" >
< meta itemprop = "name" content = "Nicksxs" >
< meta itemprop = "description" content = "learn from zero,技术博客,Nicksxs,史学森" >
< / span >
< span hidden itemprop = "publisher" itemscope itemtype = "http://schema.org/Organization" >
< meta itemprop = "name" content = "Nicksxs's Blog" >
< / span >
< header class = "post-header" >
< h1 class = "post-title" itemprop = "name headline" >
< a href = "/2015/01/04/Path-Sum/" class = "post-title-link" itemprop = "url" > Path Sum< / a >
< / h1 >
< div class = "post-meta" >
< span class = "post-meta-item" >
< span class = "post-meta-item-icon" >
< i class = "fa fa-calendar-o" > < / i >
< / span >
< span class = "post-meta-item-text" > Posted on< / span >
< time title = "Created: 2015-01-04 15:44:10" itemprop = "dateCreated datePublished" datetime = "2015-01-04T15:44:10+08:00" > 2015-01-04< / time >
< / span >
< span class = "post-meta-item" >
< span class = "post-meta-item-icon" >
< i class = "fa fa-calendar-check-o" > < / i >
< / span >
< span class = "post-meta-item-text" > Edited on< / span >
< time title = "Modified: 2020-01-12 21:08:26" itemprop = "dateModified" datetime = "2020-01-12T21:08:26+08:00" > 2020-01-12< / time >
< / span >
< span class = "post-meta-item" >
< span class = "post-meta-item-icon" >
< i class = "fa fa-folder-o" > < / i >
< / span >
< span class = "post-meta-item-text" > In< / span >
< span itemprop = "about" itemscope itemtype = "http://schema.org/Thing" >
< a href = "/categories/leetcode/" itemprop = "url" rel = "index" >
< span itemprop = "name" > leetcode< / span >
< / a >
< / span >
< / span >
< span class = "post-meta-item" >
< span class = "post-meta-item-icon" >
< i class = "fa fa-comment-o" > < / i >
< / span >
< span class = "post-meta-item-text" > Disqus: < / span >
< a title = "disqus" href = "/2015/01/04/Path-Sum/#comments" itemprop = "discussionUrl" >
< span class = "post-comments-count disqus-comment-count" data-disqus-identifier = "2015/01/04/Path-Sum/" itemprop = "commentCount" > < / span >
< / a >
< / span >
< / div >
< / header >
< div class = "post-body" itemprop = "articleBody" >
< h3 id = "problem" > < a href = "#problem" class = "headerlink" title = "problem" > < / a > problem< / h3 > < p > Given a binary tree and a sum, determine if the tree has a root-to-leaf path such that adding up all the values along the path equals the given sum.< / p >
<!-- noindex -->
< div class = "post-button" >
< a class = "btn" href = "/2015/01/04/Path-Sum/#more" rel = "contents" >
Read more »
< / a >
< / div >
<!-- /noindex -->
< / div >
< footer class = "post-footer" >
< div class = "post-eof" > < / div >
< / footer >
< / article >
< / div >
< / div >
@ -1295,7 +1295,7 @@
< div class = "site-state-item site-state-posts" >
< div class = "site-state-item site-state-posts" >
< a href = "/archives/" >
< a href = "/archives/" >
< span class = "site-state-item-count" > 33 < / span >
< span class = "site-state-item-count" > 34 < / span >
< span class = "site-state-item-name" > posts< / span >
< span class = "site-state-item-name" > posts< / span >
< / a >
< / a >
< / div >
< / div >
@ -1333,7 +1333,7 @@
< div class = "widget-wrap" >
< div class = "widget-wrap" >
< div id = "myCanvasContainer" class = "widget tagcloud" >
< div id = "myCanvasContainer" class = "widget tagcloud" >
< canvas width = "250" height = "250" id = "resCanvas" style = "width=100%" >
< canvas width = "250" height = "250" id = "resCanvas" style = "width=100%" >
< ul class = "tag-list" itemprop = "keywords" > < li class = "tag-list-item" > < a class = "tag-list-link" href = "/tags/C/" rel = "tag" > C< / a > < span class = "tag-list-count" > 1< / span > < / li > < li class = "tag-list-item" > < a class = "tag-list-link" href = "/tags/C/" rel = "tag" > C++< / a > < span class = "tag-list-count" > 2< / span > < / li > < li class = "tag-list-item" > < a class = "tag-list-link" href = "/tags/Design-Patterns/" rel = "tag" > Design Patterns< / a > < span class = "tag-list-count" > 1< / span > < / li > < li class = "tag-list-item" > < a class = "tag-list-link" href = "/tags/Distributed-Lock/" rel = "tag" > Distributed Lock< / a > < span class = "tag-list-count" > 1< / span > < / li > < li class = "tag-list-item" > < a class = "tag-list-link" href = "/tags/JVM/" rel = "tag" > JVM< / a > < span class = "tag-list-count" > 1< / span > < / li > < li class = "tag-list-item" > < a class = "tag-list-link" href = "/tags/Java/" rel = "tag" > Java< / a > < span class = "tag-list-count" > 1< / span > < / li > < li class = "tag-list-item" > < a class = "tag-list-link" href = "/tags/Redis/" rel = "tag" > Redis< / a > < span class = "tag-list-count" > 1< / span > < / li > < li class = "tag-list-item" > < a class = "tag-list-link" href = "/tags/Singleton/" rel = "tag" > Singleton< / a > < span class = "tag-list-count" > 1< / span > < / li > < li class = "tag-list-item" > < a class = "tag-list-link" href = "/tags/aqs/" rel = "tag" > aqs< / a > < span class = "tag-list-count" > 1< / span > < / li > < li class = "tag-list-item" > < a class = "tag-list-link" href = "/tags/c/" rel = "tag" > c++< / a > < span class = "tag-list-count" > 14< / span > < / li > < li class = "tag-list-item" > < a class = "tag-list-link" href = "/tags/cluster/" rel = "tag" > cluster< / a > < span class = "tag-list-count" > 1< / span > < / li > < li class = "tag-list-item" > < a class = "tag-list-link" href = "/tags/docker/" rel = "tag" > docker< / a > < span class = "tag-list-count" > 1< / span > < / li > < li class = "tag-list-item" > < a class = "tag-list-link" href = "/tags/hadoop/" rel = "tag" > hadoop< / a > < span class = "tag-list-count" > 1< / span > < / li > < li class = "tag-list-item" > < a class = "tag-list-link" href = "/tags/im/" rel = "tag" > im< / a > < span class = "tag-list-count" > 1< / span > < / li > < li class = "tag-list-item" > < a class = "tag-list-link" href = "/tags/java/" rel = "tag" > java< / a > < span class = "tag-list-count" > 1< / span > < / li > < li class = "tag-list-item" > < a class = "tag-list-link" href = "/tags/leetcode/" rel = "tag" > leetcode< / a > < span class = "tag-list-count" > 13< / span > < / li > < li class = "tag-list-item" > < a class = "tag-list-link" href = "/tags/mfc/" rel = "tag" > mfc< / a > < span class = "tag-list-count" > 2< / span > < / li > < li class = "tag-list-item" > < a class = "tag-list-link" href = "/tags/mq/" rel = "tag" > mq< / a > < span class = "tag-list-count" > 1< / span > < / li > < li class = "tag-list-item" > < a class = "tag-list-link" href = "/tags/mysql/" rel = "tag" > mysql< / a > < span class = "tag-list-count" > 1< / span > < / li > < li class = "tag-list-item" > < a class = "tag-list-link" href = "/tags/nginx/" rel = "tag" > nginx< / a > < span class = "tag-list-count" > 1< / span > < / li > < li class = "tag-list-item" > < a class = "tag-list-link" href = "/tags/openresty/" rel = "tag" > openresty< / a > < span class = "tag-list-count" > 1< / span > < / li > < li class = "tag-list-item" > < a class = "tag-list-link" href = "/tags/php/" rel = "tag" > php< / a > < span class = "tag-list-count" > 2< / span > < / li > < li class = "tag-list-item" > < a class = "tag-list-link" href = "/tags/python/" rel = "tag" > python< / a > < span class = "tag-list-count" > 1< / span > < / li > < li class = "tag-list-item" > < a class = "tag-list-link" href = "/tags/redis/" rel = "tag" > redis< / a > < span class = "tag-list-count" > 5 < / span > < / li > < li class = "tag-list-item" > < a class = "tag-list-link" href = "/tags/spark/" rel = "tag" > spark< / a > < span class = "tag-list-count" > 1< / span > < / li > < li class = "tag-list-item" > < a class = "tag-list-link" href = "/tags/swoole/" rel = "tag" > swoole< / a > < span class = "tag-list-count" > 1< / span > < / li > < li class = "tag-list-item" > < a class = "tag-list-link" href = "/tags/websocket/" rel = "tag" > websocket< / a > < span class = "tag-list-count" > 1< / span > < / li > < li class = "tag-list-item" > < a class = "tag-list-link" href = "/tags/%E5%88%86%E5%B8%83%E5%BC%8F%E9%94%81/" rel = "tag" > 分布式锁< / a > < span class = "tag-list-count" > 1< / span > < / li > < li class = "tag-list-item" > < a class = "tag-list-link" href = "/tags/%E5%8D%95%E4%BE%8B/" rel = "tag" > 单例< / a > < span class = "tag-list-count" > 1< / span > < / li > < li class = "tag-list-item" > < a class = "tag-list-link" href = "/tags/%E5%8D%9A%E5%AE%A2%EF%BC%8C%E6%96%87%E7%AB%A0/" rel = "tag" > 博客,文章< / a > < span class = "tag-list-count" > 1< / span > < / li > < li class = "tag-list-item" > < a class = "tag-list-link" href = "/tags/%E6%95%B0%E6%8D%AE%E7%BB%93%E6%9E%84/" rel = "tag" > 数据结构< / a > < span class = "tag-list-count" > 5 < / span > < / li > < li class = "tag-list-item" > < a class = "tag-list-link" href = "/tags/%E6%BA%90%E7%A0%81/" rel = "tag" > 源码< / a > < span class = "tag-list-count" > 5 < / span > < / li > < li class = "tag-list-item" > < a class = "tag-list-link" href = "/tags/%E8%AE%BE%E8%AE%A1%E6%A8%A1%E5%BC%8F/" rel = "tag" > 设计模式< / a > < span class = "tag-list-count" > 1< / span > < / li > < li class = "tag-list-item" > < a class = "tag-list-link" href = "/tags/%E8%AF%BB%E5%90%8E%E6%84%9F/" rel = "tag" > 读后感< / a > < span class = "tag-list-count" > 1< / span > < / li > < / ul >
< ul class = "tag-list" itemprop = "keywords" > < li class = "tag-list-item" > < a class = "tag-list-link" href = "/tags/C/" rel = "tag" > C< / a > < span class = "tag-list-count" > 1< / span > < / li > < li class = "tag-list-item" > < a class = "tag-list-link" href = "/tags/C/" rel = "tag" > C++< / a > < span class = "tag-list-count" > 2< / span > < / li > < li class = "tag-list-item" > < a class = "tag-list-link" href = "/tags/Design-Patterns/" rel = "tag" > Design Patterns< / a > < span class = "tag-list-count" > 1< / span > < / li > < li class = "tag-list-item" > < a class = "tag-list-link" href = "/tags/Distributed-Lock/" rel = "tag" > Distributed Lock< / a > < span class = "tag-list-count" > 1< / span > < / li > < li class = "tag-list-item" > < a class = "tag-list-link" href = "/tags/JVM/" rel = "tag" > JVM< / a > < span class = "tag-list-count" > 1< / span > < / li > < li class = "tag-list-item" > < a class = "tag-list-link" href = "/tags/Java/" rel = "tag" > Java< / a > < span class = "tag-list-count" > 1< / span > < / li > < li class = "tag-list-item" > < a class = "tag-list-link" href = "/tags/Redis/" rel = "tag" > Redis< / a > < span class = "tag-list-count" > 1< / span > < / li > < li class = "tag-list-item" > < a class = "tag-list-link" href = "/tags/Singleton/" rel = "tag" > Singleton< / a > < span class = "tag-list-count" > 1< / span > < / li > < li class = "tag-list-item" > < a class = "tag-list-link" href = "/tags/aqs/" rel = "tag" > aqs< / a > < span class = "tag-list-count" > 1< / span > < / li > < li class = "tag-list-item" > < a class = "tag-list-link" href = "/tags/c/" rel = "tag" > c++< / a > < span class = "tag-list-count" > 14< / span > < / li > < li class = "tag-list-item" > < a class = "tag-list-link" href = "/tags/cluster/" rel = "tag" > cluster< / a > < span class = "tag-list-count" > 1< / span > < / li > < li class = "tag-list-item" > < a class = "tag-list-link" href = "/tags/docker/" rel = "tag" > docker< / a > < span class = "tag-list-count" > 1< / span > < / li > < li class = "tag-list-item" > < a class = "tag-list-link" href = "/tags/hadoop/" rel = "tag" > hadoop< / a > < span class = "tag-list-count" > 1< / span > < / li > < li class = "tag-list-item" > < a class = "tag-list-link" href = "/tags/im/" rel = "tag" > im< / a > < span class = "tag-list-count" > 1< / span > < / li > < li class = "tag-list-item" > < a class = "tag-list-link" href = "/tags/java/" rel = "tag" > java< / a > < span class = "tag-list-count" > 1< / span > < / li > < li class = "tag-list-item" > < a class = "tag-list-link" href = "/tags/leetcode/" rel = "tag" > leetcode< / a > < span class = "tag-list-count" > 13< / span > < / li > < li class = "tag-list-item" > < a class = "tag-list-link" href = "/tags/mfc/" rel = "tag" > mfc< / a > < span class = "tag-list-count" > 2< / span > < / li > < li class = "tag-list-item" > < a class = "tag-list-link" href = "/tags/mq/" rel = "tag" > mq< / a > < span class = "tag-list-count" > 1< / span > < / li > < li class = "tag-list-item" > < a class = "tag-list-link" href = "/tags/mysql/" rel = "tag" > mysql< / a > < span class = "tag-list-count" > 1< / span > < / li > < li class = "tag-list-item" > < a class = "tag-list-link" href = "/tags/nginx/" rel = "tag" > nginx< / a > < span class = "tag-list-count" > 1< / span > < / li > < li class = "tag-list-item" > < a class = "tag-list-link" href = "/tags/openresty/" rel = "tag" > openresty< / a > < span class = "tag-list-count" > 1< / span > < / li > < li class = "tag-list-item" > < a class = "tag-list-link" href = "/tags/php/" rel = "tag" > php< / a > < span class = "tag-list-count" > 2< / span > < / li > < li class = "tag-list-item" > < a class = "tag-list-link" href = "/tags/python/" rel = "tag" > python< / a > < span class = "tag-list-count" > 1< / span > < / li > < li class = "tag-list-item" > < a class = "tag-list-link" href = "/tags/redis/" rel = "tag" > redis< / a > < span class = "tag-list-count" > 6 < / span > < / li > < li class = "tag-list-item" > < a class = "tag-list-link" href = "/tags/spark/" rel = "tag" > spark< / a > < span class = "tag-list-count" > 1< / span > < / li > < li class = "tag-list-item" > < a class = "tag-list-link" href = "/tags/swoole/" rel = "tag" > swoole< / a > < span class = "tag-list-count" > 1< / span > < / li > < li class = "tag-list-item" > < a class = "tag-list-link" href = "/tags/websocket/" rel = "tag" > websocket< / a > < span class = "tag-list-count" > 1< / span > < / li > < li class = "tag-list-item" > < a class = "tag-list-link" href = "/tags/%E5%88%86%E5%B8%83%E5%BC%8F%E9%94%81/" rel = "tag" > 分布式锁< / a > < span class = "tag-list-count" > 1< / span > < / li > < li class = "tag-list-item" > < a class = "tag-list-link" href = "/tags/%E5%8D%95%E4%BE%8B/" rel = "tag" > 单例< / a > < span class = "tag-list-count" > 1< / span > < / li > < li class = "tag-list-item" > < a class = "tag-list-link" href = "/tags/%E5%8D%9A%E5%AE%A2%EF%BC%8C%E6%96%87%E7%AB%A0/" rel = "tag" > 博客,文章< / a > < span class = "tag-list-count" > 1< / span > < / li > < li class = "tag-list-item" > < a class = "tag-list-link" href = "/tags/%E6%95%B0%E6%8D%AE%E7%BB%93%E6%9E%84/" rel = "tag" > 数据结构< / a > < span class = "tag-list-count" > 6 < / span > < / li > < li class = "tag-list-item" > < a class = "tag-list-link" href = "/tags/%E6%BA%90%E7%A0%81/" rel = "tag" > 源码< / a > < span class = "tag-list-count" > 6 < / span > < / li > < li class = "tag-list-item" > < a class = "tag-list-link" href = "/tags/%E8%AE%BE%E8%AE%A1%E6%A8%A1%E5%BC%8F/" rel = "tag" > 设计模式< / a > < span class = "tag-list-count" > 1< / span > < / li > < li class = "tag-list-item" > < a class = "tag-list-link" href = "/tags/%E8%AF%BB%E5%90%8E%E6%84%9F/" rel = "tag" > 读后感< / a > < span class = "tag-list-count" > 1< / span > < / li > < / ul >
< / canvas >
< / canvas >
< / div >
< / div >
< / div >
< / div >