Systems | Development | Analytics | API | Testing

A story of Lazy Loading File System Operations for better dev system performance

In this blog post I want to share a story of a performance bottleneck using the filesystem that we experienced in our development setup. In the Tideways backend, we have a simple homegrown database migration tool that scans a directory for.sql files and applies them if not already done. It is a very old piece of code that I used since before the times of doctrine/migrations. It is much simpler but works for us.

A First Look at Hanami 2 for Ruby

As of today (06/12/2022), Hanami 2.0.1 has been released. Read more about the enhancements, bug fixes and gems in release 2.0.1. Hanami 2 was released on 22 November, concluding four years of work on this version. It brings a breath of fresh air into Ruby's web development community. Version 2.0 is not just an incremental upgrade. One could say it's a project written anew, with bright ideas from version one rebuilt on top of a solid dry-rb libraries ecosystem.

What is Microservices Architecture? How it works?

When you have an annual event at school or university, the teacher always assigns separate tasks to different groups of students. Have you ever wondered why she does that? Well, not only does it lighten the load on her but working in a group also makes you more productive and offers you more choices than when you were working alone. In addition, you learn to organize and coordinate with teams and ultimately produce a better result.

Picking The Right Programming Language for Your Application

Programming languages are a critical aspect of the application development process. The language is what allows you to instruct the technology in a way the computer understands. However, choosing the right programming language for your application is often a big dilemma. There are a lot of programming languages to choose from, like JavaScript, C++ and PHP, to name just a few. There are several other factors as well, such as security and maintainability, which must be considered.

What is Migration in Rails?

Migration in Rails is a tool that allows the developer to use Ruby to change an application's database schema. Instead of using SQL scripts, we use Ruby code, which is database independent, so it is easy to move the application to a completely new platform. We define these database changes in domain-specific language (DSL), and these migrations can be rolled back and managed along with the application source code.

How to Resolve NameError: Uninitialized Constant in Ruby

A NameError is raised when a referenced variable or a constant, such as a module, a class, or a constant variable, isn't defined or is invalid. The Uninitialized Constant error is a variation of the NameError exception class and has several reasons to occur. When this error occurs, several class names appear in place of Something.

Easy by Design: A Digital-First Approach to Insurance Distribution Management

When a leading office supply chain coined the phrase “That was easy!” in an iconic 10-year-long ad campaign, that simple idea resonated with people everywhere. And that’s no coincidence. None of us wants our daily tasks to be labor-intensive, time-consuming, or complicated. The same is true in the world of insurance. To drive growth, insurers need to make it easy for agents and brokers.