• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

Parallel Processing Pipeline

 
Ranch Hand
Posts: 511
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Does anyone know of the best way to implement a parallel processing pipleline?

What is the best book for mastering concurrent multithreaded programming?

With thanks,
 
(instanceof Sidekick)
Posts: 8791
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
JDK 5 introduced a lot of cool new stuff for concurrency. It's based on Doug Lea's work; google for his name to find his site, books etc for a good background. I found the JavaDoc more accessible than his writing, but that might only be me.

I've had an idea for years for a project that requires multiple pipelines with all lines and all nodes in each line running on threads. The new BlockingQueue seems tailor made for passing tasks from one node to the next. Maybe I'll give it a try one day.

The JavaDoc for BlockingQueue and Excutor will get you a long ways into the concurrency package.
 
There is no "i" in denial. Tiny ad:
Free, earth friendly heat - from the CodeRanch trailboss
https://www.kickstarter.com/projects/paulwheaton/free-heat
reply
    Bookmark Topic Watch Topic
  • New Topic