Home / Companies / Couchbase / Blog / Post Details
Content Deep Dive

Refactoring Spring Microservices Apps to work with Couchbase

Blog post from Couchbase

Post Details
Company
Date Published
Author
Pavel Novokshonov, Sr. Solutions Engineer, Couchbase
Word Count
1,442
Language
English
Hacker News Points
-
Summary

Online learning platforms like Udemy offer a variety of courses at affordable prices, including one on deploying microservices to the AWS Cloud using Kubernetes, which features a hands-on project called Fleetman. This application monitors a fleet of trucks by generating and storing geo-positioning data, initially using MongoDB for data persistence. The app is architected with microservices, including a Position Simulator, Position Tracker, and API Gateway, all developed with Spring Boot and Angular frameworks. The author explores migrating Fleetman’s database layer from MongoDB to Couchbase, leveraging Couchbase's features such as N1QL, Analytics, and Eventing to enhance the app's capabilities. The migration process involved updating the Spring Boot libraries, implementing key generation, and configuring Couchbase settings. The author successfully tested the migration locally, with the potential for containerization and deployment on Kubernetes, suggesting further extensions and improvements for the Fleetman application.