Vladimir Djurovic

rest api authentication icon

REST API authentication options with Spring Boot – Basic and Digest

When building your API, one of the most important things to consider is security. In this post, I discuss various REST API authentication options which can be implemented using Spring Boot. Spring Boot is a great choice for implementing REST API in Java, and one of my favorite frameworks. By leveraging Spring Boot, we can …

REST API authentication options with Spring Boot – Basic and DigestRead More »

rest api client cache

REST API: Improve performance with client side caching

[icegram campaigns=”258″] When developing REST API, there imminently comes a time when you need to think of performance. Usually, the first option that comes to mind is to use some kind of caching mechanism to improve performance.  Caching can dramatically improve performance of database operations, which are usually the biggest bottleneck in web applications. However, …

REST API: Improve performance with client side cachingRead More »

Microservices: Caching with Redis and Memcached

This is the last part in our series about microservices development with Spring Cloud. In the last part, we discussed how to add performance metrics to microservices. Today, we’ll see how to actually improve performance using cache. Caching in microservices with Spring Spring framework provides a feature called cache abstraction. It’s s set of annotations …

Microservices: Caching with Redis and MemcachedRead More »

microservices metrics icon

Microservices with Spring Cloud : Metrics and Monitoring

We’re nearing the end of our series about microservices with Spring Cloud. In the last post, we’ve seen how to implement logging in microservices. Today, we’ll cover metrics and monitoring. Why do we need metrics? After your service is developed and tested, the most important step remains: deploying it to the real world. This step …

Microservices with Spring Cloud : Metrics and MonitoringRead More »

Microservices platform with Spring Cloud – part 4

So far in the series, we have pretty good distributes system up and running. We’ve seen how to set up basic infrastructure, how to perform reliable communication between services, and how to expose services to the outside world. We used pretty simple examples, but they represent the principle that would be use in real world …

Microservices platform with Spring Cloud – part 4Read More »

Microservices platform with Spring Cloud – part 3

Today we continue with our work on creating  microservices platform based on Spring Cloud.  In the previous post, we’ve seen how to achieve reliable communication between service. Now, we’re taking our system one step further, and we’ll see how we can allow outside world to access our services. Normally, microservices are deployed on some kind …

Microservices platform with Spring Cloud – part 3Read More »

Microservices platform with Spring Cloud – part 2

In the previous post, we managed to set up simple microservices infrastructure, and create two simple services. In this post, we will see how microservices can call each others to perform some useful tasks. What is the problem? Microservices system is a highly volatile environment. Services run on different machines on the network, and they …

Microservices platform with Spring Cloud – part 2Read More »

Microservices platform with Spring Cloud – part 1

This is the first post in a series I intend to write about developing a complete platform based on microservices. This series will focus on implementing complete platform, including individual services ans supporting tools, such as logging, monitoring, security etc. In the series, we will use Spring Boot framework, along with Spring Cloud,  for building …

Microservices platform with Spring Cloud – part 1Read More »

Test REST API with unREST – part 2

In the previous post, we’ve seen the basics how to work with unREST. This time, I’ll showcase some advanced and (hopefully) more interesting features it has. Sending request body With HTTP POST requests, you usually need to send some data as request body, usually JSON. unREST provides convenient ways to add this data:

In …

Test REST API with unREST – part 2Read More »