Simple URL Shortener

We all have come across social and professional networking sites, and have encountered posts containing minified (shortened) links that look something like bit.ly/bla or goo.gl/blah or lnkd.in/blahhh. We have got so used to these that we almost never pay attention to logic or design behind this philosophy. Alteast, I didn’t, until recently when someone askedContinueContinue reading “Simple URL Shortener”

Ignite with Mongodb

Thanks to the previous posts, we now know how to query data in Ignite. So far, we were either persisting data in memory (in which case, it would go off as soon as the node is down) or on file-system. However, we may also use the database of our choice as the persistence layer. One suchContinueContinue reading “Ignite with Mongodb”

Querying with Apache Ignite

In my last blog, I covered the basics of starting an ignite node or a cluster. We also wrote a simple Hello-World Program in Java that starts an ignite node as jar, and how we can put data into cache(cache.put) and retrieve it based on a key(cache.get) i.e a basic lookup. However, ignite is not limitedContinueContinue reading “Querying with Apache Ignite”

Monitoring a Filesystem – Part 3

Monitoring a filesystem, as it turns out, is not that simple afterall. Given the plethora of considerations, like infinite data volume, less performance overhead, fast, light-weight etc. that we have already seen in the preceding posts of this series. By this time it was very clear that scanning through directories at regular intervals would not scale whenContinueContinue reading “Monitoring a Filesystem – Part 3”

Monitoring a Filesystem – Part 2

So, in my previous post  of this series, I shared my experience where we were continuously polling the filesystem for any updates. We have also seen what were the disadvantages of such systems. We started exploring other tools, that were similar in nature and were thus, discarded. One such option that we tried was the ApacheContinueContinue reading “Monitoring a Filesystem – Part 2”