Chưa phân loại

Four Spring Cloud Projects That You Should Be Using

Richard Seroter's Architecture Musings

Since I’ve moved up to the Seattle-area three years ago, there’s been a hole in my life. No longer. The Habit just opened up around the corner from me. I missed that place! While most of the attention (including my own) is on the Charburger, they actually have a pretty deep menu. I thought about that this week when looking at the latest Spring Cloud portfolio. While it’s used millions of times per month by Java developers —and usage grew 137% over the past year alone—Spring Cloud is best known for its Config Server and packaging of NetflixOSS tech. You know, things for service discovery, load balancing, circuit breakers, etc. THEY DESERVE THE GLORY. But there are four other interesting packages that you shouldn’t overlook.

Spring Cloud Stream

It’s no secret that I’m a big fan of this library. It abstracts away all the complexity of dealing with message…

View original post 659 more words


How should you model your event-driven processes?

Richard Seroter's Architecture Musings

During most workdays, I exist in a state of continuous partial attention. I bounce between (planned and unplanned) activities, and accept that I’m often interrupt-driven. While that’s not an ideal state for humans, it’s a great state for our technology systems. Event-driven applications act based on all sorts of triggers: time itself, user-driven actions, system state changes, and much more. Often, these batch-or-realtime, event-driven activities are asynchronous and coordinated in some way. What options do you have for modeling event-driven processes, and what trade-offs do you make with each option?

Option #1 – Single, Deterministic Process

In this scenario, the event handler is monolithic in nature, and any embedded components are purpose-built for the process at hand. Arguably, it’s just a visually modeled code class. While initiated via events, the transition between internal components is pre-determined. The process is typically deployed and updated as a single unit.

What would…

View original post 1,578 more words


Introduction to Fabric Composer

This article (for CIOs, developers, analysts and IT architects) explains the value proposition and high-level features of Fabric Composer. Fabric Composer (Composer) is an Open Source tool to define, deploy and integrate with business networks. Fabric Composer makes it easy for technical analysts and developers to create business networks that use a distributed-ledger to exchange information. The… Continue reading Introduction to Fabric Composer


Orchestration or Choreography?

For collaboration of microservices, there are two basic styles: orchestration and choreography. In his well-known book “Building Microservices”, Sam Newman wrote: “As we start to model more and more complex logic, we have to deal with the problem of managing business processes that stretch across the boundary of individual services. […] When it comes to actually implementing this flow,… Continue reading Orchestration or Choreography?


Event driven microservices architecture using Spring Cloud

Source: Microservices have been around for some time, microservices architecture decouples large, complex systems into simple, independent services. Our subject today is one of the most awesome  - Event driven microservices architecture. Event-driven architecture is a methodology used to produce, handle events and implement applications where events transmit among decoupled software components and services. Here’s our architecture visualization. Let’s imagine that we… Continue reading Event driven microservices architecture using Spring Cloud