Latest Articles

Springboot and configuration of AWS opensearch

Background:In actual development, for some real-time requirements that are not high and require some aggregated data queries, Elasticsearch is generally used. Its advantages are high query efficiency and the ability to store large amounts of data.We use AWS opensearch in our actual project. In fact, ... More >>

Environment Preparation

Because my needed to develop a Vue component library that could be published to npm and installed via npm, I searched many articles online and finally completed the task. During this process, I encountered many pitfalls, and I’ve organized them here, hoping to help those who may need it. I used Vue ... More >>

Front-end JavaScript Knowledge Base

IntroductionI believe many people, like me, started their journey in front-end development through short-term training programs that last for four or five months. As a result, our grasp of the fundamentals of JavaScript (JS) is quite weak. Although we managed to find jobs, we often encounter problem ... More >>

Mainstream Algorithms in Recommendation Systems

Recommendation systems are information filtering systems designed to suggest potentially interesting content to users based on their preferences and behavioral data. From product recommendations on e-commerce websites to personalized playlists on streaming platforms, recommendation systems have perm ... More >>

How to create a Flutter app

Introduction Flutter is an open source user interface (UI) toolkit developed by Google for building high-performance, beautiful, and smooth mobile applications on multiple platforms. It uses the Dart programming language and provides a wealth of UI components and tools to quickly build modern applic ... More >>

The implement of a simplified version of "promise"

promise Key pointsThe ‘Promise’ object represents an asynchronous operation with three states: ‘pending’ (in progress), ‘fulfilled’ (successful), and ‘rejected’ (failed) A Promise must be in one of the following states: pending: An initial state that is neither cashed nor rejected. fulfilled: The o ... More >>

How to deal with heavy traffic and high concurrenc

The so-called high concurrency refers to: at the same time or within a very short period of time, there are a large number of requests to reach the server, each request requires the server to spend resources to process, and make the corresponding feedback. Commonly used ideas and tools for high conc ... More >>

Understanding Nginx: A Comprehensive Guide

IntroductionNginx (pronounced “engine-x”) is an open-source web server that also functions as a reverse proxy, load balancer, mail proxy, and HTTP cache. Created by Igor Sysoev and publicly released in 2004, Nginx has grown in popularity due to its high performance, stability, rich feature set, simp ... More >>

Usage of UIStackView

In the past, iOS page layout was relatively traditional, and most people used Frame or AutoLayout for layout. After iOS9, UIStackView was introduced. UIStackView is a control for linear layout that can automatically manage subview layout and automatic filling. It draws on the front-end layout algori ... More >>

Android Communication Security

Component Communication SecurityWhat is local denial of service?Before understanding local denial of service, let’s briefly understand denial of service attacks (dos attacks) and distributed denial of service attacks (ddos). The so-called denial of service attack is to occupy all the service threads ... More >>