Chef-solo: The definitive solution to manage clusters

Author: Raimon Bosch If you have been involved in web development you probably have heard about chef. With chef, you can automate how you build, deploy, and manage your infrastructure. Your infrastructure becomes as versionable, testable, and repeatable as application code. In this blog post I will present a guide to learn the basics about this great technology.…

How to use Near Real Time Search in Solr

As you might know Solr has prepared a cool new feature for its release 4.0: Near Realtime Search. With this new feature our search engine will be able to perform in-memory commits a.k.a. soft commits without having to perform a real commit that can cause some seconds of bad performance to your users. If you…

How to create a Solr index and speed up your data

If you are designing a website and you want to have a solid backend Solr is an exceptional choice not only because its search capabilities and all the integration with the lucene ecosystem also because its capacity to shard your data and get very good response times. But which is the best approach in order…

How to create combinations and not die trying

When you are building your website is very important generate good keywords in order to get visits from search engines quickly. First of all, is very important to analyze your market and your possible competitors and see which keywords they are using. But even if you have the best study you can pay for at…

Using binarySearch in Java

Today I bumped into a solution very interesting when I was thinking in the best way to solve a use-case to assing IP Addresses to country codes. One of the existing solutions in Java is to use MaxMind. My other initial approach was to use map-reduce to match my IPs with each country code, but…