Databases Reference
In-Depth Information
If scaling Lucene is your concern and you are not a Cassandra user, I would not recommend using
Solandra. I would recommend using Katta instead. Katta ( http://katta.sourceforge.net/ )
enables storage of Lucene indexes on the Hadoop distributed fi lesystem, therefore providing scalable
and distributed search software. It also allows you to leverage the scalable Hadoop infrastructure.
HUMMINGBIRD AND C5T
Hummingbird is actively developed real-time web traffi c visualization software that uses MongoDB.
It's in the early stages of development but is so interesting and impressive that it's worth a mention
as one of the tools and utilities to watch out for.
Hummingbird is built on top of node.js and leverages web sockets to push data up to your browser.
As a fallback option, Hummingbird uses Flash sockets to send the data up to the server. Twenty
updates are sent per second providing a real-time view of the activity on your website. The project is
open source and liberally licensed using the MIT license. It's online at https://github
.com/mnutt/hummingbird .
Node.js is an event-driven I/O framework for the V8 JavaScript engine on Linux
and Unix platforms. It is intended for writing scalable network programs such
as web servers. It is similar in design to and infl uenced by systems like Ruby's
Event Machine or Python's Twisted. Learn more about node.js at http://
nodejs.org/ .
Hummingbird stores its real-time web traffi c data in MongoDB, which provides fast read and write
capabilities. A node.js-based tracking server records user activity on a website and stores it in a
MongoDB server. A number of metrics like hits, locations, sales, and total views are implemented.
As an example, the hits metric is defi ned as follows:
var HitsMetric = {
name: 'Individual Hits',
initialData: [],
interval: 200,
incrementCallback: function(view) {
var value = {
url: view.env.u,
timestamp: view.env.timestamp,
ip: view.env.ip
};
this.data.push(value);
}
}
for (var i in HitsMetric)
exports[i] = HitsMetric[i];
Learn more about Hummingbird at http://projects.nuttnet.net/hummingbird/ .
Search WWH ::




Custom Search