Tag

Service

0 views collected around this technical thread.

Architect's Guide
Architect's Guide
May 25, 2025 · Backend Development

Integrating Elasticsearch with MySQL in a Spring Boot Backend: Technical Selection, Common Package, Repository, Mapper, and Service Implementation

This article explains how to combine Elasticsearch and MySQL in a Spring Boot backend by selecting the technology stack, creating a shared Elasticsearch package, defining ES and MySQL entity classes, implementing repository and mapper interfaces, writing service logic, and demonstrating query testing.

ElasticsearchJavaMySQL
0 likes · 17 min read
Integrating Elasticsearch with MySQL in a Spring Boot Backend: Technical Selection, Common Package, Repository, Mapper, and Service Implementation
Java Tech Enthusiast
Java Tech Enthusiast
Nov 3, 2024 · Backend Development

Using @Service to Replace @Controller in Spring Boot

In Spring Boot, a class annotated with @Service can act as a web controller if it is discovered by component scanning and carries @RequestMapping (or method‑level mapping) annotations, allowing HTTP requests to be handled just like a traditional @Controller‑annotated bean.

AnnotationsControllerDependencyInjection
0 likes · 7 min read
Using @Service to Replace @Controller in Spring Boot
macrozheng
macrozheng
Oct 22, 2024 · Backend Development

Can @Service Replace @Controller in Spring Boot? A Deep Dive

This article explores whether the @Service annotation can replace @Controller in Spring Boot, demonstrates a working example, explains the underlying bean registration process, and clarifies how Spring’s component scanning and request mapping enable such unconventional usage.

AnnotationsControllerJava
0 likes · 8 min read
Can @Service Replace @Controller in Spring Boot? A Deep Dive
Architecture Digest
Architecture Digest
Oct 10, 2024 · Backend Development

Using @Service to Replace @Controller in Spring Boot: Principles and Example

This article examines whether the @Service annotation can replace @Controller in Spring Boot by presenting a functional example, explaining the component‑scanning and request‑mapping mechanisms that allow a @Service‑annotated class to handle HTTP requests just like a controller.

AnnotationsControllerJava
0 likes · 7 min read
Using @Service to Replace @Controller in Spring Boot: Principles and Example
Top Architect
Top Architect
Jun 18, 2024 · Backend Development

Application Layering and Domain Model Conversion: Best Practices and Alibaba Specification

This article explains the importance of clear application layering, compares Alibaba's multi‑layer architecture with optimized practices, details the conversion between various domain models (DO, DTO, BO, AO, VO, Query), and provides guidelines for maintaining clean responsibilities across Controller, Service, Manager, and DAO layers.

Servicearchitecturebackend
0 likes · 12 min read
Application Layering and Domain Model Conversion: Best Practices and Alibaba Specification
Cloud Native Technology Community
Cloud Native Technology Community
May 23, 2024 · Cloud Native

Kubernetes Service Network Mechanisms: Overview, Access Methods, Container Networking, Service Types, DNS, kube-proxy Modes, Source IP Preservation, and Ingress

This article provides a comprehensive guide to Kubernetes Service networking, covering container network models, intra‑ and inter‑node pod communication, Service‑Pod relationships, Service types (ClusterIP, NodePort, LoadBalancer, ExternalName), CoreDNS resolution, kube‑proxy operating modes, source IP preservation strategies, and Ingress handling.

CloudNativeDNSIngress
0 likes · 27 min read
Kubernetes Service Network Mechanisms: Overview, Access Methods, Container Networking, Service Types, DNS, kube-proxy Modes, Source IP Preservation, and Ingress
Aikesheng Open Source Community
Aikesheng Open Source Community
May 9, 2024 · Operations

Troubleshooting systemd MySQL Service Hang Caused by Premature kill -9 in Forking Mode

This article analyzes an intermittent failure where a MySQL instance managed by systemd in forking mode hangs because an automated test prematurely kills the newly created mysqld process, leading to a missing MAIN PID and a zombie process, and provides investigation steps and a practical fix.

ForkingLinuxMySQL
0 likes · 10 min read
Troubleshooting systemd MySQL Service Hang Caused by Premature kill -9 in Forking Mode
Top Architect
Top Architect
Feb 1, 2024 · Backend Development

Best Practices for Application Layering in Backend Development

This article explains the importance of proper application layering in backend development, outlines Alibaba’s recommended layer structure, suggests optimizations for service and manager layers, describes domain model conversions such as DO, DTO, BO, and concludes with best‑practice recommendations for maintainable, clear‑boundary code.

Servicearchitecturebackend
0 likes · 11 min read
Best Practices for Application Layering in Backend Development
System Architect Go
System Architect Go
Dec 30, 2023 · Cloud Native

How External HTTP/HTTPS Requests Reach Containers in a Kubernetes Cluster

This article explains the end‑to‑end path that an external HTTP or HTTPS request follows—from the client through DNS resolution, load balancer, ingress controller, service routing, and finally to the target container inside a Kubernetes pod—while also covering optional variations and the underlying network components.

