Gentle Introduction to Hystrix - Hello World
In a previous blog post I had covered the motivation for needing a library like Netflix Hystrix. Here I will jump into some of the very basic ways to start using Hystrix and follow it up with more...
View ArticleGentle Introduction to Hystrix - Wrapup
This is a follow up to two other posts - Motivation for why something like Hystrix is needed in a distributed systems and a basic intro to Hystrix.This will be a wrap of my Hystrix journey with details...
View ArticleSpring Cloud support for Hystrix
Spring Cloud project provides comprehensive support for Netflix OSS Hystrix library. I have previously written about how to use the raw Hystrix library to wrap remote calls. Here I will be going over...
View ArticleSpring Cloud Rest Client with Netflix Ribbon - Basics
In an earlier blog post I had covered the different options for a REST client in the Spring Cloud world. All the options wrap around a Netflix OSS based component called Ribbon which handles the...
View ArticleSpring Cloud Rest Client with Netflix Ribbon - Customizations
In an earlier blog post I had covered the basic configuration involved in making a REST call using Spring Cloud which utilizes Netflix Ribbon libraries internally to load balance calls, with basic...
View ArticleJWT - Generating and validating a token - Samples
JWT provides a very interesting way to represent claims between applications that can be verified and trusted. My objective here is to show a small sample to generate and validate a token using the...
View ArticleSpring Cloud with Turbine
Netflix Hystrix has a neat feature called the Hystrix stream that provides real-time metrics on the state of the Hystrix commands in an application. This data tends to be very raw though, a very cool...
View ArticleSpring Cloud Ribbon - Making a secured call
Something simple, but I struggled with this recently - I had to make a Netflix Ribbon based client call to a secured remote service. It turns out there are two ways to do this using Netflix Ribbon, I...
View ArticleMarble Diagrams - Rxjava operators
I love the use of Marble Diagrams for representing the different ReactiveX operations. It really clarifies the behavior of some complex operations. RxJava uses these diagrams in its Javadocs and...
View ArticleSpring Boot with Scala
A while back I had tried out a small Spring Boot based sample with Scala as the language and found that the combination works out quite nicely - no big surprises there actually as Scala programs...
View ArticleSTEM project programming Language Choice - Scala
My daughter Sara who is in 3rd grade and I recently worked together on a school initiated STEM (Science, Technology, Engineering and Math) project and decided to do a programming challenge. I had...
View ArticleSingle Page Angularjs application with Spring Boot and Yeoman
I am very thankful for tools like yeoman which provide a very quick way to combine different javascript libraries together into a coherent application. Yeoman provides the UI tier, if you needed to...
View ArticleFirst steps to Spring Boot Cassandra
If you want to start using Cassandra NoSQL database with Spring Boot, the best resource is likely the Cassandra samples available here and the Spring data Cassandra documentation.Here I will take a...
View ArticleScatter-Gather using Spring Reactor Core
I have a good working experience in using the Netflix Rx-Java libraries and have previously blogged about using Rx-Java and Java 8 CompletableFuture for a scatter-gather kind of problems. Here I want...
View ArticleApproaches to binding a Spring Boot application to a service in Cloud Foundry
If you want to try out Cloud Foundry the simplest way to do that is to download the excellent PCF Dev or to create a trial account at the Pivotal Web Services site. The rest of the post assumes that...
View ArticleSpring Cloud with Turbine AMQP
I have previously blogged about using Spring Cloud with Turbine, a Netflix OSS library which provides a way to aggregate the information from Hystrix streams across a cluster. The default aggregation...
View ArticleCloud Foundry Java Client - Streaming events
Cloud Foundry Java Client provides Java based bindings for interacting with a running Cloud Foundry instance. One of the neat things about this project is that it has embraced the Reactive Stream based...
View ArticleSpring-Reactive samples
Spring-Reactive aims to bring reactive programming support to Spring based projects and this is expected to be available for the timelines of Spring 5. My intention here is to exercise some of the very...
View ArticleSpring Cloud Zuul Support - Configuring Timeouts
Spring Cloud provides support for Netflix Zuul - a toolkit for creating edge services with routing and filtering capabilities. Zuul Proxy support is very comprehensively documented at the Spring Cloud...
View ArticleSpring Cloud Zuul - Writing a Filter
Netflix OSS project Zuul serves as a gateway to backend services and provides support for adding in edge features like security, routing. In the Zuul world specific edge features are provided by...
View Article