Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • bsp core, graph
    • None

    Description

        public void bsp(BSPPeer peer) throws IOException, SyncException,
            InterruptedException {
       
            ...
            while (updated && iteration < maxIteration) {
              peer.sync();
              ...
      
      
              for (Map.Entry<String, LinkedList<Writable>> e : msgMap.entrySet()) {
                if (e.getValue().size() > 0) {
                  vertices.get(e.getKey()).compute(e.getValue().iterator());
                }
              }
      
            ...
            }
      

      Above code will run Vertex sequentially. Do you think we can run Vertex processing concurrently using multi-threads?

      Then what's the advantages or disadvantages of using multi-threading?

      Attachments

        1. patch.txt
          5 kB
          Edward J. Yoon

        Activity

          People

            udanax Edward J. Yoon
            udanax Edward J. Yoon
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: