合理的并行度
减少任务启动开销
选择合适的batch Duration
内存调优
设置合理的cpu数
SparkStreaming性能调优
原文:http://www.cnblogs.com/braveym/p/7492643.html