Enhanced ActiveRecord preloading
In this guide, I'd like to share with you tips and tricks about ActiveRecord preloading and how you can enhance it to the next level.
Server-side web application framework written in Ruby under the MIT License
In this guide, I'd like to share with you tips and tricks about ActiveRecord preloading and how you can enhance it to the next level.
N1Loader is designed to provide a simple way for avoiding N+1 issues
of any kind. Gladly, it's super easy to integrate with your GraphQL
API. Without further delay, let's look at a simple but yet detailed
example.
Thousands of new online businesses created daily. Dozens of different platforms work like real mega plants to meet the needs of humanity. In recent years, the Shopify occupies a leading position in the market and continues to gain momentum. Shopify's functionality is expanding rapidly, but sometimes even it's not enough. We want to show how you can integrate the accounting Netvisor to your newly made e-shop and what benefits you get at it.
Based on practice, even the simplest data analysis can lead to a significant reduction in CPA. Advertising campaigns on Facebook are no exceptions and need to be optimized over time. Often under optimization, you can see experiments with different types of audiences and targeting. If you want to get more conversions within the same budget, then you should pay attention to a few crucial points that we will consider in this article.
Ruby programmers around the world are participating in an increasing number of conferences where they gather to share reports on unfinished projects, discuss the future of Ruby, and welcome newcomers to the community. At such conferences, new ideas are born and a lot of inspiration comes for real masters of their craft. Let's take a look at the list of the main events of the Ruby community.
Custom development is different from commercially distributed software or existing open source software. Individual development either creates a new application or expands the functionality of an existing one and can be executed by its own or third-party developers.
How do you know that it’s time for you to launch your online marketplace? When do you see the necessity to provide the ultimate clear and fast “brand – consumer” communications? The point of an online marketplace is to grow customers loyalty by offering them an ever-expanding range of products.
A brand, whether online or not, must use its reputation and expertise to make its marketplace successful.
Let's take a look at the benefits of marketplaces and the reliability of Ruby on Rails as the strongest development tool.
Choosing between Node.js and Ruby on Rails, when choosing a development platform, is a core decision. That affects how the project unfolds over time, and how much server resources will be needed. Both languages can support web applications of high complexity, but each has its advantages and disadvantages. Knowledge of these pros and cons will help to choose the best solution for the proposed project. Let's analyze in more detail and tell you about our choice and experience.
The manual work of the accountant went into oblivion. Today everyone makes machines, but, of course, controlled by a specialist. Although in our last project we have carefully worked on the topic of artificial intelligence and some accounting operations can already occur with little or no human intervention. Let's look at what systems we attracted, and what exactly was done to save time on daily routine operations.
E-commerce today has become so frequent that it has become almost a standard chain of stores, where most people make purchases. But even online stores are trying to save money by becoming drop shippers and more working on additional implementations, rather than on the maintenance and payment of huge storage spaces.
Development in its pure form is not only writing code, but also a number of manipulations that are necessary for its correct and timely work. Testing in development takes the lion's share of both time and resources, but proper testing will bring only time savings and the best result for the client.
Many corporations today only a few years ago started their business with MVP. The only MVP allows you to take a look in a very short period how your business will move. By this way, you can notice at the first reaction of the target audience, see all the shortcomings, and exactly decide how to proceed further: develop the idea and invest in or completely modify it in an absolutely different product.
Good content makes customers loyal, forms a positive brand image, and raises sales in the long term. But it only works if content reaches its target audience. To bring together prospective clients and relevant messages content marketing platforms are used. Learn how they can improve campaigns of marketing agencies, media buyers, and companies.
As Senior Software Engineer at company building messaging platform for healthcare industry I am responsible, including other duties, for performance of our application. We develop pretty standard web-service using Ruby on Rails application for business logic and API, React + Redux for users' facing single page application, as database we use PostgreSQL. Common reasons for performance problems in similar stacks are heavy queries to database and I would like to tell the story how we applied non-standard but fairly simple optimisations to improve performance.
Our business operates in US, so we have to be HIPAA compliant and follow certain security policies, security audit is something that we are always prepared for. To reduce risks and costs we rely on a special cloud provider to run our applications and databases, very similar to what Heroku does. On one hand it allows us to focus on building our platform but on the other hand it adds an additional limitation to our infrastructure. Talking shortly — we cannot scale up infinitely. As a successful startup we double number of users every few month and one day our monitoring told us that we were exceeding disk IO quota on the database server. Underlying AWS started throttling which was resulting in a significant performance degradation. Ruby application was not capable to serve all incoming traffic because Unicorn workers were spending too much time awaiting for database's response, customers were unhappy.