JavaScript并发编程 (加)亚当·布达奇(Adam Boduch) 著 著作 电子版 免费 pdf 下载 azw3 fb2 caj mobi

JavaScript并发编程 (加)亚当·布达奇(Adam Boduch) 著 著作电子书下载地址
- 文件名
- [epub 下载] JavaScript并发编程 (加)亚当·布达奇(Adam Boduch) 著 著作 epub格式电子书
- [azw3 下载] JavaScript并发编程 (加)亚当·布达奇(Adam Boduch) 著 著作 azw3格式电子书
- [pdf 下载] JavaScript并发编程 (加)亚当·布达奇(Adam Boduch) 著 著作 pdf格式电子书
- [txt 下载] JavaScript并发编程 (加)亚当·布达奇(Adam Boduch) 著 著作 txt格式电子书
- [mobi 下载] JavaScript并发编程 (加)亚当·布达奇(Adam Boduch) 著 著作 mobi格式电子书
- [word 下载] JavaScript并发编程 (加)亚当·布达奇(Adam Boduch) 著 著作 word格式电子书
- [kindle 下载] JavaScript并发编程 (加)亚当·布达奇(Adam Boduch) 著 著作 kindle格式电子书
寄语:
新华书店正版,关注店铺成为会员可享店铺专属优惠,团购客户请咨询在线客服!
内容简介:
JavaScript已经具备了并发能力,这也解释了为什么这门语言至今仍然屹立于现代web开发的前沿阵地。本书将帮助你深入JavaScript并发编程的世界,演示如何应用其核心原理、关键技术以及工具来应对各种复杂的开发难题。围绕并发编程的三个核心要素:并发、同步和保护(c***ervation),你将学会如何编写更高效、更富于变化的JavaScript程序,提高用户体验。
书籍目录:
Preface
Chapter 1: Why JavaScript Concurrency?
Synchronous JavaScript
Synchronicity is easy to understand
Asynchronous is inevitable
Asynchronous browsers
Types of concurrency
Asynchronous acti***
Parallel acti***
JavaScript concurrency principles: Parallelize, Synchronize,
C***erve
Parallelize
Synchronize
The Promise API
C***erve
Summary
Chapter 2: The JavaScript Execution Model
Everything is a task
Meet the players
The Execution environment
Event loops
Task queues
Execution contexts
Maintaining execution state
Job queues
Creating tasks using timers
Using setTimeout
Using setlnterval
Responding to DOM events
Event targets
Managing event frequency
Responding to network events
Making requests
Coordinating requests
Concurrency challenges with this model
Limited opportunity for parallelism
Synchronization through callbacks
Summary
Chapter 3: Synchronizing with Promises
Promise terminology
Promise
State
Executor
Resolver
Rejector
Thenable
Resolving and rejecting promises
Resolving promises
Rejecting promises
Empty promises
Reacting to promises
Resolution job queues
Using promised data
Error callbacks
Always reacting
Resolving other promises
Promise-like objects
Building callback chains
Promises only change state once
Immutable promises
Many then callbacks, many promises
Passing promises around
Synchronizing several promises
Waiting on promises
Cancelling promises
Promises without executors
Summary
Chapter 4: Lazy Evaluation with Generators
Call stacks and memory allocation
Bookmarking function contexts
Sequences instead of arrays
Creating generators and yielding values
Generator function syntax
Yielding values
I***ting over generators
Infinite sequences
No end in sight
Alternating sequences
Deferring to other generators
Selecting a strategy
Interweaving generators
Passing data to generators
Reusing generators
Lightweight map/reduce
Coroutines
Creating coroutine functi***
Handling DOM events
Handling promised values
Summary
Chapter 5: Working with Workers
What are workers?
OS threads
Event targets
True parallelism
Types of workers
Dedicated workers
Sub-workers
Shared workers
Worker environments
What's available, what isn't?
Loading s
Communicating with workers
Posting messages
Message serialization
Receiving messages from workers
Sharing application state
Sharing memory
Fetching resources
Communicating between pages
Performing sub-tasks with sub-workers
Dividing work into tasks
A word of caution
Error handling in web workers
Error condition checking
Exception handling
Summary
Chapter 6: Practical Parallelism
Functional programming
Data in, data out
Immutability
Referential transparency and time
Do we need to go parallel?
How big is the data?
Hardware concurrency capabilities
Creating tasks and assigning work
Candidate problems
Embarrassingly parallel
Searching collecti***
Mapping and reducing
Keeping the DOM resp***ive
Bottom halves
Translating DOM manipulation
Translating DOM events
Summary
Chapter 7: Abstracting Concurrency
Writing concurrent code
Hiding the concurrency mechanism
Without concurrency
Worker communication with promises
Helper functi***
Extending postMessage0
Synchronizing worker results
Lazy workers
Reducing overhead
Generating values in workers
Lazy worker chains
Using Parallel.js
How it works
Spawning workers
Mapping and reducing
Worker pools
Allocating pools
Scheduling jobs
Summary
Chapter 8: Evented IO with NodeJS
Single threaded IO
IO is slow
IO events
Multi-threading challenges
More connecti***, more problems
Deploying to the Internet
The C10K problem
Lightweight event handlers
Evented network IO
Handling HTTP requests
Streaming resp***es
Proxy network requests
Evented file IO
Reading from files
Writing to files
Streaming reads and writes
Summary
Chapter 9: Advanced NodeJS Concurrency
Coroutines with Co
Generating promises
Awaiting values
Resolving values
Asynchronous dependencies
Wrapping coroutines
Child Processes
Blocking the event loop
Forking processes
Spawning external processes
Inter-process communication
Process Clusters
Challenges with process management
Abstracting process pools
Server clusters
Proxying requests
Facilitating micro-services
Informed load balancing
Summary
Chapter 10: Building a Concurrent Application
Getting started
Concurrency first
Retrofitting concurrency
Application types
Requirements
The overall goal
The API
The UI
Building the API
The HTTP server and routing
Co-routines as handlers
The create chat handler
The join chat handler
The load chat handler
The send message handler.
Static handlers
Building the UI
Talking to the API
Implementing the HTML
DOM events and manipulation
Adding an API worker
Additi*** and improvements
Clustering the API
Cleaning up chats
Asynchronous entry points
Who's typing?
Leaving chats
Polling timeouts
Summary
Index
作者介绍:
暂无相关内容,正在全力查找中
出版社信息:
暂无出版社相关信息,正在全力查找中!
书籍摘录:
暂无相关书籍摘录,正在全力查找中!
在线阅读/听书/购买/PDF下载地址:
原文赏析:
暂无原文赏析,正在全力查找中!
其它内容:
书籍介绍
JavaScript已经具备了并发能力,这也解释了为什么这门语言至今仍然屹立于现代web开发的前沿阵地。亚当·布达奇编著的《JavaScript并发编程(影印版)(英文版)》将帮助你深入JavaScript并发编程的世界,演示如何应用其核心原理、关键技术以及工具来应对各种复杂的开发难题。围绕并发编程的三个核心要素:并发、同步和保护,你将学会如何编写更高效、更富于变化的JavaScript程序,从而提高用户体验。
书中通过采用各种开发方法,带领你将这些原理应用于实践。从JavaScriptpromises、webworkers、生成器到函数式编程技术,所有这些知识都将对你的应用程序性能产生实实在在的影响。除此之外,还进一步讨论了NodeJS并发编程。在成长为更优秀的Web开发人员的道路上,本书将助你一臂之力。
网站评分
书籍多样性:8分
书籍信息完全性:5分
网站更新速度:6分
使用便利性:8分
书籍清晰度:9分
书籍格式兼容性:4分
是否包含广告:4分
加载速度:8分
安全性:9分
稳定性:8分
搜索功能:9分
下载便捷性:3分
下载点评
- 无缺页(491+)
- 内涵好书(644+)
- 超值(235+)
- mobi(82+)
- 微信读书(145+)
- 在线转格式(514+)
下载评价
- 网友 石***致:
挺实用的,给个赞!希望越来越好,一直支持。
- 网友 康***溪:
强烈推荐!!!
- 网友 曹***雯:
为什么许多书都找不到?
- 网友 汪***豪:
太棒了,我想要azw3的都有呀!!!
- 网友 饶***丽:
下载方式特简单,一直点就好了。
- 网友 宓***莉:
不仅速度快,而且内容无盗版痕迹。
- 网友 孙***美:
加油!支持一下!不错,好用。大家可以去试一下哦
- 网友 冷***洁:
不错,用着很方便
- 网友 谢***灵:
推荐,啥格式都有
- 网友 焦***山:
不错。。。。。
- 网友 瞿***香:
非常好就是加载有点儿慢。
- 网友 常***翠:
哈哈哈哈哈哈
- 网友 詹***萍:
好评的,这是自己一直选择的下载书的网站
- 网友 师***怀:
好是好,要是能免费下就好了
- 网友 孙***夏:
中评,比上不足比下有余
- 网友 后***之:
强烈推荐!无论下载速度还是书籍内容都没话说 真的很良心!
喜欢"JavaScript并发编程 (加)亚当·布达奇(Adam Boduch) 著 著作"的人也看了
全品作业本 英语 四年级下册 人教版RJ 小学4年级课时教材同步练习册天天练学霸培优提分训练 电子版 免费 pdf 下载 azw3 fb2 caj mobi
2013年全国监理工程师执业资格考试真题精讲与冲关密卷 电子版 免费 pdf 下载 azw3 fb2 caj mobi
多源融合导航技术及其演进 电子版 免费 pdf 下载 azw3 fb2 caj mobi
格格不入 电子版 免费 pdf 下载 azw3 fb2 caj mobi
房漏与防漏:施工监理设计及物业案例 电子版 免费 pdf 下载 azw3 fb2 caj mobi
建筑与市政工程无障碍通用规范 GB 55019 -2021/中华人民***国国家标准 中国建筑工业出版 电子版 免费 pdf 下载 azw3 fb2 caj mobi
论女性 电子版 免费 pdf 下载 azw3 fb2 caj mobi
漫威宇宙旅行指南 电子版 免费 pdf 下载 azw3 fb2 caj mobi
中文版P***oshop CS6应用技法教程 电子版 免费 pdf 下载 azw3 fb2 caj mobi
中药学专业知识(二)(2023国家执业药师职业资格考试必备考点速记掌中宝) 电子版 免费 pdf 下载 azw3 fb2 caj mobi
- 清醒梦的第一本书 随心创造梦境 开发潜能 疗愈自我 通往心灵的大门 港台原版 Mark McElroy 商周出版 电子版 免费 pdf 下载 azw3 fb2 caj mobi
- 经典常谈 朱自清初中生课外书正版推荐教育文学评论与研究书籍 上海推荐古籍正版八年级下生中华书局人教版江苏人民出版社 电子版 免费 pdf 下载 azw3 fb2 caj mobi
- 爆笑虫子拼音故事书全六册套 基础识字认读 含实用的字表和益智游戏(3-8岁) 电子版 免费 pdf 下载 azw3 fb2 caj mobi
- 质量/环境/职业健康安全管理体系国家注册审核员考试相关法律法规和其他要求重点提示与解读9787506670531 中国标准出版社 电子版 免费 pdf 下载 azw3 fb2 caj mobi
- 自动化测试 主流工具入门与提高 电子版 免费 pdf 下载 azw3 fb2 caj mobi
- 2021春 小学教材全解 三年级科学下 配套江苏版教材 电子版 免费 pdf 下载 azw3 fb2 caj mobi
- 神探陈汉雄 红玫瑰之谜 天津人民出版社 电子版 免费 pdf 下载 azw3 fb2 caj mobi
- 四大名著无障碍阅读:红楼梦 电子版 免费 pdf 下载 azw3 fb2 caj mobi
- 看图学游泳 电子版 免费 pdf 下载 azw3 fb2 caj mobi
- 【同系列3本28元】名师导读版 大林和小林 张天翼语文阅读青少年版无障碍阅读二三年级五***年级童话故事书正版包邮正版 电子版 免费 pdf 下载 azw3 fb2 caj mobi
书籍真实打分
故事情节:6分
人物塑造:8分
主题深度:4分
文字风格:9分
语言运用:9分
文笔流畅:9分
思想传递:9分
知识深度:6分
知识广度:3分
实用性:9分
章节划分:5分
结构布局:4分
新颖与独特:5分
情感共鸣:6分
引人入胜:8分
现实相关:6分
沉浸感:6分
事实准确性:8分
文化贡献:3分