Systems | Development | Analytics | API | Testing

Latest Posts

Setting Up A RESTful API With Ruby on Rails

Ruby on Rails is an excellent choice for building a REST API, stemming from its design principles and robust feature set. It encourages a resource-oriented architecture, including built-in routing, migrations, and task tools. Rails also includes Active Record, an Object-Relational Mapping (ORM) layer, which simplifies database interactions.

Event-Driven Architectures with Django

Imagine you're building an e-commerce application. You want to use Django and bring all the benefits of that framework. But there are issues. Django's service-oriented architecture doesn’t play well with the event-driven nature of what you need to build. You need to automatically send a welcome email when a new user registers, instantly update inventory levels when an item is purchased, and notify users when their orders are shipped.

Will AI coding create more monoliths?

Let’s start with a statement everyone can agree on: AI coding is now a permanent fixture of the software development lifecycle. Even if your team hasn’t introduced it officially yet, it’s only a matter of time before one of your peers kicks off the discussion or pushes a PR that, perhaps even unbeknownst to you, is entirely AI-generated. Now, let’s rub some folks the wrong way: AI coding in a microservices architecture is a recipe for disaster.

Integrating Ollama with a Ruby on Rails Application

Check out Scout Monitoring's ollama-rails GitHub repo for samples on how to use ollama-ai to communicate with Ollama. Large Language Models (LLMs) have emerged as a game-changer, enabling machines to understand, generate, and process human language with unprecedented accuracy and fluency. One such tool that has gained significant attention is Ollama, a cutting-edge platform that allows developers to run LLMs locally without relying on cloud services.

Building AI With Ollama and Django

If you’re not building with AI, are you even building these days? Sometimes, it seems not. AI has become such an integral part of workflows throughout many tools that a clear understanding of integrating it into your product and framework is critical. Django is such a framework that powers thousands of products across the web: Instagram, Pinterest, and Mozilla are all services built on Django.

Resque v Sidekiq for Ruby Background Jobs Processing

Background job processing is integral to modern software architecture. Background jobs allow resource-intensive tasks to be handled asynchronously, improving your application’s responsiveness and efficiency. You can use background processing for tasks such as sending emails, data processing, and batch jobs. If you were to run these synchronously, they could significantly degrade the user experience and system performance. Thus, most frameworks have libraries for running background jobs.

Scaling Ruby on Rails Using Containerization and Orchestration

After Twitter moved from Ruby to Scala in 2009, the story was born that Ruby on Rails can’t scale. The story goes that it lacks robustness, is a memory hog, and lacks the concurrency features you need to grow an application. This has been the prevailing wisdom for over a decade. And then along came Shopify, showing that, as Lutke says, Ruby on Rails is a framework that can process billions of events per day and evidently does scale. Ruby on Rails is an excellent candidate for scaling.

Testing and Debugging in Django: Advanced Techniques and Tools

Django is one of the leading Python frameworks used to create full-stack web applications. In this comprehensive guide, you will explore the intricacies of testing and debugging within the Django framework, focusing on advanced methodologies and essential tools. Beginning with the fundamentals of Django unit and integration testing, you will delve into advanced techniques such as mocking, testing middleware, and profiling for optimal performance.

Authentication and Authorization Using Middleware in Django

Django is a “batteries-included” framework. It has a wide array of built-in features that handle common web development tasks: URL routing, template engine, object-relational mapping (ORM), and database schema migrations. This makes it highly efficient for rapid development, allowing developers to focus on building their applications' unique aspects without reinventing basic functionalities.

Monorepos: HAL 9000-Approved Code Management and Collaboration

This is the third in a series. Read Part 1 and Part 2. “2001: A Space Odyssey” doesn’t spend time on the training contexts of its antagonist, HAL 9000. The only clues we get are upon its “death,” where it regresses back to its earliest lessons, like singing “Daisy Bell” as it winds down for the last time, suggesting it started with the very basics and grew more complex only with time and practice.