BT

New Early adopter or innovator? InfoQ has been working on some new features for you. Learn more

Article: Implementing Master-Worker with Terracotta

| by Floyd Marinescu on Feb 11, 2008. Estimated reading time: less than one minute |
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 Stage
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.

Tell us what you think

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

Email me replies to any of my messages in this thread

We did something similar, but adding routing by Mark Turansky

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

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

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

Email me replies to any of my messages in this thread

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

Email me replies to any of my messages in this thread

3 Discuss

Login to InfoQ to interact with what matters most to you.


Recover your password...

Follow

Follow your favorite topics and editors

Quick overview of most important highlights in the industry and on the site.

Like

More signal, less noise

Build your own feed by choosing topics you want to read about and editors you want to hear from.

Notifications

Stay up-to-date

Set up your notifications and don't miss out on content that matters to you

BT