Systems | Development | Analytics | API | Testing

Flask or Django: Which One Best Fits Your Python Project?

Choosing the right framework can significantly impact the success of a dev project. If you've chosen to use Python for your project's backend, you might need to decide between Flask and Django, the most popular web frameworks in the Python ecosystem. This article will help you determine which of the two best suits your specific needs by examining the key factors to consider. Before diving into the technicalities, let's briefly introduce both Flask and Django.

Testing MongoDB in Node with the MongoDB Memory Server

In this post, we'll run through testing a Node-MongoDB app, step by step. You can test MongoDB using mongodb-memory-server, an in-memory version of MongoDB that runs independently of a persistent database. A freshly spun-up mongod process starts at roughly 7 MB of memory, providing a lightweight, self-contained environment for running tests. Let's get going!

A Deep Dive into Solid Queue for Ruby on Rails

Our previous article in this series established that Solid Queue is an excellent choice if you need a system for processing background jobs. It minimizes external dependencies — no need for Redis! — by storing all jobs in your database. Despite that, it is incredibly performant. But just being performant is not enough for a production-ready background job system. Rails developers have come to expect a lot over the years. We don't just want to enqueue jobs to run in the background.

Using SQL in Node.js with Sequelize

Relational databases rely on SQL, or Structured Query Language, as the standard way to control and interact with their stored data. In the Node.js ecosystem, Sequelize is a prominent Object-Relational Mapping(ORM) library that bridges the gap between Node.js apps and SQL databases, enabling you to interact with your data using familiar JavaScript idioms. This article will guide you through using Sequelize to connect to databases, run queries, and handle results within your Node.js projects.

Deploying Phoenix Applications with Kamal

Deploying Phoenix applications in production environments poses unique challenges due to Elixir and the Erlang Virtual Machine (VM). The ecosystem offers multiple strategies — ranging from releases to mix-based approaches (as detailed in the Phoenix Deployment Guide) — and various platforms employ different methods. While some rely on buildpacks (for example, Heroku and Gigalixir), others use containerization (like Fly).

Performance and Stress Testing in Node.js

Performance and stress testing are two popular testing methodologies. They focus on determining how an application behaves under regular and unexpectedly high traffic, respectively. These tests are essential for assessing a system's robustness and scalability, particularly in applications with fluctuating traffic like Node.js backends. In this article, you'll learn about stress and performance testing, why they're important, the best tools available, and how to use them in Node. Let's dive in!