theScore Tech Blog

Things We Learn While Building the Ultimate, Personalized Mobile Sports Experience

How You Nest Modules Matters in Ruby

Ruby provides two different syntaxes to nest modules (and classes). Most Rubyists think that the syntaxes are interchangeable. But, the the code may behave differently depending on the choice of syntax.

3 min read
ruby

Benchmarking JSON Generation in Ruby

Find out how RABL, ActiveModel Serializers, and plain Ruby presenters perform relative to each other when they are used to generate JSON.

9 min read
rubyjsonperformance

Analyzing S3 and CloudFront Access Logs with AWS RedShift

The S3 and CloudFront logs for us are easily terabytes of data per year, and traditional log parsers tend to not handle that size of data. Find out how we use AWS RedShift for log analysis.

20 min read
awsredshift

Using Airbrake with Rake and not Rails

You can configure Airbrake to notify you of errors that happen in your rake tasks. However, there is a gotcha if you want to do this outside of Rails.

1 min read
rubyrails

‹ Newer