【互動問答分享】第6期決勝雲端運算大資料時代Spark亞太地區研究院公益大講堂

來源:互聯網
上載者:User

標籤:des   style   使用   os   strong   io   資料   for   

“決勝雲端運算大資料時代”                               Spark亞太地區研究院100期公益大講堂 【第6期互動問答分享】

 

Q1:spark streaming 可以不同資料流 join嗎?

         Spark Streaming不同的資料流可以進行join操作;

      Spark Streaming is an extension of the core Spark API that allows enables high-throughput, fault-tolerant stream processing of live data streams. Data can be ingested from many sources like Kafka, Flume, Twitter, ZeroMQ or plain old TCP sockets and be processed using complex algorithms expressed with high-level functions like mapreducejoin and window

         join(otherStream, [numTasks]):When called on two DStreams of (K, V) and (K, W) pairs, return a new DStream of (K, (V, W)) pairs with all pairs of elements for each key.

 

Q2:flume  與  spark streaming 適合 叢集 模式嗎?

         Flume與Spark Streaming是為叢集而生的;

         For input streams that receive data over the network (such as, Kafka, Flume, sockets, etc.), the default persistence level is set to replicate the data to two nodes for fault-tolerance.

         Using any input source that receives data through a network - For network-based data sources like Kafka and Flume, the received input data is replicated in memory between nodes of the cluster (default replication factor is 2).

 

Q3:spark有缺點嘛?

         Spark的核心缺點在於對記憶體的佔用比較大;

         在以前的版本中Spark對資料的處理主要的是粗粒度的,難以進行精細的控制;

         後來加入Fair模式後可以進行細粒度的處理;

 

Q4:spark streming現在有生產使用嗎?

         Spark Streaming非常易於在生產環境下使用;

         無需部署,只需安裝好Spark,,就按照好了Spark Streaming;

         國內像皮皮網等都在使用Spark Streaming;

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.