Home » Tag Archives: Microservices

Tag Archives: Microservices

The Hardest Part of Microservices: Calling Your Services

You’re probably saying “Wait. You already wrote a blog telling me the hardest part of microservices was my data. So what is the hardest part? That? or Calling your services?” There are lots of hard parts of microservices, actually. The blogosphere/conferencesphere/vendorspehere tends to romanticize microservices but from the technology perspective, we’re building distributed systems. And distributed systems are hard. I ...

Read More »

From Macro to Microservices: Jumpstarting Your Transition

In my last article, we went through the reasons why changing from macro to microservices might be a good idea. In this one, we get to the real stuff: How a facade proxy should function to start replacing your old services and/or introducing new ones the easy way, and then how to deploy it to AWS inside a Docker container. ...

Read More »

Microservices Series: MicroProfile and Apache TomEE

java-interview-questions-answers

Introduction MicroProfile is an initiative started in September 2016 by group of prominent vendors to build a Microservices architecture based on JEE platform. The mission is to optimize Enterprise Java for a Microservices architecture. The developers can make use of this architecture to build and develop Microservices applications in a standardized way using Enterprise Java platform. The API building will ...

Read More »

Security in the Microservices Paradigm

One of the least glamorous aspects of implementing a Microservices architecture is the security. It’s not fun or cool when compared to things like the circuit breaker or service discovery, yet it is a critical piece of the ecosystem especially in an enterprise setting. I’m working on a large Microservices project for a healthcare enterprise on the East Coast. One ...

Read More »

Microservices in the Chronicle World – Part 5

In this part we look at putting a micro service together as a collection of services, and consider how we can evaluate the performance of these services. We introduce JLBH (Java Latency Benchmark Harness) to test these services. Building a Service Wrapper. For more complex services, we use an EventLoop in Chronicle Threads to manage multiple concurrent tasks. In this ...

Read More »

Microservices in the Chronicle world – Part 4

A common issue we cover in our workshops is, how to restart a queue reader after a failure. The answer is not a simple as you might think.               Tip We do an on-site one week workshop to help kick start a new project, with a look at ensuring the infrastructure has a good ...

Read More »

Microservices in the Chronicle World – Part 3

One of the problems with using microservices is performance. Latencies can be higher due to the cost of serialization, messaging and deserialization, and this reduces throughput. In particular, poor throughput is a problem because the reason we are designing a scalable system is to increase throughput. In Part 2 we saw how we can take a component and add a transport ...

Read More »

Microservices in the Chronicle world – Part 2

In this part we look at turning a component into a service. In Part 1, we looked at how we can easily create and test components which expect asynchronous messages in and produce asynchronous messages out. However, how do we turn this into a service? Turning our components into a service. The key thing which is missing from our components is ...

Read More »

Microservices in the Chronicle world – Part 1

At a high level, different Microservice strategies have a lot in common. They subscribe to the same ideals. When it comes to the details of how they are actually implemented, they can vary. Microservices in the Chronicle world are designed around: Simplicity- simple is fast, flexable and easier to maintain. Transparency- you can’t control what you don’t understand. Reproduceablity- this ...

Read More »

Want to take your Java skills to the next level?

Grab our programming books for FREE!

Here are some of the eBooks you will get:

  • Spring Interview QnA
  • Multithreading & Concurrency QnA
  • JPA Minibook
  • JVM Troubleshooting Guide
  • Advanced Java
  • Java Interview QnA
  • Java Design Patterns