BT

Article: Implementing Master-Worker with Terracotta

by Floyd Marinescu on Feb 11, 2008 |
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.

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

Educational Content

General Feedback
Bugs
Advertising
Editorial
InfoQ.com and all content copyright © 2006-2014 C4Media Inc. InfoQ.com hosted at Contegix, the best ISP we've ever worked with.
Privacy policy
BT