Coder Social home page Coder Social logo

datefinde / reading-and-annotate-mongodb-3.6 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from y123456yz/reading-and-annotate-mongodb-3.6

0.0 1.0 0.0 196.25 MB

分布式文档数据库mongodb-3.6(mongos、mongod、wiredtiger存储引擎)源码中文注释分析,近期持续更新(源码学习交流QQ群:568892619)

License: Apache License 2.0

GDB 0.01% Python 2.65% Shell 1.18% Ruby 0.01% JavaScript 10.60% Roff 2.06% Makefile 7.06% C++ 62.55% HTML 2.21% C 9.07% Go 1.93% Batchfile 0.02% PowerShell 0.01% M4 0.11% XSLT 0.01% Lua 0.09% CSS 0.02% Rich Text Format 0.05% CMake 0.35% Objective-C 0.04%

reading-and-annotate-mongodb-3.6's Introduction

reading-and-annotate-mongodb-3.6

mongodb-3.6源码注释分析,持续更新

===================================

对外演讲

专栏

其他

nginx高并发设计优秀**应用于其他高并发代理中间件:

redis、nginx、memcache、twemproxy、mongodb等更多中间件,分布式系统,高性能服务端核心**实现博客:

===================================

<<mongodb源码设计实现、性能优化、最佳运维实践>>

<<千万级峰值tps/十万亿级数据量文档数据库内核研发及运维之路>>

说明:

MongoDB是一个基于分布式文件存储的数据库。由C++语言编写。旨在为WEB应用提供可扩展的高性能数据存储解决方案。
是一个介于关系数据库和非关系数据库之间的产品,是非关系数据库当中功能最丰富,最像关系数据库的。他支持的数据结构非常松散,是类似json的bson格式,因此可以存储比较复杂的数据类型。Mongo最大的特点是他支持的查询语言非常强大,其语法有点类似于面向对象的查询语言,几乎可以实现类似关系数据库单表查询的绝大部分功能,而且还支持对数据建立索引。

源码中文已注释代码列表如下:

boost-asio网络库/定时器源码实现注释(只注释mongodb相关实现的asio库代码)(100%注释):

mongodb网络传输模块(transport)处理实现(100%注释):

transport_layer传输层子模块:
Ticket数据收发回调处理子模块(100%注释):
Session会话子模块(100%注释):
service_state_machine状态机子模块(100%注释):
service_executor服务运行(工作线程模型)子模块(100%注释):
service_entry_point_impl服务入口子模块(100%注释):

message/DbMessage/OpMsgRequest协议处理(100%注释):

时间嘀嗒及系统级定时器实现(100%注释):

mongod/mongos服务入口处理(100%注释):

command命令处理模块(注释完毕,命令太多,请参考前面的《command命令处理模块源码实现》):

db.serverStatus()相关统计(注释完毕):

stats相关统计(注释完毕):

OpMsgRequest和写write_ops:(insert、update、delete)转换操作:

ea64c58aefde9b774f4026c57ff768f0812ee261

shard分片源码实现(注释进行中):

分布式锁实现源码注释分析(100%注释):
代理定期更新config.mongos实现源码注释分析(100%注释):
cfg复制集库表结构管理(config.databases、config.collections)(100%注释):
分片片建shard key(100%注释):

mongodb存储引擎wiredtiger源码分析

https://github.com/y123456yz/reading-and-annotate-wiredtiger-3.0.0

rocksdb存储引擎源码分析

https://github.com/y123456yz/reading-and-annotate-rocksdb-6.1.2

reading-and-annotate-mongodb-3.6's People

Contributors

y123456yz avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.