首页
学习
活动
专区
工具
TVP
发布
精选内容/技术社群/优惠产品,尽在小程序
立即前往
您找到你想要的搜索结果了吗?
是的
没有找到

Spark Storage ① - Spark Storage 模块整体架构

本文为 Spark 2.0 源码分析笔记,某些实现可能与其他版本有所出入 Storage 模块在整个 Spark 中扮演着重要的角色,管理着 Spark Application 在运行过程中产生的各种数据...Storage 模块也是 Master/Slave 架构,Master 是运行在 driver 上的 BlockManager实例,Slave 是运行在 executor 上的 BlockManager...Storage 模块 Master Slaves 架构.jpg 在 driver 端,创建 SparkContext 时会创建 driver 端的 SparkEnv,在构造 SparkEnv 时会创建...不同的是,slave 端的 RpcEnv 包含了 slaveRpcEndpoint 而 BlockManagerMaster 持有 driverRpcEndpoint, Storage Slave 就是通过...driverRpcEndpoint 来给 Storage Master 发送消息的 好,基于上图和相应的文字说明相信能对 Spark Storage 模块的整体架构有个大致的了解,更深入的分析将在之后的文章中进行

73220

Cookies、Local Storage、Session Storage、WebSQL 和 IndexedDB

本地存储,在浏览器中包括了 Cookies、Local Storage、Session Storage、WebSQL 和 IndexedDB 这 5 种形式的本地存储,它们之间的区别: Cookies...Local Storage Session Storage Local Storage 与 Session Storage 都属于 Web Storage。...Web Storage 和 Cookies 类似,区别在于它有更大容量的存储。其中 Local Storage 是持久化的本地存储,除非我们主动删除数据,否则会一直存储在本地。...Session Storage 只存在于 Session 会话中,也就是说只有在同一个 Session 的页面才能使用,当 Session 会话结束后,数据也会自动释放掉。...WebSQL 与 IndexedDB WebSQL 与 IndexedDB 都是最新的 HTML5 本地缓存技术,相比于 Local Storage 和 Session Storage 来说,存储功能更强大

1.1K40

localStorge之storage事件

随着h5的流行和mobile开发,localStorage已经不再是个陌生词,相信大多数童鞋都已经接触过它并用过,但是storage事件相信还是有很多童鞋不太明白甚至没接触过,今天我们主要聊聊storage...先看w3c关于storage都描述:4.4 The storage eventThe storage event is fired when a storage area changes, as described... in the previous two sections (for session storage, for local storage).When this happens, the user agent...,触发这个事件会调用所有同域下其他窗口的storage事件,不过它本身触发storage即当前窗口是不会触发这个事件的(当然ie这个特例除外,它包含自己本事也会触发storage事件)。...storage事件则触发了。

38550
领券