News

Prime Day 2024 early deals: The best savings we could find before Amazon’s July event

Prime Day 2024 early deals: The best savings we could find before Amazon’s July event

Amazon Prime Day 2024 is coming soon, so you still have time to sign up for a free trial of Prime before the shopping event begins. However, in typical Amazon fashion, we’re already starting to see early Prime Day deals pop up. The online retailer has gotten into the habit of teasing early Prime Day deals leading up to the big event, with most of them being available exclusively to Prime members. However, there are always some good tech deals on Amazon available to everyone at the same time. We’ve collected the best early Prime Day deals here so you…
Read More
Monitoring, troubleshooting, and query analytics for PostgreSQL on Kubernetes

Monitoring, troubleshooting, and query analytics for PostgreSQL on Kubernetes

If you are learning about databases and Kubernetes or running or migrating PostgreSQL to Kubernetes, I want to show you a great open-source tool for database monitoring and troubleshooting. I will discuss a tool to help you better understand your database, its parameters, and its health. You can access a Query Analytics tool to help you find slow queries. In addition, you will have dashboards to monitor the Kubernetes cluster itself. In the previous article, I discussed the pgAdmin and PostgreSQL cluster created using Percona Everest. Today, I installed Percona Monitoring and Management (PMM) in my cluster, made some test…
Read More
Strong Performance with EC2, Lambda, and the Momento SDK for Rust

Strong Performance with EC2, Lambda, and the Momento SDK for Rust

I wrote recently about Mind Boggling Speed with Caching with Momento and Rust and wanted to continue in that theme as I explore the Momento SDK for Rust. Caching is a technique that builders reach for when looking to accomplish either improved performance or reduce the burden on resource-dependent parts of an application. It might also be a choice when looking to save costs if an operation is charged per read such as with DynamoDB. In any of those scenarios, caching must be fast. But caching must not also introduce a high amount of complexity. This is where I love…
Read More
7 Books That Make You A Great Tech Lead

7 Books That Make You A Great Tech Lead

This article was originally posted in my blog: https://www.codebymedu.com/blog/7-books-for-tech-lead If you're already a tech lead or are planning to become a tech lead in the future, I've gathered 7 of the books I've read that helped me become a successful tech lead that you must read too. I tried to gather practical books with practical steps in them, so instead of learning theory and forgetting everything afterwards, most of these books focus in practical advice. If you don't know much about tech lead role, it differs a lot from an IC role. You are required to have a vision for…
Read More
React + Vite + Tailwind project

React + Vite + Tailwind project

This guide will help you init a React project with Vite and use Tailwind. Prerequisite Use this command to check your NodeJS version node -v Enter fullscreen mode Exit fullscreen mode Create react project with vite Open your terminal and run the command npm create vite@latest Enter fullscreen mode Exit fullscreen mode It would ask you some question: Project name: Your project name, example: pokemon Select a framework: Choose React Select a variant: Pick TypeScript Then your project is created, open the project by VSCode or your other IDE and install dependencies by this command: npm install Enter fullscreen mode…
Read More
What is Associative Arrays in Computer Science

What is Associative Arrays in Computer Science

In computer science, an associative array, map, symbol table, or dictionary is an abstract data type that stores a collection of (key, value) pairs, such that each possible key appears at most once in the collection. In mathematical terms, an associative array is a function with a finite domain. It supports 'lookup', 'remove', and 'insert' operations. The Dictionary Problem The dictionary problem is the classic problem of designing efficient data structures that implement associative arrays. The two major solutions to the dictionary problem are hash tables and search trees. It is sometimes also possible to solve the problem using directly…
Read More
Scaling databases with AWS RDS and read replicas

Scaling databases with AWS RDS and read replicas

Amazon Web Services (AWS) Relational Database Service (RDS) is a managed service that simplifies the process of configuring, operating, and scaling a relational database in the cloud. AWS RDS is a versatile choice that supports several database engines including PostgreSQL, MySQL, Oracle, MariaDB, Microsoft SQL Server, and Amazon's own Aurora. Advantages of using RDS over a self hosted database Managed Service - AWS RDS is a fully managed service, which means that AWS takes care of provisioning, patching, backup, recovery, and even scaling. This allows developers and database administrators to focus on the application development and optimization rather than managing…
Read More
AWS: Your Ally in Amplifying Reliability with GenAI

AWS: Your Ally in Amplifying Reliability with GenAI

Generative AI, or the Large Language Models, is by far one of the most exciting technologies we have seen. It has far-reaching consequences, impacting various fields. Site Reliability Engineering is currently experiencing its moment, with GenAI revolutionizing operations. I refer to this as SRE 2.0, a new and improved version of SRE powered by GenAI. What really is an LLM? Before delving deeper, let's examine LLMs. A Large Language Model (LLM) is a type of artificial intelligence model developed to process and generate human-like text at scale. These models are trained on vast amounts of text data and can perform…
Read More
How to Scale an Existing Ruby on Rails Product from x to 10x

How to Scale an Existing Ruby on Rails Product from x to 10x

Scaling a Ruby on Rails product, especially one with a messy codebase, is a challenging yet rewarding journey. The key lies in methodically refactoring your codebase, implementing best practices, and optimizing performance. Here’s a roadmap to guide you through this transformation. 1. Identify and Address Code Smells First, focus on the areas with the most significant performance issues and clean up code smells. Setup Tools for Code Cleanup Brakeman: A tool to find security vulnerabilities in your Rails application. Rubycritic: A tool that generates a report of code quality, identifying code smells and complexity. Refactoring Plan Level 1 - Immediate…
Read More
Data Validation is super important, don’t ignore or delay it.

Data Validation is super important, don’t ignore or delay it.

I often encounter backend codebases where data isn't validated before being processed or inserted directly into the database. This can cause serious bugs, as relying solely on your frontend buddy can lead to headaches, ruin the flow, result in unwanted and unexpected data in the database, and make you vulnerable to SQL injection if you are using an SQL database. What's the solution then?I agree that data validation is a must, but it isn't always easy to get right. Here's what you can do: Don't trust anyone. Validating data involves four crucial steps: Check the type. Validate the format. Refine…
Read More
No widgets found. Go to Widget page and add the widget in Offcanvas Sidebar Widget Area.