——> Course videos are shared simultaneously on Toutiao and Bilibili This lesson is very important. When you deal with K8S later, most of you will use deployment to publish business services. Let’s follow Brother Bo to learn about the monster deployment. K8s will manage the life cycle of Pods through various Controllers. In order to […]
Tag: stateless
Stateful and stateless services in Kubernetes
Author:rab Directory Preface 1. Stateless service case 1.1 yml case 1.2 Expansion and reduction 1.2.1 Expansion 1.2.2 Shrinking 1.3 Pause and resume 1.3.1 Pause 1.3.2 Recovery 1.4 Rollback 2. Stateful service cases 2.1 yml case 2.2 Expansion and reduction 2.2.1 Capacity expansion 2.2.2 Shrinking Summarize Foreword In Kubernetes (k8s), stateful services and stateless services are […]
How to solve the statelessness of HTTP protocol?
1. The meaning of stateless HTTP protocol 1.1 Stateful Protocol Many common seven-layer protocols are actually stateful, such as the SMTP protocol. Its first message must be HELO, used for handshaking. No other commands can be sent before HELO is sent; AUTH is generally required next. stage is used to verify the user name and […]
Stateless DHCPv6
Stateless DHCPv6 Stateless address auto-configuration (SLAAC) is a feature that enables IPv6 nodes to auto-generate globally unique addresses (GUA) using Route Advertisements messages sent by a router attached to the local segment. However, SLAAC does not provide DNS and Domain name information. To resolve this problem, the router that is sending the RA messages sets […]
c# extension package-Stateless
Preparation Stateless is a finite state machine extension package. It can be installed directly through NuGet in c# projects. To use it, you need to first write all your possible states and sub-states with enumerations. Such as move, crouch, idle, jump, swim, run, walk. Among them, running and walking are sub-states of movement. Then you […]
Stateless state machine–cola stateMachine
1. Introduction cola stateMachine is a state developed by Alibaba master. It may be a simple tool developed in his spare time. This state is very different from spring stateMachine. It has a very excellent feature: Stateless. It may be a bit contradictory to understand. A state machine is stateless, so why is it called […]
SpringSecurity Series 3Based on Spring Webflux and integrating SpringSecurity to realize the permission control of the stateless Rest API separated from the front and back ends
Source Code Portal: https://github.com/ningzuoxin/zxning-springsecurity-demos/tree/master/T02-springsecurity-stateless-webflux 1. Foreword Spring WebFlux is an asynchronous non-blocking web framework that can make full use of the hardware resources of multi-core CPUs to handle a large number of concurrent requests. Spring Security has customized a set of APIs for permission control specifically for Webflux, so integrating Spring Security in Webflux applications […]
Tens of millions of spike system-8. User microservices integrate ABP IdentityServer for stateless login
Domain module integration nuget import <PackageReference Include=”Volo.Abp.Identity.Domain” Version=”4.4.3″ /> <PackageReference Include=”Volo.Abp.IdentityServer.Domain” Version=”4.4.3″ /> Import module in UserDomainModule typeof(AbpIdentityServerDomainModule)//integrate AbpIdentityServerDomainModule EntityFrameworkCore layer introduction nuget package <PackageReference Include=”Volo.Abp.IdentityServer.EntityFrameworkCore” Version=”4.4.3″ /> UserEntityFrameworkCoreModule introduction typeof(AbpIdentityServerEntityFrameworkCoreModule)//AbpIdentityServerEntityFrameworkCoreModule Configuration table generation in UserDbContextModelCreatingExtensions //Create identityServer AbpIdentityServerDbProperties.DbTablePrefix = “”;//Remove table prefix builder. ConfigureIdentityServer(); Using ef to generate related tables Generate user microservices (in […]
[K8S series] In-depth analysis of stateless services
Directory preamble 1. No service introduction 1.1 Advantages 1.2 Usage Scenarios 1.3 Resource Type 1.4 Summary 2 Introduction 2.1 Deployment scenes to be used: 2.2 Replica Sets scenes to be used 2.3 pods Example pod resource definition 2.4 service Create a Deployment: Create a Service: Summarize: 2.5 ingress Install the Ingress controller Create Ingress Rules […]
[Concurrent Programming] [13] [Shared Model Immutable] Date conversion problem Immutable design Stateless
7. Shared model immutability What this chapter is about Use of immutable classes immutable class design stateless class design 7.1 Date conversion issues Ask a question When the following code runs, due to SimpleDateFormat not thread-safe (mutable class) SimpleDateFormat sdf = new SimpleDateFormat(“yyyy-MM-dd”); for (int i = 0; i < 10; i ++ ) {<!– […]