Resara Pamuditha·Jul 26, 2022Circuit breaker PatternThe design pattern known as the circuit breaker pattern is more than that; it also serves as a sustainable pattern that keeps the service…
Resara Pamuditha·Jul 26, 2022Design Patterns for MicroservicesThe three components of the aggregator pattern are the parallel, chain, and branch patterns. Suppose a domain-driven approach can be used…
Resara Pamuditha·Jul 26, 2022Best Practices in MicroserviceWhen creating microservices, there are numerous best practices to follow. When customer service and restructuring services are available…
Resara Pamuditha·Jul 24, 2022Docker and Container based ApplicationsA container is a standard unit of software that packages up code and all its dependencies so the application runs quickly and reliably from…
Resara Pamuditha·Jul 22, 2022Manual message acknowledge on KafkaKafka allows processing messages as batches. The client takes the message as a batch and processes them one by one. After processing the…
Resara Pamuditha·Jul 17, 2022Networking and ThreadsTo connect to another machine, we need a Socket connection. A Socket ( java.net.Socket class) is an object that represents a network…
Resara Pamuditha·Jul 17, 2022Saving ObjectsJava state can be saved in a variety of ways. How the state is used decides how it is saved. Serialization can be used if the created data…