spark-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jerryshao <...@git.apache.org>
Subject [GitHub] spark pull request: [SPARK-5372][Streaming] Change the default sto...
Date Fri, 30 Jan 2015 01:37:28 GMT
Github user jerryshao commented on the pull request:

    https://github.com/apache/spark/pull/4167#issuecomment-72139397
  
    Hi TD, AFAIK  StorageLevel `MEMORY_AND_DISK_SER` has no difference to `MEMORY_ONLY_SER`
if memory is enough, BM will only put data into memory, and only spill to disk when memory
is not enough.
    
    Besides all the receiver's default storage level is `MEMORY_AND_DISK_SER_2`, if performance
is the first consideration, why not `MEMORY_ONLY_SER_2`?
    
    Actually the behavior of `DISK` will only be triggered when memory is not enough, so I
think for normal case, the performance should be same to `MEMORY_ONLY_SER`


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


Mime
View raw message