Intro to Spring Cloud Config Server

java-interview-questions-answers

1. Overview In this tutorial, we will review the basics of Spring Cloud Config Server. We will setup a Config Server and then build a client application that consumes the configuration on startup and then refreshes the configuration without restarting. The application we are building is the same “Hello World” application discussed in the Centralized Configuration Getting Started Guide, but we go ...

Read More »

Running Java in Production: A SRE’s Perspective

As a Site Reliability Engineer (SRE) I make sure our production services are efficient, scalable, and reliable. A typical SRE is a master of production, and has to have a good understanding of the wider architecture, and be well versed in many of the finer details. It is common that SREs are polyglot programmer, expected to understand multiple different languages. ...

Read More »

Microservices Architecture with Java and Docker

Developing and running a Microservices Architecture seems to be a must have, now days. Everybody talking about micro services, how to migrate to micro services or what are the best practice to run them. Listening at those who are not using micro services, it seems that it’s a weird world, where everything works magically with no effort for developers or ...

Read More »

How to deal with exceptions

I recently had a discussion with a friend, who is a relatively junior but very smart software developer. She asked me about exception handling. The questions were pointing to a tips and tricks kind of path and there is definitely a list of them. But I am a believer on context and motivation behind the way we write software so ...

Read More »

Using Trusted Timestamping With Java

Trusted timestamping is the process of having a trusted third party (“Time stamping authority”, TSA) certify the time of a given event in electronic form. The EU regulation eIDAS gives these timestamps legal strength – i.e. nobody can dispute the time or the content of the event if it was timestamped. It is applicable to multiple scenarios, including timestamping audit ...

Read More »

Ring Buffer – a Data Structure Behind Disruptor

Ring Buffer – a Data Structure Behind Disruptor Disruptor is a high-performance library for passing messages between threads, developed and open sourced some years ago by LMAX Exchange company.  They created this piece of software to handle an enormous traffic (more than 6 million TPS) in their retail financial trading platform. In 2010 they surprised everyone how fast their system ...

Read More »

Building a remote controlled car using Android Things GPIO

Android Things GPIO pins are used to interact with external devices. GPIO stands for General Purpose Input Output and it is an interface to read the state of an external device. In this article, we will discover how we can use Android Things GPIO pins to control DC motors building a remote controlled car. At the end of this article, ...

Read More »