4. 自己紹介
近江 武一
JAZUG Azure Storage 担当(自称)
Microsoft MVP for Azure
http://www.slideshare.net/takekazuomi
kyrt.in
github.com/takekazuomi
white paper
監訳
2015/9/5 kyrt inc. 4
7. Battle-hardened for over 5 years
Azure Core Infrastructure thousands of machines
Azure Document DB billions transactions/week
Intune 800k devices
Skype for Business Hybrid Ops
Event Hubs 20bn events/day
Azure SQL Database 1.4 million databases
Bing Cortana 500m evals/sec
PowerBI
2015/9/5
出典: BUILD 2015 2-640 Microsoft Azure Service Fabric Architecture
kyrt inc. 7
8. Applications composed of microservices
2015/9/5
https://azure.microsoft.com/ja-jp/documentation/articles/service-fabric-overview/
kyrt inc. 8
18. Major subsystems of Service Fabric
2015/9/5
出典:https://azure.microsoft.com/en-us/documentation/articles/service-fabric-architecture/
kyrt inc. 18
19. Cluster: federation
A set of independent
machines; physical or
virtual
Clusters can scale to
1000s of machines
2015/9/5
Node
Node
Node
Node
Node
Node
128 bit DTH
kyrt inc. 19
27. Apache Mesos
Apache Mesos は、twitter 社などで使われている Cluster
Manager です。Service Fabric と似た位置に属するOSSのプロ
ダクトです。BUILD 2015/3-612では、Cluster Orchestration で並
んでました。今回の資料では、Cluster Managerと呼んでます。
ちょっと脱線して、 「Mesos 使うとStatic Partitioning から開
放されるぜ」という話しが面白かったので紹介。
Building and Deploying Application to Apache Mesos
⇨ 「Static Partition IS BAD、 Operating System === Datacenter 、
Mesos => data center のkernelだ」というようなことが書いてあ
ります。
⇨ http://www.slideshare.net/charmalloc/buildingdeployingapplications
mesos
2015/9/5 kyrt inc. 27
28. VMs and VM Scale Sets
Azure Public CloudAzure-Consistent Private Cloud
VM Extensions
SCALR, RightScale,
Mesos, Swarm
Service Fabric
(VMs and Containers)
BatchApp Service
Media
Web
Apps
Mobile
Apps
Apprenda, CloudFoundry
Jelastic, Marathon
Infrastructure
IaaS and
IaaS+
General
Compute PaaS
Vertical
compute PaaS
Open Choice at Every Layer
Cluster
Orchestration
参照:https://channel9.msdn.com/Events/Build/2015/3-618
35. Spark + Mesos、YARNの利用
Spark は、 MesosでもYARNでも動く(Cluster Manager と呼ばれる)
Standalone
⇨ a simple cluster manager included with Spark that makes it easy to set up a
cluster.
Apache Mesos
⇨ 汎用の cluster manager、 Hadoop MapReduce and service applications.
Hadoop YARN
⇨ the resource manager in Hadoop 2.
Amazon EC2
⇨ In addition, Spark’s EC2 launch scripts make it easy to launch a standalone
cluster on Amazon EC2.
2015/9/5 kyrt inc. 35
41. Service Fabric Explorer
Clusterの状況が見
える
Nodeを再起動する
とPrimaryが変わる
Stateful は3Node構
成
LSN見ている
⇨ QueueでLOG配布っ
ぽい
2015/9/5 kyrt inc. 41
42. Regional Network Manager Microservices
2015/9/5
ONS 2015: Wednesday Keynote - Mark Russinovich https://youtu.be/RffHFIhg5Sc
kyrt inc. 42
43. Service Fabric documentation
http://azure.microsoft.com/en-
us/documentation/services/service-fabric/
BUILD 2015, The Next Generation of Azure Compute
Platform with Mark Russinovich
https://channel9.msdn.com/Events/Build/2015/3-618
Microsoft Azure Service Fabric Architecture
https://channel9.msdn.com/Events/Build/2015/2-640
Deep Dive into Microsoft Azure Service Fabric
Reliable Actors
https://channel9.msdn.com/Events/Build/2015/2-66
2015/9/5 kyrt inc. 43
44. 大規模分散システムの現在 – Twitter, 丸山不二夫
⇨ http://www.slideshare.net/maruyama097
Evolution of The Twitter Stack,
Chris Aniszczyk
⇨ http://www.slideshare.net/caniszczyk/twitter-opensourcestacklinuxcon2013
GoogleがBorgの詳細を公開, Abel Avram
⇨ http://www.infoq.com/jp/news/2015/04/google-borg
mesos, omega, borg: a survey, Andrew Wang
⇨ http://www.umbrant.com/blog/2015/mesos_omega_borg_survey.html
YARN の紹介
⇨ http://www.ibm.com/developerworks/jp/analytics/library/bd-yarn-intro/
2015/9/5 kyrt inc. 44
Spark Appliation は、(driver program と呼ばれる)あなたのメインプログラムでSparkContextオブジェクトによって協調クラスタ上のプロセスのように独立したセットを実行します。
SparkContext == process
cluster 上で、SparkContext が、
main program は、driver program と呼ばれる
具体的には、クラスタ上で実行するために、SparkContextはアプリケーション間でリソースを割り当てるクラスタマネージャのいくつかの種類(スパーク自身のスタンドアロンクラスタマネージャまたはMesosのいずれか/糸)、に接続することができます。
接続すると、スパークは、アプリケーションの計算とストアデータを実行するプロセスですクラスタ内のノード上で実行プログラムを取得します。
次に、それは執行に(SparkContextに渡されたJARファイルまたはPythonのファイルで定義された)アプリケーション・コードを送信します。
最後に、SparkContextは執行を実行するためのタスクを送信