Home All Articles Tags About
img

Chris Zhong

Software Engineer

Chris Zhong

Personal Blog

Welcome to my blog


  • Home
  • All Articles
  • Tags
  • About
  1. Debug in Microservices

    Debug in MicroservicesHow to troubleshoot when there is an error in the microservice application?LogWe can use Log to quickly narrow down the space of the error. During development, we can save the log to the local file. If error happens, we can c...…

    2023-06-14
    Microservices
    Expand »

  2. Cascading Failure

    Cascading FailureWhat is Cascading Failure?Cascading failure is a failure that spreads across multiple systems, causing a chain reaction of failures. It is a common problem in distributed systems and can be caused by server overload, software bugs...…

    2023-06-13
    Microservices
    Expand »

  3. Authentication-and-Authorization

    user Authorization in mocroservices1. Single Sign onwhat is SSOSingle sign-on (SSO) allows the user to access multiple services without having to authenticate more than once.This is achieved by storing the user’s authentication information in a tr...…

    2023-06-12
    Microservices
    Expand »

  4. Async (@Async & messaging)

    Async (@Async & messaging)Async programmingExample: suppose prepare the home page, we need 4 independent calls - userInfo(2s), AccountInfo(4s), BillingInfo(1s), UsageInfo(5s). If we execute synchoronously, we have to wait 12s, If we use Async,...…

    2023-06-11
    Microservices
    Expand »

  5. API GateWay

    API GateWayWhy do we need API Gateway?API Gateway is a single entry point for all the microservices.Route requests This is convient for frontend developers to make requests to a single endpoint. The API Gateway will route the request to the approp...…

    2023-06-10
    Microservices
    Expand »

  6. Spring Profile and Jasypt

    What annotation do you use to quickly switch between different environments to load different configurations?@Profile is used to quickly switch between different environments to load different configurations. Add @Profile annotation to the co...…

    2023-04-16
    Spring Framework
    Expand »

  7. Testing in Spring & Code Coverage

    Testing in SpringUnit Test vs Integration TestUnit Test is a test focused on functional groups inside an application, generally we will test backend service layer by layer to make sure all layers and all methods work fine.Integration Test is a tes...…

    2023-04-15
    Spring Framework
    Expand »

  8. Spring Data Repository & JPA

    JPA (Java Persistence API)JPA is a specification of Java. It is used to persist data between Java object and relational database. It doesn’t provide any implementation, so it need a provider to implement it like Hibernate, EclipseLink, TopLink, et...…

    2023-04-13
    Spring Framework
    Expand »

  9. RESTFul API

    RESTFul APIWhat is RESTFul API (Application Programming Interface)?You can think of an API as a mediator between the users or clients and the resources or web services they want to get.What is REST?REST is an architectural style that defines a set...…

    2023-04-12
    Computer Network
    Expand »

  10. REST Controller in Spring

    REST Controller in Spring@RestController VS @Controller@RestController is a convenience annotation that combines @Controller and @ResponseBody. It is used for building RESTful web services that return data in response to HTTP requests in JSON/XML....…

    2023-04-12
    Spring Framework
    Expand »


← Previous 9 / 11 Next →

Copyright © Chris Zhong 2026

Total viewed times