Systems | Development | Analytics | API | Testing

Tracking Celery Task Failures in Python

Whenever you place an order on Amazon (or any other e-commerce site for that matter), you get that “order placed successfully” notification almost instantly. But did you know that there’s much more to the whole experience than meets the eye? In Python applications, Celery is the major driver behind the whole thing. The tasks that take time are queued and sent to brokers.

Monitoring Express Route Performance with AppSignal

Slow Express routes rarely look broken in logs. They just feel sluggish to users. With AppSignal, though, you can quickly identify which endpoints are the slowest, gain insight into each request, and find out if the latency is related to any errors or slow queries. In this guide, you'll set up a mock Express application, create a load, and use AppSignal to analyze a route's performance as if you were working through a live incident.

Debugging Slow Ecto Queries with AppSignal

A sports car can only be driven as fast as the road it's driven on. If you're stuck behind a tractor on a single-lane road, you're not going anywhere fast. The same idea applies to web performance: your application's throughput is only as fast as it's slowest bottleneck. For Phoenix applications, that bottleneck is almost always the database.

Domains and Resources in Ash for Elixir

If you’ve been on the fence about trying the Ash Framework, this post is for you. We’re going to explore why Ash is a game changer for Elixir developers by building something complex, real, but surprisingly elegant. We’ll create AshTherapy, an AI-powered therapeutic chat service that handles conversations, messages, and user interactions — all powered by Ash. Before we go further, let’s first answer the question: what exactly is Ash?

An Introduction to Ruby Parsing with Prism

You might have heard about Prism, the new Ruby parser. Perhaps you've heard it's faster, more reliable, and more powerful than what we had before. Or maybe you never took a compilers class and aren't sure about what this actually means. I'm here to tell you all about it, and how it's changing our lives as Ruby developers. Today, I want to take you from square one to writing your first transpiler.

Create a Markdown Editor in Ruby on Rails

In recent years, Markdown has become the lingua franca of plain-text files on the web. If you're a developer, you have read — and maybe even written — hundreds of Markdown documents over the course of your career. GitHub repositories use README files written in Markdown. Stack Overflow and Reddit use it to format posts. Technical documentation, blog posts, and entire books are written in Markdown. And it's not just for humans either!

Improve Query Performance Using Python Django QuerySets

When developing web applications with Django, your interaction with the database impacts overall application performance. Django's Object-Relational Mapper (ORM) is a powerful ally that offers an intuitive way to work with your data through abstractions called QuerySets. These are your primary tools for fetching, filtering, creating, and managing data. In this article, we'll explore fundamental — yet highly effective — techniques to optimize your Django QuerySets.

Manage a Next.js Monorepo with Prisma

Prisma is a modern open-source database toolkit designed to simplify data workflows for developers. It provides a powerful and intuitive way to interact with databases, and it is type-safe. Prisma works well in a monorepo because it can be used in both the frontend and backend of a full-stack application. This enables developers to share types and logic across the entire codebase, resulting in a more efficient development process.

Completing, Integrating, and Publishing Our Game with DragonRuby

In part one of this series, we started developing a simple Flappy Bird clone game using the DragonRuby game development toolkit. We didn't come very far, though — we stopped after integrating player input to keep our plane afloat. In this second and concluding part, we'll implement the remaining simple game mechanics. We'll also take a brief look at interfacing with an HTTP server and publishing our game on itch.io.