Github user shivaram commented on a diff in the pull request:
https://github.com/apache/spark/pull/2030#discussion_r16433991
--- Diff:
core/src/main/scala/org/apache/spark/broadcast/TorrentBroadcast.scala ---
@@ -109,99 +155,30 @@ private[spark] class TorrentBroadcast[T: ClassTag](
private def readObject(in: ObjectInputStream) {
in.defaultReadObject()
TorrentBroadcast.synchronized {
--- End diff --
I am not sure there is a lot of benefit from having multiple cores execute
`readObject`. We'll then need synchronization for co-ordinating which piece is
being fetched by each thread and cap the number of total outstanding requests
etc.
---
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 [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]