- 博客(0)
- 资源 (8)
空空如也
Hadoop应用案例分析:雅虎、eBay、百度、Facebook.pdf
,Hadoop 技术已经在互联网领域得到了广泛的应用。互联网公司往往需要
存储海量的数据并对其进行处理,而这正是Hadoop 的强项。如Facebook 使用Hadoop 存储
内部的日志拷贝,以及数据挖掘和日志统计;Yahoo !利用Hadoop 支持广告系统并处理网页
搜索;Twitter 则使用Hadoop 存储微博数据、日志文件和其他中间数据等。在国内,Hadoop
同样也得到了许多公司的青睐,如百度主要将Hadoop 应用于日志分析和网页数据库的数据
挖掘;阿里巴巴则将Hadoop 用于商业数据的排序和搜索引擎的优化等。
2014-05-25
ScalaByExample.pdf
1 Introduction 1
2 A First Example 3
3 Programming with Actors and Messages 7
4 Expressions and Simple Functions 11
4.1 Expressions And Simple Functions . . . . . . . . . . . . . . . . . . . . . . 11
4.2 Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
4.3 Conditional Expressions . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
4.4 Example: Square Roots by Newton’s Method . . . . . . . . . . . . . . . . 15
4.5 Nested Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
4.6 Tail Recursion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
5 First-Class Functions 21
5.1 Anonymous Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
5.2 Currying . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
5.3 Example: Finding Fixed Points of Functions . . . . . . . . . . . . . . . . 25
5.4 Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
5.5 Language Elements Seen So Far . . . . . . . . . . . . . . . . . . . . . . . 28
6 Classes and Objects 31
7 Case Classes and Pattern Matching 43
7.1 Case Classes and Case Objects . . . . . . . . . . . . . . . . . . . . . . . . 46
7.2 Pattern Matching . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
8 Generic Types and Methods 51
8.1 Type Parameter Bounds . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
8.2 Variance Annotations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56iv CONTENTS
8.3 Lower Bounds . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58
8.4 Least Types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58
8.5 Tuples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
8.6 Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61
9 Lists 63
9.1 Using Lists . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
9.2 Definition of class List I: First Order Methods . . . . . . . . . . . . . . . 65
9.3 Example: Merge sort . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68
9.4 Definition of class List II: Higher-Order Methods . . . . . . . . . . . . . 70
9.5 Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
10 For-Comprehensions 79
10.1 The N-Queens Problem . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80
10.2 Querying with For-Comprehensions . . . . . . . . . . . . . . . . . . . . . 81
10.3 Translation of For-Comprehensions . . . . . . . . . . . . . . . . . . . . . 82
10.4 For-Loops . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84
10.5 Generalizing For . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84
11 Mutable State 87
11.1 Stateful Objects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87
11.2 Imperative Control Structures . . . . . . . . . . . . . . . . . . . . . . . . . 91
11.3 Extended Example: Discrete Event Simulation . . . . . . . . . . . . . . . 92
11.4 Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97
12 Computing with Streams 99
13 Iterators 103
13.1 Iterator Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103
13.2 Constructing Iterators . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 106
13.3 Using Iterators . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 107
2014-05-14
Openstack在京东的应用实践
Openstack平台接入大量线上业务
•
实现Openstack自动化部署
•
实现Openstack HA
•
实现桌面云,已交付给Call Center试用
•
Elastic Scaling && ELB(正在开发)
2014-05-09
Fast Data Processing with Spark eBook.pdf
Other Titles in This Category
Real-Time UML Workshop for Embedded Systems, 2nd Edition
Real-Time UML Workshop for Embedded Systems, 2nd Edition
Bruce Powel Douglass
Rough Cuts
Building Microservices
Building Microservices
Sam Newman
Introduction to 80x86 Assembly Language and Computer Architecture, 3rd Edition
Introduction to 80x86 Assembly Language and Computer Architecture, 3rd Edition
Richard C. Detmer
Distributed Algorithms
Distributed Algorithms
Nancy A. Lynch
Platform Ecosystems
Platform Ecosystems
Amrit Tiwana
High-speed distributed computing made easy with Spark
Implement Spark's interactive shell to prototype distributed applications
Deploy Spark jobs to various clusters such as Mesos, EC2, Chef, YARN, EMR, and so on
Use Shark's SQL query-like syntax with Spark
2014-05-07
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人