RSSAmplifier

Blog

Kevin Menard’s Weblog

Technical articles by Kevin Menard. Topics include Ruby, Java, machine learning, and general computing.

nirvdrum.comRSS feed ↗10 posts

Latest posts

Embedding Truffle Languages

Introduction

Reflections on ReasonML

Introduction

A Systematic Approach to Improving TruffleRuby Performance

Summary

TruffleRuby on the Substrate VM

Introduction

Open Sourcing a Failed Startup

Background

Improving Sidekiq Performance with JRuby

Sidekiq performance in JRuby can be substantially improved by reducing Thread and Fiber allocations. We take a look at how JRuby 1.7.11 improves this by backing Fibers with an internal thread pool and how layering in a Fiber pool with Celluloid can improve things even more.

Faster SecureRandom in JRuby 1.7.11

While profiling our Rails app recently, SecureRandom surfaced as a hot spot. We use UUIDs to generate request IDs so we can correlate different log statements with a logical user request. To isolate the problem

How to Accept Self-Signed SSL Certificates in Selenium 2

I wrote about how to accept self-signed SSL certificates for Selenium 1 almost 3 years ago. At the time, Selenium 2 hadn't seen an official release yet so I was sticking with the more stable Selenium 1 (now the Selenium RC protocol in Selenium 2). A lot has changed in the world of Selenium since then and I thought it was time to provide a new post with modern information, based upon the Selenium…

Centralized Selenium Logging with Graylog

Selenium Grid is a fantastic way to run a cluster of browsers to speed up your testing. We make very heavy use of it to provide our Web Consistency Testing results. But running many distributed nodes and not knowing which one is running a session at any given time can be problematic from an ops standpoint. Sending all of our logs to a centralized location is one way that we manage all this.

Speed Up Web Testing with a Caching Proxy

If you've ever done Web integration testing you know it can be really slow. Starting up browsers is slow. Loading Web pages is slow. Interacting with those pages is slow. Since Mogotest is a service built mostly around these concepts, we're constantly looking for ways to speed things up. This post is about how to speed up page load times.