Granite blog
Check out our latest product updates and find detailed tutorials that will help you unlock the potential of your project with Granite.

Redis Alternatives 2025
Community
Fri, Jan 10, 2025
Redis is usually chosen as a cache because of its speed and versatility, allowing developers to provide users with a faster and smoother experience. But after its license change, many companies are looking for an alternative. In this post, we will take a look at the most popular options for replacing Redis as a cache.

What are Connection Pools and How Do They Help with PostgreSQL?
Community
Tue, Sep 17, 2024
When you're building an application that interacts with a database, you’ll often need to establish a connection to the database each time your application wants to retrieve or store data. This can be slow and resource-intensive, especially if your application needs to interact with the database frequently. This is where connection pooling comes in.

Optimizing Docker Images with Multi-Stage Builds
Community
Mon, Sep 2, 2024
The article demonstrates that multi-stage Docker builds significantly reduce image sizes. A single-stage build results in a 258 MB image, while a multi-stage build shrinks it to 6.35 MB, making multi-stage builds a highly efficient practice.

Microcontainers — Lightweight, Portable Docker Containers
Community
Wed, Aug 28, 2024
Docker packages your application and its dependencies into a single image for use in a container, but these images often become unnecessarily large. For example, a simple Node.js application using an official image can swell to 644 MB, even though the application itself takes up less than 1 MB. Optimizing the image can significantly reduce this excess size. So what can we do to reduce the image size?

Understanding "/24" in "192.168.0.0/24"
Community
Fri, Aug 9, 2024
I'm dealing with this at work right now, and it was really unintuitive for me at first.
So, I'm breaking it down as much as possible for those of you who might not be very familiar with IP addresses.

Docker: Streamline App Development & Deployment
Community
Wed, Aug 7, 2024
Discover how Docker simplifies app development and deployment. Learn to containerize, scale, and manage your applications efficiently with this powerful platform.

The Future of Servers and Infrastructure: Why Docker is Essential for Modern Development and DevOps Practices
Community
Tue, Aug 6, 2024
Discover how Docker revolutionizes modern development with lightweight containers, streamlined workflows, enhanced DevOps collaboration, and robust security. Dive into the future of scalable, efficient, and portable server infrastructure.

Count(*) vs Count(1) in SQL
Community
Sun, Aug 4, 2024
If you've written SQL queries, you've likely encountered both COUNT(*) and COUNT(1) to count rows in a table. But what's the difference between these two, and which one is better to use? Let's explore this in detail.

Understanding the Format of Cron Job Schedules
Tutorials
Tue, Jul 30, 2024
Cron jobs are an essential tool for automating repetitive tasks on Unix-like operating systems. They enable users to schedule scripts or commands to run at specified times and intervals, making system maintenance, data backups, and other routine tasks more manageable. Understanding the format of a cron job schedule is crucial for effectively utilizing this powerful feature.

How to create Dockerfile for NestJS app
Tutorials
Thu, Jul 25, 2024
Today we will Dockerize a Node.js application. We will use Nest.js for today. But the commands and processes are exactly the same for any Node.js application built by some other frameworks.
Be first in line for updates
and special pricing
Get early access to new features and exclusive discounts delivered straight to your inbox