[Netty core technology and source code analysis] 02 Netty core module components

1 Bootstrap,ServerBootstrap Bootstrap means boot. A Netty application usually starts with a bootstrap. Its main function is to configure the entire Netty program and connect various components in series. The bootstrap class in Netty is the startup boot class of the client program, and the ServerBootstrap is the startup boot class of the se ...

Added by jdashca on Thu, 27 Jan 2022 08:30:24 +0200

Redis implements distributed caching

Redis implements distributed caching IDistributedCache,StackExchangeRedis Redis learning tutorial: Windows installs redis and sets the redis service to start automatically: https://blog.csdn.net/qq_40732336/article/details/122653953 Redis Chinese website https://www.redis.net.cn/ Build a Redis cluster in master / slave mode https://blog.cs ...

Added by jamesjohnson88 on Wed, 26 Jan 2022 14:15:33 +0200

Ray distributed simple tutorial

This tutorial will introduce the core functions of Ray. Ray provides Python and Java API s. To use ray in Python, first install ray using the following command: pip install ray. To use ray in Java, first add ray API and ray runtime dependencies to your project. Then we can use ray to parallelize your program. Only Python API s are used here. ...

Added by crazycaddy on Wed, 26 Jan 2022 03:54:19 +0200

9 distributed ID generation methods

1, Why use distributed ID S? Before talking about the specific implementation of distributed ID, let's briefly analyze why we use distributed ID? What characteristics should distributed IDS meet? 1. What is distributed ID? Take MySQL database as an example: When our business data volume is small, single database and single table can fully s ...

Added by tvaughan77 on Tue, 25 Jan 2022 14:31:34 +0200

Distributed cluster architecture scenario optimization solution: distributed ID solution

Distributed cluster architecture scenario optimization solution: distributed ID solution Distributed ID solution Why do I need a distributed ID (globally unique ID in a distributed cluster environment) 1. UUID (available) UUID refers to universal unique identifier, which is a universal unique identifier when translated into Chinese The o ...

Added by madan koshti on Tue, 25 Jan 2022 12:14:02 +0200

Spring cloud: Eureka service registration and discovery

I. Introduction to Eureka According to the official introduction: Eureka is a REST (Representational State Transfer) based service that is primarily used in the AWS cloud for locating services for the purpose of load balancing and failover of middle-tier servers. Eureka Is based on REST Services, mainly in AWS Use in the cloud, Location serv ...

Added by vahidi on Tue, 25 Jan 2022 07:27:19 +0200

Doris partition cache

Partition cache Demand scenario Most data analysis scenarios write less and read more. The data is written once and read more frequently. For example, the dimensions and indicators involved in a report are calculated at one time in the early morning, but there are hundreds or even thousands of page accesses every day. Therefore, it is very su ...

Added by ph3n0m on Mon, 24 Jan 2022 22:50:10 +0200

Isn't ES fragrant? Why do you want ClickHouse?

" Elasticsearch is a real-time distributed search and analysis engine. Its bottom layer is built on Lucene. In short, Lucene has distributed functions by expanding its search capabilities. ES usually provides end-to-end log / search analysis together with the other two open source components Logstash (log collection) and Kibana (dashboard ...

Added by shalinik on Mon, 24 Jan 2022 15:50:02 +0200

redis cluster summary and sentry explanation

redis cluster summary and sentry explanation Why cluster 1. A single redis is unstable. When the redis service goes down, there are no available services. 2. The reading and writing ability of a single redis is limited redis master-slave replication There is only one Master node, and there can be multiple Slave nodes As long as the ne ...

Added by billkom on Sun, 23 Jan 2022 21:52:22 +0200

[sleepy town] explore RabbitMQ -- actual Rabbitmq Client

order There are two common clients related to rabbitmq development: the native API, com rabbitmq. The other is the springboot integration package org springframework. amqp. The latter encapsulates some technical details in the form of spring (annotation), which is easier to use, such as adding functions such as connection / channel management ...

Added by busin3ss on Sun, 23 Jan 2022 21:16:52 +0200