Most computer programs usually runs in a single thread (sequential execution flow). But the main program can be splited in many threads so they can be concurrently executed, which improves algorithm performance (specially on multi-core CPU’s, where those threads are really executed simultaneously). In this post, I’m gonna show how to parellelize Ruby Web Crawler code with threads. In Ruby’s standard library, the threads fired by a program can only take advantage from one CPU core due Global Interpreter Lock…
-
A daemon is a program that runs in background in your operational system. They’re usually processes that runs for an undefined amount of time executing tasks that don’t depend on the…
-
Gokano is a free web platform for collecting points that can be exchanged for prizes. To participate, the user must register and accomplish some tasks in order to win those points…
-
One of main applications for Twitter’s content analysis is about watching trending topics, specially because of the microblog’s quality: users are more likely to spread opinions about specific subjects, brands and…
-
A Web Crawler (also known as spider) is an algorithm that browses the web in order to collect data about a specific subject. That algorithm gather data from a source list…