Home » Tag Archives: Microservices

Tag Archives: Microservices

Global Data Consistency in Distributed (Microservice) Architectures

software-development-2-logo

I’ve published a generic JCA resource adapter on Github available from Maven (ch.maxant:genericconnector-rar) with an Apache 2.0 licence. This let’s you bind things like REST and SOAP web services into JTA transactions which are under the control of Java EE application servers. That makes it possible to build systems which guarantee data consistency, with as little boiler plate code as ...

Read More »

INTERSECT – the Underestimated Two-Way IN Predicate

software-development-2-logo

Have you ever wondered how you could express a predicate that “feels” like the following, in SQL: WHERE Var1 OR Var2 IN (1, 2, 3) /u/CyBerg90 has, on reddit. The idea was to create a predicate that yields true whenever both values Var1 and Var2 yield either 1, 2, or 3. The canonical solution The canonical solution would obviously be ...

Read More »

Don’t jump on the microservices bandwagon

software-development-2-logo

A couple of weeks ago I was very fortunate to be able to attend the excellent GOTO Amsterdam conference. One of the tracks was all about microservices and since the company that I’ve been working for as a contractor for the last year is struggling to move to a (micro)service architecture, of course I just had to attend most of ...

Read More »

Using HAProxy as a reverse proxy for AWS microservices

devops-logo

Amazon’s EC2 micro instances offer a very affordable option for hosting a Docker-based micro-services architecture. Each micro instance can host several Docker containers.  For example, you may have a simple Node.js-based web application that you would like exposed as subdomain1.myhost.com and another Java/Tomcat webapp surfaced at subdomain2.myhost.com. Each could be hosted through a separate (and perhaps clustered) Docker container, with ...

Read More »

Exploring Microservices Architecture on Heroku

heroku-logo

Building an application with a microservice architecture is an excellent long-term decision if you can afford the increase in upfront time investment to do it properly. Heroku provides a platform that most developers know for simple deployment, but it also dramatically simplifies microservices architecture. What are these “microservices” of which you speak? If you’ve been around web development before the ...

Read More »

The Real Success Story of Microservices Architectures

software-development-2-logo

We hear the benefits of microservices architectures loud and clear; we hear the constant drum beat of how/why/by all means/etc you should be doing microservices; we know companies such as Amazon, Netflix and Gilt have successful microservices architectures. However, as I’ve touched on in my blog post titled You’re not going to do microservices, getting microservices right – and being ...

Read More »

Microservices and DevOps Journey at Wix

devops-logo

Wix.com started their journey on DevOps and Microservices about two years ago and recently switched from a monolithic application to a microservices-based application. Yes, it took them full two years to complete the transition from monolith to microservices! I got connected with Aviran Mordo (@aviranm), head of backend engineering at Wix on twitter.         @arungupta @Valdarez we at @WixEng are ...

Read More »

Learning Spring-Cloud – Writing a microservice

spring-interview-questions-answers

Continuing my Spring-Cloud learning journey, earlier I had covered how to write the infrastructure components of a typical Spring-Cloud and Netflix OSS based micro-services environment – in this specific instance two critical components, Eureka to register and discover services and Spring Cloud Configuration to maintain a centralized repository of configuration for a service. Here I will be showing how I ...

Read More »

ZooKeeper for Microservice Registration and Discovery

apache-zookeeper-logo

In a microservice world, multiple services are typically distributed in a PaaS environment. Immutable infrastructure, such as those provided by containers or immutable VM images. Services may scale up and down based upon certain pre-defined metrics. Exact address of the service may not be known until the service is deployed and ready to be used. This dynamic nature of service ...

Read More »

Monolithic to Microservices Refactoring for Java EE Applications

java-interview-questions-answers

Have you ever wondered what does it take to refactor an existing Java EE monolithic application to a microservices-based one? This blog explains how a trivial shopping cart example was converted to microservices-based application, and what are some of the concerns around it. The complete code base for monolithic and microservices-based application is at: github.com/arun-gupta/microservices. Read on for full glory! Java ...

Read More »
Want to take your Java Skills to the next level?
Grab our programming books for FREE!
  • Save time by leveraging our field-tested solutions to common problems.
  • The books cover a wide range of topics, from JPA and JUnit, to JMeter and Android.
  • Each book comes as a standalone guide (with source code provided), so that you use it as reference.
Last Step ...

Where should we send the free eBooks?

Good Work!
To download the books, please verify your email address by following the instructions found on the email we just sent you.