Skip to content

a proof of concept of syncing a microservice with a legacy system, based on a simple user micro service

Notifications You must be signed in to change notification settings

Kifah/user_sync_micro_service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Integrating microservices in a monlothic architecture

This project is a proof of concept, on how to effectively integrated new mirco-services into an existing monolithic infrastructure. The microservice``` included are:

  • user_service responsible for creating and handling user processes
  • log_service for logging any information
  • legacy_user_service for handling syncing calls between the old legacy DB and the new mirco-services
  • possible further micro-services like a search service or an accounting services are shown, but not yet implemented.

General Concept

general concept

This project uses the following technologies:

  • docker/docker-compose
  • Kafka
  • php 7.2
  • MySql

It includes the following architecture and software concepts:

  • separation of concerns (through small loosly coupled services)
  • Publish/Subscribe and Messaging system, through Kafka
  • Async processing, for better performance

Getting Started:

you need to have docker-compose installed

then simply run docker-compose up

Todo

  • unit testing
  • concrete CRUD processes in the user_service
  • more complex processing in the legacy_user_service
  • integrate CI/CD through Jenkins or travis-ci

About

a proof of concept of syncing a microservice with a legacy system, based on a simple user micro service

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages