Last year the company announced that both its back-end message queue and Tweet storage had been re-written in Scala, and in the spring of 2010 the search team at Twitter started to rewrite the search engine. As part of the effort, Twitter changed the search storage from MySQL to a real-time version of Lucene. More recently the team announced that they were replacing the Ruby on Rails front-end for search with a Java server they called Blender. This change resulted in a 3x drop in search latencies.
But, let’s get a bit personal, shall we? Let’s feed it with your own e-mail, imported from your own Gmail account.
We’ll use couple of Ruby gems: Gmail to fetch the e-mail data, Tire to put them into ElasticSearch and search them, and Sinatra to create a simple web application, which will allow us to search the messages.
(Full Story: Search Your Gmail Messages with ElasticSearch and Ruby)
Ruby developers can choose from a variety of tools to get their job done.
The Ruby Toolbox gives you an overview of these tools, sorted in categories and rated by the amount of watchers and forks in the corresponding source code repository on GitHub so you can find out easily what options you have and which are the most common ones in the Ruby community.
(Full Story: The Ruby Toolbox – Know your options!)
Pry also aims to be more than an IRB replacement; it is an attempt to bring REPL driven programming to the Ruby language. It is currently not nearly as powerful as tools like SLIME for lisp, but that is the general direction Pry is heading.
Mirah is currently demonstrably under heavy development as can be seen at its Github repository and there are a few issues which are currently awaiting resolution, however, it is usable right now and there are some seriously awesome features in the pipeline too. So if you’re finding that you are losing your marbles with the geological pace of Java production I implore you to give it a go. Read the code, check out the examples and get involved in the community. If nothing else it may supercharge your web app development but more likely; it may well be the best thing to happen to Java since, umm, Java.
(Full Story: Making Java Fun with Mirah)
Goliath has been in production at PostRank for well over a year, serving a sustained rate of 500+ requests/s for months at a time (no memory leaks, no restarts). Internally, we use it to interface with MySQL, MongoDB, Cassandra, as well as many other local and remote web-services. Goliath supports HTTP keep-alive, request pipelining, and can be used to build real-time, streaming API’s – all features we use to optimize our infrastructure.
(Full Story: Goliath: Non-blocking, Ruby 1.9 Web Server)
Graylog2 a slick log management, monitoring, and alerting tool powered by Java, Ruby, and MongoDB, performs these well. Graylog consists of a Java server that collects your logging data and stuffs it into MongoDB and a Ruby on Rails web interface for searching, filtering, and graphing that data.