HTTPIngressKubernetes
0 likes · 7 min read
How External HTTP/HTTPS Requests Reach Containers in a Kubernetes Cluster
Architecture Digest
Architecture Digest
Nov 16, 2023 · Backend Development

Structuring Session‑Based Scene Data with MyBatis in Java

This article explains how to redesign a JSON payload that repeats a sessionId for each scene by moving the sessionId to the outer level and using MyBatis resultMap with a collection to map a Session object containing a list of Scene objects, including Java entity definitions, mapper XML, service, and controller code.

ControllerJavaMapper
0 likes · 5 min read
Structuring Session‑Based Scene Data with MyBatis in Java
Test Development Learning Exchange
Test Development Learning Exchange
Nov 5, 2023 · Cloud Native

Introduction to Kubernetes Core Concepts, Networking, Services and Workloads

This article provides a comprehensive overview of Kubernetes, covering its core components such as Nodes, Pods, Services, Namespaces, Deployments, StatefulSets, Jobs and CronJobs, as well as detailed explanations of Pod networking, Service types (ClusterIP, NodePort, LoadBalancer) and practical YAML examples for each resource.

Container OrchestrationDeploymentJob
0 likes · 16 min read
Introduction to Kubernetes Core Concepts, Networking, Services and Workloads
Practical DevOps Architecture
Practical DevOps Architecture
Sep 21, 2023 · Cloud Native

Understanding Kubernetes Ports: Port, NodePort, TargetPort, and ContainerPort

This article explains the four Kubernetes port types—Port, NodePort, TargetPort, and ContainerPort—their distinct roles in service exposure, internal pod communication, and how they are configured using YAML manifests.

KubernetesPortsService
0 likes · 3 min read
Understanding Kubernetes Ports: Port, NodePort, TargetPort, and ContainerPort
Aikesheng Open Source Community
Aikesheng Open Source Community
Aug 10, 2023 · Cloud Native

Understanding Kubernetes Service: Definition, Purpose, and Working Mechanism

This article explains what a Kubernetes Service is, why it is needed, how to create one with a Deployment, and details the internal workings of Service controllers, Endpoints, and kube-proxy using iptables and ipvs modes.

EndpointIPVSKubernetes
0 likes · 12 min read
Understanding Kubernetes Service: Definition, Purpose, and Working Mechanism
Top Architect
Top Architect
Jul 10, 2023 · Backend Development

Best Practices for Application Layering in Backend Development

This article explains the importance of clear application layering, describes Alibaba's recommended layer structure, proposes an optimized layering model, discusses domain model conversions across layers, and summarizes how proper layering improves code maintainability and reuse in backend systems.

JavaLayered ArchitectureService
0 likes · 11 min read
Best Practices for Application Layering in Backend Development
Architect's Guide
Architect's Guide
Apr 11, 2023 · Backend Development

General Architecture Overview and Implementation for Scalable Applications

This article presents a comprehensive, adaptable three‑tier architecture—gateway, business, and foundation layers—detailing how to evolve from simple LAMP or SSH structures to a scalable system that cleanly separates protocol handling, service logic, and data components.

DesignServicearchitecture
0 likes · 12 min read
General Architecture Overview and Implementation for Scalable Applications
Top Architect
Top Architect
Mar 11, 2023 · Backend Development

General Architecture Overview and Implementation for Backend Systems

The article presents a practical, layered backend architecture—including gateway, business, and foundation layers—designed to replace simple early‑stage setups, improve maintainability, and handle various protocols such as HTTP and TCP while offering reusable components and technical guidelines.

DesignServicearchitecture
0 likes · 13 min read
General Architecture Overview and Implementation for Backend Systems
Code Ape Tech Column
Code Ape Tech Column
Feb 8, 2023 · Backend Development

Enhancing MVC Architecture with a Manager Layer in Java

The article explains the classic three‑layer MVC pattern, its shortcomings in complex Java projects, and proposes adding a Manager layer to separate generic business processing, reduce transaction scope, and improve code organization, illustrated with Spring‑based code examples.

JavaMVCService
0 likes · 9 min read
Enhancing MVC Architecture with a Manager Layer in Java
IT Architects Alliance
IT Architects Alliance
Feb 6, 2023 · Cloud Native

What Is Kubernetes and Why Is It Hard to Get Started?

This article introduces Kubernetes as a Google‑originated container‑based distributed cluster management system, explaining its architecture, core components such as Master, Nodes, Pods, Services, etcd, and detailing how communication, scheduling, storage, external access, scaling, and controller coordination work together.

Container OrchestrationDistributed SystemsKubernetes
0 likes · 8 min read
What Is Kubernetes and Why Is It Hard to Get Started?
Efficient Ops
Efficient Ops
Dec 20, 2022 · Cloud Native

Understanding Kubernetes Pods, Services, and Load Balancing Basics

This article explains Kubernetes pod architecture, networking, external exposure, and how Services use virtual IPs and selectors to provide load balancing and dynamic discovery of pod changes, including the role of kube-proxy and the limitations of using Nginx for pod-level balancing.

KubernetesPodsService
0 likes · 8 min read
Understanding Kubernetes Pods, Services, and Load Balancing Basics