Systems | Development | Analytics | API | Testing

Calling Ruby Methods in C: Avoid Memory Leaks

Memory leaks are a pain for gem users. They are hard to track and can lead to expensive infrastructure costs. Memory leaks within a C extension are even worse. You'll see a lot of tools and articles about finding leaks in Ruby. However, you don't have the same access to internals in C. A naive usage of rb_funcall can cause memory leaks: it's much better to use rb_protect instead. So, if you are a C extension writer, please read on for the sake of developers who will use your gem. Let's get started!

How To Instrument Your Elixir Application with AppSignal

Instrumentation is an essential part of monitoring and operating an application, especially for apps heavily used in production. Even in today's everchanging technology landscape, visibility and observability still challenge developers and system administrators. Metrics and logging are essential for monitoring and operating an application. Metrics measure an application's performance and system health, while logging records system health and application state.

5 Business Data Migration Best Practices

Data migration is something that all businesses will have to deal with at some point. Maybe a high level of growth has meant that you have too much data and need a larger server. Or maybe you want to move to a new cloud-based system. Regardless of the specifics, all modern businesses will know the power of unlocking data.

Managing Multiple Node.js Versions with NVM

If you have worked in the developing scenes, you know how important programming language versions are. Every time the company releases a new version of their language, they have significantly improved and worked upon its older versions. And most of the time, the older versions get deprecated and become out-of-use for building modern web applications. When Ryan Dahl first built Node.js in 2009, it was supported only on Mac OS and Linux.

What is Kibibyte? Kibibyte vs Kilobyte

As a matter of fact, the entire metric system we use today is based on decimals, in fact, all measurements are made in decimals. Be it a kilogram (10^3 gram) or millimeter (10^-3 meter). But not so for computer engineers! It was during the early days of programming that they found out computer systems worked better with 1024 rather than 1000.