论文笔记
樊文飞院士的论文解读(DGFD, GAR)
栈和堆之间的区别可能会让很多人感到困惑. 因此, 这里有一份有关栈和堆的问题和答案清单, 我认为非常有帮助.
正如David Wheeler所说的那样:
"All problems in computer science can be solved by another level of indirection."
"计算机科学中的所有问题都可以通过增加一个间接层来解决"
代理 的思想在计算机的许多领域都有体现. 本质上就是原本A和B可以直接联系, 但是我们增加一个C作为中介, A和B都通过C来进行联系.
作为一个程序员, 为自己的项目或仓库撰写README
是必不可免的工作. 一个好的规范的README
文件可以让其他人快速准确地理解你的仓库代码, 快速地安装并使用, 并在必要的时候知道如何与你合作, 对开源项目的传播有极大的帮助.
那么该如何撰写一份规范简介的README
文件呢? 一个标准的README
文件又该具备哪些部分? 如果你同样有这些疑问, 请仔细阅读本文, 我相信会给你很大的帮助.
Redis是非常常用的KV数据库, 使用内存以及HashMap进行存储的特点带来了高效的查询. 本文将围绕Redis的常见开发使用场景, 阐述在Redis集群中各个节点是如何进行数据同步, 每个节点如何进行持久化以及在长期使用中如何对数据进行更新和淘汰.
如果你想了解Go是如何进行GC(garbage collection), 即垃圾回收的. 又在网上看了很多关于"三色标记法", 但是觉得说的非常复杂不够简单的. 那么这篇文章是你对于Go的GC机制非常好的入门参考.
Kubernetes 是大家所非常熟悉的集群管理平台, 我们通常在Web界面上对集群内部的pod和service进行操作. 如果想要在程序代码中对集群中的pod进行操作或者获取其中某些容器的状态信息则可以使用 Kubernetes 官方给出的API接口. 由于这些接口的参数非常复杂, 所以通常我们会使用client-go
这个外部库来进行API的操作.
本文将详细介绍client-go
的操作和源码实现. 文中涉及大量的源码, 未使用链接的原因是为了避免源码版本的变更.
很多时候程序员都会有多个Git账户, 也许你想要把工作和个人开发账户分开, 这个时候就涉及到在同一个工作站(主机)上对多个Git账户进行操作. 我参考了很多做法, 找到了目前的一个解决方案. 不是太完美, 因为实测过程中发现需要在每个项目第一次使用时配置一次用户名和邮箱.
在接触过大量的传统关系型数据库后你可能会有一些新的问题: 无法整理成表格的海量数据该如何储存? 在数据非常稀疏的情况下也必须将数据存储成关系型数据库吗? 除了关系型数据库我们是否还有别的选择以应对Web2.0时代的海量数据?
如果你也是一名大数据方向的工作者, 那么就一定听说过分布式文件系统(HDFS). 本文将介绍HDFS、详细阐述其中的重要概念、体系架构、存储原理和读写过程, 如果你希望从零开始了解这个系统, 那么可以阅读本篇文章.
这段时间为自己的博客网站购买了一个域名, 终于摆脱了使用github.io
这个二级域名. 但是在使用和配置的过程中还是有非常多的困惑的, 今天写个文档记录一下.
Hadoop 是一个开源的、可运行于大规模集群上的分布式计算平台, 它实现了MapReduce计算模型和分布式文件系统HDFS等功能, 在行业内得到了广泛的应用, 同时也成为了大数据的代名词.
本文介绍了Hadoop的重要特性和其生态系统的各个组件.