{"id":2365,"date":"2011-12-13T10:36:36","date_gmt":"2011-12-13T09:36:36","guid":{"rendered":"http:\/\/www.devco.net\/?p=2365"},"modified":"2011-12-14T09:54:44","modified_gmt":"2011-12-14T08:54:44","slug":"common-messaging-patterns-using-stomppart-4","status":"publish","type":"post","link":"https:\/\/www.devco.net\/archives\/2011\/12\/13\/common-messaging-patterns-using-stomppart-4.php","title":{"rendered":"Common Messaging Patterns Using Stomp \u2013 Part 4"},"content":{"rendered":"

This is an ongoing post in a series of posts about Middlware for Stomp users, please read parts 1<\/a>, 2<\/a> and 3<\/a> of this series first before continuing below.<\/p>\n

Back in Part 2 we wrote a little system to ship metrics from nodes into Graphite via Stomp. This solved the goals of the problem then but now lets see what to do when our needs change. <\/p>\n

Graphite is like RRD where it would summarize data over time and eventually discard old data. Contrast that with OpenTSDB that never summarizes or delete data and can store billions of data points. Imagine we want to use Graphite for a short term reporting service for our data but we also need to store the data long term without losing any data. So we really want to store the data in 2 locations.<\/p>\n

We have a few options open to use:<\/p>\n