Node Operator: Kubernetes Node Management Made Simple
Node Operator: Kubernetes Node Management Made Simple 陈俊(Joe), Ant Financial Agenda • Background and Motivation • Introduction of Operators • Node-Operator • Advanced Topic: Teardown Cluster fast and convenient • Add & delete Node at any time • Upgrade Master & Node Components reliably • Canary Rollout • Master & Node Component Versions Management Motivation: Work Order Order Deployment Worker Order • Upgrade Nodes Versions • Upgrade Node 10.10.10.1 • Upgrade docker • Upgrade kubelet • Upgrade Node 10.10.10.2 • Upgrade docker • Upgrade kubelet …. Motivation: Work Order0 码力 | 18 页 | 11.70 MB | 1 年前3Node 的设计错误
Node 的设计错误 Ryan Dahl JS Conf 柏林林 2018.06 背景: 1. 基于最初的开发,我创建了了并管理理 Node。 2. 我的主要关注⽬目标是事件驱动的 HTTP server。 3. 这⼀一主要⽬目标对当时服务器器端的 JavaScript 起着关键作⽤用。即使在当时这⼀一点不不 那么明显,但是服务器器端 JS 的成功需要事件循环的助⼒力力。 的成功需要事件循环的助⼒力力。 背景: 2012 年年我离开 Node 项⽬目的时候,当时我觉得 Node(或多或少)实现了了我的预定 ⽬目标:创建⼀一个⽤用户友好的⾮非阻塞框架,具体内容如下 1 核⼼心⽀支持许多协议:HTTP,SSL... 2. 在 Windows(使⽤用 IOCP)Linux(EPOLL)和MAC(KQuey)上跨平台⼯工作。 3. ⼀一个⽐比较稳定的相对较⼩小的核⼼心API。 4. 通过 NPM 增加外部模块的⽣生态系统。 但我错了了...因为还有许多问题仍待解决..... 使得 Node 保持增⻓长的⼏几项关键⼯工作 1. NPM(Isaac 开发)将核⼼心 Node 库解耦并允许⽣生态系统的分布。 2. N-API 是设计精美的绑定API。 3. Ben Noordhuis 和 Bert Belder 构建了了 libuv。 4.0 码力 | 28 页 | 767.84 KB | 1 年前3The Node.js Handbook
1 Table of Contents Preface The Node.js Handbook Conclusion 2 Preface The Node.js Handbook follows the 80/20 rule: learn in 20% of the time the 80% of a topic. In particular, the goal is to get get you up to speed quickly with Node.js. This book is written by Flavio. I publish programming tutorials on my blog flaviocopes.com and I organize a yearly bootcamp at bootcamp.dev. You can reach me The Node.js Handbook 1. Introduction to Node.js 1.1. Node.js has a vast number of libraries 1.2. An example Node.js application 1.3. Node.js frameworks and tools 2. A brief history of Node.js 20 码力 | 161 页 | 1.66 MB | 1 年前3Node.js - the core
Node.js - the core Mark Volkmann mark@ociweb.com Object Computing, Inc. April 21, 2012 Node.js Overview ... “Node's goal is to provide an easy way to build scalable network programs.” http://nodejs building “servers” “The official name of Node is "Node". The unofficial name is "Node.js" to disambiguate it from other nodes.” https://github.com/joyent/node/wiki/FAQ Runs on top of Chrome V8 (see next Joyent 2 passed control of the project to Isaac Schlueter on 1/30/12 a cartoon from substack Node.js ... Overview Event-based rather than thread-based; can use multiple processes Assumes most time0 码力 | 124 页 | 7.87 MB | 1 年前3Node 在有赞的实践
Node 在有赞的实践 KK 1 • 一、Node 基础框架的迭代与演进 • 二、Node 接入有赞服务化体系的历程 • 三、未来需要做的一些事情 2 3 Koa 中间件 有⼈人(有赞的⼀一个内部管理理系统) 第⼀一个 Node 项⽬目 4 Koa 中间件 有⼈人(有赞的⼀一个内部管理理系统) 第⼆二个 Node 项⽬目 脚⼿手架模板 有赞官⽹网 5 诞⽣生 有赞官⽹网 Astroboy 阿童⽊木 有赞招聘 有赞云官⽹网 Koa + 中间件 脚⼿手架模板 阿童⽊木 0.0.1 6 Koa 中间件 有⼈人 很多项⽬目都开始⽤用 Node 了了 有赞官⽹网 Astroboy 阿童⽊木 有赞招聘 有赞云官⽹网 云控制台 分销 中间件 中间件 7 Koa 交易易 店铺 Astroboy 阿童⽊木 ⽤用户 营销 有赞官⽹网 目前有哪些重要业务用了 Node • 1、订单详情(灰度白名单) • 2、下单(灰度白名单) • 3、微页面(灰度白名单) • 4、有赞云、有赞官网、分销等等 8 二、Node 接入有赞服务化体系的历程 9 10 模板渲染 业务编排 接⼝口转发 业务逻辑 服务接⼝口 服务化 Node.js 11 如何调⽤用? Node.js 12 ⽅方案 2:Node 直接⽀支持0 码力 | 29 页 | 945.50 KB | 1 年前3Node.js Manual & Documentation
Node.js Manual & Documentation 项目网址:http://cnodejs.org Pdf 发布:Lenzhang Table Of Contents Synopsis 概要 Global Objects 全局对象 o global o process o require() o require.resolve() 核心模块 o File Modules 文件模块 o Loading from `node_modules` Folders 从 `node_modules` 目录中 加载 Optimizations to the `node_modules` Lookup Process 优化 `node_modules` 的查找过程 o Folders as Modules 目录作为模块 Modules 附录 1 - 第三方模块 Synopsis 概要 An example of a web server written with Node which responds with 'Hello World': 下边是一个用 Node 编写的对所有请求简单返回'Hello World‘的 web 服务器例 子: var http = require('http');0 码力 | 153 页 | 1.21 MB | 1 年前3Release Notes for Node.js 18
Red Hat build of Node.js 18 Release Notes for Node.js 18 For use with Node.js 18 LTS Last Updated: 2023-01-31 Red Hat build of Node.js 18 Release Notes for Node.js 18 For use with Node.js 18 LTS Legal the European Union and other countries. Node.js ® is an official trademark of Joyent. Red Hat is not formally related to or endorsed by the official Joyent Node.js open source or commercial project. The of their respective owners. Abstract This Release Note contains important information related to Node.js 18 LTS. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .0 码力 | 18 页 | 106.27 KB | 1 年前3用 Node.js 滚「雪球」
用 Node.js 滚「雪球」 孟祥宇 mengxy@xueqiu.com http://xueqiu.com/mengxy http://xueqiu.com 聪明的投资者都在这里 「雪球」是什么 管理你的投资信息 与行业专家在线交流 信息复盘 选择Node.js之前的思考 前端工程师的知识结构 HTML/CSS/JS HTTP 前端工程师做什么 ● 面向用户的工程师 初试牛刀 express http://expressjs.com node.js http module } {{ mustache }} 搞定上线 经常挂掉 - -||| uncaughtException https://github.com/shtylman/node-cookie/pull/8 node 进程还在,但是不返回任何请求 还有问题... 错误处理 稳定了,扩大规模0 码力 | 33 页 | 791.85 KB | 1 年前3全栈⼯程师之路 Node.js
全栈⼯工程师之路 Node.js by 桑世⻰龙(i5ting) i5ting:⼀一个开源爱好者 StuQ明星讲师 空弦科技CTO Node.js布道者 Cnodejs管理员 ⺫⽬目录 • Part 1:为什么选择 Node.js? • Part 2:Node.js快速开发实践 • Part 3:全栈展望 • Part 4: 如何全栈? Part 1:为什么选择 Node.js? 空弦科技做的是基于云仓储的 SaaS 服务,给中⼩小卖家提供服 务,核⼼心系统是进销存、订单池、WMS。 “JavaScript 是世界上使⽤用最⼲⼴广泛 的语⾔言,没有之⼀一,包括后端开发 ⼯工程师也更爱使⽤用 JavaScript。” ——stackoverflow 以前 我们总是喜欢拿异步说事⼉儿 除了性能,其他都是病? 现在我们拿 Node • 稳定 Node.js 好处 • 同样不优化,性能⽐比⼤大部分语⾔言好。即使优化,也⽐比 其他语⾔言简单,⽐比如Java、go • 有⾜足够多的选择和架构的平衡 • 如实在不够,Java 补 简单?难? • 可以采⽤用⾯面向过程 • 可以⾯面向对象 • 可以函数式 快?慢? • 执⾏行效率,同样不优化,性能⽐比⼤大部分语⾔言好。 • 开发效率,Node.js 本⾝身⽐比较简单,开发效率还是⽐比0 码力 | 50 页 | 1.35 MB | 1 年前3Node.js在YunOS中的最佳实践
Node.js在YunOS中的最佳实践 叶敬福 1 摘要 • YunOS: 万物互联 • YunOS选择Node.js • Node.js在YunOS中的最佳实践 – 对IO优先的Looper机制的改造和优化 – SAB + Worker机制的实践 – 性能优化的实践 2 3 万物互联 4 Cloud App应用场景化 5 CloudApp Manifest.json YunOS选择Node.js 6 基础技术架构 Cloud App Framework Rendering Engine Run(me & Node.js(VM) YunCore Libs & Services YunHAL Linux (kernel + drivers) Cloud App 7 Node.js对YunOS的助力 跨端 模块化、NaZve互调、事件模型 Node.js的不足 作为JavaScript虚拟机还不成熟 (缺少完整的libcore) ? 9 与V8强绑定,解耦或升级很困难 (naZve调用强依赖V8接口) ? CPU密集的计算场景中存在性能问题 (单线程,事件驱动,GC效率低) ? Node.js在YunOS中的最佳实践 100 码力 | 20 页 | 1.37 MB | 1 年前3
共 1000 条
- 1
- 2
- 3
- 4
- 5
- 6
- 100