从百度文件系统看大型分布式系统设计中的定式与创新
万亿量级实时数据库Tera - 集群调度系统Galaxy • 个人主页&Blog - https://github.com/bluebore - http://bluebore.cn 提纲 • 百度文件系统简介 • 分布式系统设计实践 • 总结与致谢 百度的集群环境 • 单个集群通常几千台机器 • 百度文件系统(BFS)、集群调度系统(Galaxy)、分布式协 调服务(Nexus)是核心服务 调服务(Nexus)是核心服务 • 实时任务与批量任务混合部署 Galaxy master BFS master Nexus lock service 分布式软件栈中的BFS The Baidu Stack 网络通信框架Sofa-pbrpc 分布式文件系统 BFS 集群调度系统 Galaxy 分布式协调服务 Nexus 分布式数据库 Tera 分布式计算框架 Shuttle App Apps(Spider/Index/Search) 数据中心操作系统(DCOS) • 进程调度&内存管理 - Galaxy - 应用部署和任务调度 • 锁和信号量 - Nexus - 分布式锁 - 分布式通知 • 文件系统 - The Baidu File System - 持久化存储 百度文件系统架构 设计一个分布式系统要考虑的 • 数据与计算的分片 • 分区故障容忍 • 数据一致性0 码力 | 24 页 | 937.45 KB | 1 年前3Linux就该这么学 第2版
inventory 主机清单 受控节点的列表,可以是 IP 地址、主机名或者域名 module 模块 用于实现特定功能的代码;Ansiblie 默认带有上千款模块;可以 在 Ansible Galaxy 中选择更多的模块 task 任务 要在 Ansible 客户端上执行的操作 playbook 剧本 通过 YAML 语言编写的可重复执行的任务列表;把重复性的操作 写入到剧 Complete! 安装完毕后,使用 ansible-galaxy list 命令查看 RHEL 8 系统中有哪些自带的角色可用: [root@linuxprobe~]# ansible-galaxy list # /usr/share/ansible/roles - linux-system-roles.kdump rhel-system-roles.timesync 16.5.2 从外部环境获取角色 Ansible Galaxy 是 Ansible 的一个官方社区,用于共享角色和功能代码,用户可以在网站 自由地共享和下载 Ansible 角色。该社区是管理和使用角色的不二之选。 在图 16-4 所示的 Ansible Galaxy 官网中,左侧有 3 个功能选项,分别是首页(Home)、 搜索(Search)以及社区(Community)。单击0 码力 | 552 页 | 22.25 MB | 1 年前3Buzzing Across Space
nebulae. On the front deck, at the commands, was Captain Tux, Who carried passengers across the galaxy. While the crew, hard at work, assisted their captain, All the travelers enjoyed comfort, peace Applications User space Kernel System calls Files Networking Process Memory Flying for years across the galaxy and back, The crew learned to modify their ship and adjust. They changed the thrusters, the force0 码力 | 32 页 | 32.98 MB | 1 年前3Laravel 5.3 中文文档
['name' => 'iPhone 6S', 'brand' => 'Apple'], ], 'Samsung' => [ ['name' => 'Galaxy S7', 'brand' => 'Samsung'] ], ]); $products = $collection->flatten(1); $produc 'brand' => 'Apple'], ['name' => 'Galaxy S7', 'brand' => 'Samsung'], ] */ 在本例中,调用不提供深度的 flatten 方法也会对嵌套数组进行扁平化处理,返回结果 是 ['iPhone 6S', 'Apple', 'Galaxy S7', 'Samsung'] 。提供深度允许你严格设置被扁平化的数 组层级。 Watch', 'brand' => 'Apple', 'type' => 'watch '], ['name' => 'Galaxy S6', 'brand' => 'Samsung', 'type' => 'phone '], ['name' => 'Galaxy Gear', 'brand' => 'Samsung', 'type' => 'watc h'], ]); $unique0 码力 | 691 页 | 9.37 MB | 1 年前3Laravel 5.1 中文文档
Watch', 'brand' => 'Apple', 'type' => 'wat ch'], ['name' => 'Galaxy S6', 'brand' => 'Samsung', 'type' => 'pho ne'], ['name' => 'Galaxy Gear', 'brand' => 'Samsung', 'type' => 'w atch'], ]); 本文档由 [ ['name' => 'iPhone 6', 'brand' => 'Apple', 'type' => 'ph one'], ['name' => 'Galaxy S6', 'brand' => 'Samsung', 'type' => 'phone'], ] */ 你还可以指定自己的回调用于判断数据项唯一性: $unique = 'brand' => 'Apple', 'type' => 'watch'], ['name' => 'Galaxy S6', 'brand' => 'Samsung', 'type' => 'phone'], ['name' => 'Galaxy Gear', 'brand' => 'Samsung', 'type' => 'watch'], ] */0 码力 | 307 页 | 3.46 MB | 1 年前3Laravel 5.6 中文文档
['name' => 'iPhone 6S', 'brand' => 'Apple'], ], 'Samsung' => [ ['name' => 'Galaxy S7', 'brand' => 'Samsung'] ], ]); 本文档由 Laravel 学院提供 Laravel 学院致力于提供优质 Laravel 中文学 6S', 'brand' => 'Apple'], ['name' => 'Galaxy S7', 'brand' => 'Samsung'], ] */ 在本例中,调用不提供深度的 flatten 方法也会对嵌套数组进行扁平化处理,返回结果是 ['iPhone 6S', 'Apple', 'Galaxy S7', 'Samsung']。提供深度允许你严格设置被扁平化的数组层级。 Watch', 'brand' => 'Apple', 'type' => 'watch'], ['name' => 'Galaxy S6', 'brand' => 'Samsung', 'type' => 'phone'], ['name' => 'Galaxy Gear', 'brand' => 'Samsung', 'type' => 'watch'], ]); $unique0 码力 | 377 页 | 14.56 MB | 1 年前3Laravel 5.2 中文文档
Watch', 'brand' => 'Apple', 'type' => 'wat ch'], ['name' => 'Galaxy S6', 'brand' => 'Samsung', 'type' => 'pho ne'], ['name' => 'Galaxy Gear', 'brand' => 'Samsung', 'type' => 'w atch'], ]); $unique [ ['name' => 'iPhone 6', 'brand' => 'Apple', 'type' => 'ph one'], ['name' => 'Galaxy S6', 'brand' => 'Samsung', 'type' => 'phone'], ] */ 你还可以指定自己的回调用于判断数据项唯一性: $unique = 'brand' => 'Apple', 'type' => 'watch'], ['name' => 'Galaxy S6', 'brand' => 'Samsung', 'type' => 'phone'], ['name' => 'Galaxy Gear', 'brand' => 'Samsung', 'type' => 'watch'], ] */0 码力 | 377 页 | 4.56 MB | 1 年前3Laravel 6.0 中文文档
['name' => 'Galaxy S7', 'brand' => 'Samsung'] ], ]); $products = $collection->flatten(1); $products->values()->all(); /* [ ['name' => 'iPhone 6S', 'brand' => 'Apple'], ['name' => 'Galaxy S7', 'brand' 'brand' => 'Samsung'], ] */ 在本例中,调用不提供深度的 flatten 方法也会对嵌套数组进行扁 平化处理,返回结果是 ['iPhone 6S', 'Apple', 'Galaxy S7', 'Samsung']。提供深度允许你严格设置被扁平化的数组层级。 flip() flip 方法将集合的键值做交换: $collection = collect(['name' Watch', 'brand' => 'Apple', 'typ e' => 'watch'], ['name' => 'Galaxy S6', 'brand' => 'Samsung', 'typ e' => 'phone'], ['name' => 'Galaxy Gear', 'brand' => 'Samsung', 't ype' => 'watch'], ]); $unique0 码力 | 1442 页 | 14.66 MB | 1 年前3Can You RVO?
Source: Secret Lab Institute (CC-0 license) https://secretlab.institute/2021/02/15/cc-0-licensed-galaxy-brain-images/ 74© 2018 Bloomberg Finance L.P. All rights reserved. Now - time to go into my codebase0 码力 | 84 页 | 9.98 MB | 5 月前3腾讯基于 Kubernetes 的企业级容器云实践-罗韩梅
微信 自定义渠道 4种告警方式——可随时修改 158项告警 87项指标采集 通用 • 不同的应用可以选择不同的网络模式 • 同一主机的不同容器可以选择不同的网络模式 自研容器网络解决方案Galaxy(CNI网络插件+调度器插件+控制器),面向所有场景: 高性能互联网业务、离线业务、在线离线混合场景、传统有状态服务、公有云… 性能 22190 7261 16462 4861 174420 码力 | 28 页 | 3.92 MB | 1 年前3
共 103 条
- 1
- 2
- 3
- 4
- 5
- 6
- 11