Follow @philwhln

Ruby’s EventMachine – Part 3 : Thin

By Phil Whelan on October 30, 2012

As mentioned in part 1 and part 2 of this series on Ruby’s EventMachine, Thin is where most folks encounter EventMachine for the first time, even if they do not realize it. EventMachine is at the core of Thin and allows for the high concurrency that Thin provides to your Rails application. In this post I will look at Thin’s usage of EventMachine.

Continue reading...

A/B Testing in Ruby On Rails

By Phil Whelan on October 23, 2012

In this post I am going to demonstrate, step-by-step, a way to A/B test new features from within Ruby-On-Rails using FluidFeatures. FluidFeatures is currently in closed-beta and requires request for inclusion in the beta program. We are looking for enthusiastic A/B testers, so we can get feedback on the service before releasing it to the masses.

Continue reading...

Ruby’s EventMachine – Part 2 : Asynchronous != Faster

By Phil Whelan on September 24, 2012

In this post I will look synchronous vs asynchronous programming with Ruby’s EventMachine, to show that asynchronous does not always mean that your code will run faster.

In part 1 of this series on Ruby’s EventMachine I discussed the benefits of event-based programming in general. I am a big fan of event-based programming, as you will see in these posts, but I wanted to flip the coin over and look at one of the down-sides of event-based programming.

Continue reading...

Ruby’s EventMachine – Part 1 : Event-based Programming

By Phil Whelan on September 14, 2012

In this first post, of a series on Ruby’s EventMachine, I will introduce EventMachine and explain why event-based programming is good for your wallet.

EventMachine, which just turned 1.0.0 this week, is more than just a gem, it is a new paradigm for many Ruby programmers and is not always easy to just drop into your existing stack. As the name suggests, it gives you event-based programming.

Continue reading...

Fluid Feature Rollout For Ruby On Rails

By Phil Whelan on September 13, 2012

In this blog post I am going to introduce a new service for Ruby On Rails developers called FluidFeatures that helps you manage rolling out new features to your site and provides a way to easily do A/B testing (competing versions of a feature) right in the belly of your code.

Continue reading...

Ruby exit, exit!, SystemExit and at_exit blunder

By Phil Whelan on September 8, 2012

Recently, we hit a problem with Ruby’s “exit” command. If something went horribly wrong and it made no sense for our application to continue in its current state then we would abort with “exit 1″. We use supervisord to manage processes, so in this case when we exited with exit status of 1, supervisord would assume something went wrong and restart the process for us. Or at least that is what we thought…

Continue reading...

Colorful Ruby Code In HTML Using CodeRay

By Phil Whelan on September 3, 2012

In this blog post I will demonstrate a quick and easy way I have found to syntax highlight your Ruby code in pretty colors for your blog posts or other HTML-based display purposes. Please note, this blog post is designed for use with color monitors only, obviously.

The focus of this post is Ruby, but this method also applies for syntax highlighting C, C++, Python, CSS, Clojure, diff, Groovy, HAML, ERB, Java, JavaScript, PHP, SQL, XML and YAML.

Continue reading...

Gitolite Installation Step-By-Step

By Phil Whelan on July 23, 2012

In this post I will walk you through how to setup your own gitolite server and start hosting your own git repositories.

Gitolite is a great tool for doing this and works in a very git-like way for managing users, access-rights and setting up new repositories for collaboration between your team. A common reason to setup Gitolite is to remove reliance on services like GitHub.

Continue reading...

54 Hours In The Okanagan Building A Startup

By Phil Whelan on March 5, 2012

office_small

Remember, Startup Weekend equates to about 21 hours of development time and that includes brainstorming, planning, talking to mentors, other meetings, eating and a bit of fun. Also, skill-sets between developers do not always line up. The key phrase is “ship it!” whether it is good, bad, ugly or broken. The clock is ticking.

Continue reading...

