Embedding Truffle Languages
Introduction
Technical articles by Kevin Menard. Topics include Ruby, Java, machine learning, and general computing.
Introduction
Introduction
Summary
Introduction
Background
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.
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
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…
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.
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.