BT

InfoQ Homepage News Article: Implementing Master-Worker with Terracotta

Article: Implementing Master-Worker with Terracotta

Bookmarks
Recently Shine Technologies distributed one of its applications using Terracotta, an open-source JVM-level data clustering project.   Terracotta is often used to implement HTTP session replication, as a distributed cache, for transparent POJO Clustering / Spring integration, but can also be used to distribute events (such as tasks in a master/worker grid pattern).  In this case study, Shine Technologies explained how they used Terracotta and the Master Worker pattern to process large volumes of electricity usage data weekly and generate reports with detailed reconciliation & discrepancy highlighting for their customers.

Read Implementing Master-Worker with Terracotta.

Rate this Article

Adoption
Style

Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Community comments

  • We did something similar, but adding routing

    by Mark Turansky /

    Your message is awaiting moderation. Thank you for participating in the discussion.

    I wrote an article about how we built a message bus with TC that includes queuing, routing, splitting, and aggregation (all from Enterprise Integration Patterns). The slickest part is that we've got a pure POJO program that can run in an IDE, but then be distributed (via TC) to dozens on nodes in our production environment.

  • Re: We did something similar, but adding routing

    by Orion Letizi /

    Your message is awaiting moderation. Thank you for participating in the discussion.

    The "pure POJO program that can run in an IDE, but then be distributed" thing is the what excites me. That's not one of the benefits that gets trumpeted very loudly, but it's really one of my favorites. It really lets you concentrate on the task at hand instead of fighting with a bunch of exposed infrastructure every time you want to run a test.

    Cheers,
    Orion

  • Thank you

    by Tim Ferguson /

    Your message is awaiting moderation. Thank you for participating in the discussion.

    Thank you for this simple yet powerful writeup. Perhaps I have been under a rock for a bit, but Terracotta had just come onto my radar recently and this is exactly what I needed to understand more fully how, when, and where I can use this... thanks again.

    -Tim Ferguson, xaware.org

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

BT

Is your profile up-to-date? Please take a moment to review and update.

Note: If updating/changing your email, a validation request will be sent

Company name:
Company role:
Company size:
Country/Zone:
State/Province/Region:
You will be sent an email to validate the new email address. This pop-up will close itself in a few moments.