Deploy The Tornado Chat Demo On The Stackato PaaS Sandbox

By Phil Whelan on January 10, 2012

In this blog post I’ll go through an example, in repeatable steps, of how to get up and running with the Tornado chat demo on ActiveState’s public sandbox for Stackato.

ActiveState’s Stackato PaaS (Platform-as-a-Service) is based on VMware’s open-source PaaS, Cloud Foundry, and offers an enterprise PaaS solution that will run on any public cloud, private cloud, laptop or desktop.

Continue reading...

Geohash Intro

By Phil Whelan on December 15, 2011

geohash_intro_sq

Geohashing is a simple way to encode latitude and longitude and grouping nearby points on the globe with varying resolutions. It was created by Gustavo Niemeyer. This blog post looks at how it’s implemented any why it is such an elegant solution for encoding and managing location-based data.

Continue reading...

Rollout, Degrade, Metrics and Capacity

By Phil Whelan on December 13, 2011

rollout-degrade-metrics-and-capacity_sq

Last week I attended a presentation by James Golick, CTO of fetlife.com. Intriguingly advertised as “Scaling a Website to 300 Million Page Views Per Month with Scala” I thought it was worth a break from building cooq.com to attend. Fetlife have been heavy users of Ruby, but are transitioning to Scala and having been using [...]

Continue reading...

Summify’s Technology Examined

By Phil Whelan on March 7, 2011

summify_technology_sq

In this post I will look at the technology infrastructure behind Summify.com, a website that strives to make our lives easier and helps us deal with the information overload we all experience every time we sit down at our computers. Summify has aggregated over 200 million stories from the web and serves them up on-demand through a series of different mediums. The website uses Tornado to push real-time updates out to the users and they have developed over a dozen backend systems, some of which I will cover in this blog post.

Continue reading...

Other People’s Data – An Interview With “Drawn To Scale”

By Phil Whelan on February 14, 2011

drawn_to_scale_sq

In this blog-post Bradford Stephens, Drawn To Scale’s founder, answers a series of technical, business and personal questions to give an overview of what Drawn To Scale is and where it is going. Who are the founders? What is their background, technology and business model? How were they going to manage other people’s big data? Can one tool fit the demands from a broad range of data challenges that different businesses are seeing?

Continue reading...

Quora’s Technology Examined

By Phil Whelan on January 31, 2011

quora_microscope_sq

In this blog post I will delve into the snippets of information available on Quora and look at Quora from a technical perspective. What technical decisions have they made? What does their architecture look like? What languages and frameworks do they use? How do they make that search bar respond so quickly?

Continue reading...

Run The Latest Whirr And Deploy HBase In Minutes

By Phil Whelan on January 24, 2011

whirr_hbase_sq

In a few of my recent posts I have covered the ease of deploying clusters of Hadoop and Cassandra using Whirr. With Whirr you can simply write a configuration file specifying which cloud provider you are using, your credentials and the definition of the cluster you desire and it will build it for you. In [...]

Continue reading...
Next »

Top Posts

  • Homebrew - Intro To The Mac OS X Package Installer
  • Quora's Technology Examined
  • Gitolite Installation Step-By-Step
  • How To Get Experience Working With Large Datasets
  • Install Gitolite To Manage Your Git Repositories
  • Embed Base64-Encoded Images Inline In HTML
  • Map-Reduce With Ruby Using Hadoop
  • Highchart Vs Flot.js - Comparing JavaScript Graphing Engines

Tags

amazon ec2 android apple cassandra customers data processing entrepreneur entrepreneurship eventmachine gem git gitolite google hadoop hbase hdfs high scalability homebrew install iphone java location mac osx memcached mongodb mysql nginx nosql perl phone postgresql python rails redis ruby ruby on rails scala ssh-keygen startup tornado twitter vancouver web-development whirr wikipedia

Copyright © 2016 Big Fast Blog | Vancouver, BC, Canada