development

(Part 11)Golang Framework Hands-on – Adaptive Registration of FaaS Parameter Types Based on Reflection

(Part 11)Golang Framework Hands-on – Adaptive Registration of FaaS Parameter Types Based on Reflection

Github: https://github.com/aceld/kis-flowDocument: https://github.com/aceld/kis-flow/wiki Part1-OverViewPart2.1-Project Construction / Basic ModulesPart2.2-Project Construction / Basic ModulesPart3-Data StreamPart4-Function SchedulingPart5-ConnectorPart6-Configuration Import and ExportPart7-KisFlow ActionPart8-Cache/Params Data Caching and Data ParametersPart9-Multiple Copies of FlowPart10-Prometheus Metrics StatisticsPart11-Adaptive Registration of FaaS Parameter Types Based on Reflection To be continued. Next, we will enhance the Function in KisFlow to better focus on processing business data. We will change the previous Function implementation: func FuncDemo3Handler(ctx context.Context, flow kis.Flow) error { fmt.Println("---> Call funcName3Handler ----") fmt.Printf("Params = %+vn", flow.GetFuncParamAll()) for _, row := range flow.Input() { str := fmt.Sprintf("In FuncName = %s, FuncId = %s, row = %s", flow.GetThisFuncConf().FName, flow.GetThisFunction().GetId(), row) fmt.Println(str) }…
Read More
InstantClick (Turbo-Prefetch) in Rails 8: A Quick Guide

InstantClick (Turbo-Prefetch) in Rails 8: A Quick Guide

Introduction Ruby on Rails 8 introduces several exciting features aimed at enhancing the developer experience and improving application performance. One such feature is InstantClick (Turbo-Prefetch), which significantly speeds up page navigation by preloading pages before the user clicks on links. In this blog post, we will demonstrate what InstantClick does, explain why you should use it, and show you how to disable it if necessary. What is InstantClick (Turbo-Prefetch)? InstantClick (Turbo-Prefetch) is a feature that leverages the power of Turbo (formerly TurboLinks) to preload pages when the user hovers over a link, making page transitions nearly instantaneous. This prefetching mechanism…
Read More
Hello, DEV Community! I’m Makda Nebyu

Hello, DEV Community! I’m Makda Nebyu

Hello everyone! My name is Makda Nebyu. I’m a 3rd-year software engineering student at Wachamo University and a photo model. I’m excited to join the DEV Community and share my journey, projects, and knowledge with all of you. I have certificates in: JavaScript Web Design Python Computer Basic Skills Work Skills Here are some of the projects I've worked on: Student Result Management System Description: A web application to manage and track student results. Technologies used: C++ Clinic Management System Description: A system to streamline clinic operations and manage patient data. Technologies used: JavaScript, HTML, CSS, MySQL. Library Inventory System…
Read More
My Journey into Backend Development

My Journey into Backend Development

I remember after I got my laptop, I dove into backend development immediately. Little did I know that there were some “interesting” challenges ahead.My name is Chris Friday, and I am a Python programmer and an aspiring Backend engineer. I have been into backend development for almost two months, and I honestly must confess it’s quite amazing and thrilling to make a website come to life with a brilliant use of logic, database manipulations, and all the nitty-gritty of backend stuff.I remember very vividly when I was working on a Trip app project using Django, and I ran into a…
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
No widgets found. Go to Widget page and add the widget in Offcanvas Sidebar Widget Area.