How to Use Lambdas in Ruby

Lambdas are a powerful feature of the Ruby language. They allow you to wrap logic and data into a portable package. In this post, we’ll cover how and when to use lambdas. You’’ll also learn about the difference between lambdas and Procs, and the performance profile of lambda functions. The ... Read more

How to Start Using Counter Caches in Rails

Learn how to use counter cache in your rails app, parent-child associations, counter cache best practice. Read more

Elixir GenServers: Overview and Tutorial

Introduction Elixir describes itself as "a dynamic, functional programming language designed for building scalable and maintainable applications." Although it's a relative newcomer, Elixir is built on top of the functional programming language Erlang. Elixir is capable of using any Erlang library, and is ideal for use cases such as web ... Read more

Go Fast: Getting Started with Sanic for Python

Go Fast: Getting Started with Sanic for Python Tired of waiting for sluggish HTTP requests to complete before your backend code can proceed with other things? Sanic is an asynchronous web framework in Python, that is built to be fast. In a world where Flask and Django are the most ... Read more

Tutorial: Log to Console in PHP

“All code and no logging makes John a black box error-prone system.” Logging is a key aspect of monitoring, troubleshooting and debugging your code. Not only does it make your project’s underlying execution more transparent and intelligible, but also more accessible in it’s approach. In a company or a community ... Read more

Programmatically Adding Laravel Middleware

When it comes to web development, middleware is often the key to ensuring everything connects up - even if some of the pieces don’t always matchup. HTTP Middleware is a mechanism used to conveniently filter HTTP requests coming into your web application. When it comes to PHP, frameworks often help ... Read more

The 15 Best Podcasts for Engineers

The 15 Best Podcasts for Engineers If you’ve been on the hunt for a new developer podcast, then you understand just how difficult and fruitless that hunt can be. You can spend hours online sifting through coding podcasts, programming podcasts, and devops podcasts just to realize one simple thing: none ... Read more

New Relic vs. Scout: Which Is The Right APM For You?

There's no type of monitoring tool that can get to the heart of a performance problem faster than Application Performance Management (APM). If you're making this decision, use this guide to choose between New Relic and Scout. Read more

A Complete Guide to Rails Caching

A Complete Guide to Rails Caching. Application performance is always a concern when building in the modern, competitive web and mobile space. At Scout, it’s why we created application performance monitoring tools in the first place. That said, there are steps you can take to build a more ... Read more

Migrating from Python 2 to 3: Automated Tools and Strategies

This article is a continuation of Part I (A comprehensive guide to migrating from Python 2(Legacy Python) to Python 3) which details the changes, improvements in Python 3 and why they are important. This rest of the article details automated tools, strategies and role of testing in the migration from ... Read more

Start your free 14-day trial today.
No credit card needed.