GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - codefarm0/Microservices: Code for microservices which are build with spring boot, micronaut and other available frameworks

BranchesTags
Open more actions menu

Latest commit

 

History

50 Commits
50 Commits

Folders and files

NameName
Last commit message
Last commit date
SpringDataDemo
SpringDataDemo
 
 
ppt
ppt
 
 
profilesDemo
profilesDemo
 
 
propertiesDemo
propertiesDemo
 
 
userManagementApp
userManagementApp
 
 
yamlDemo
yamlDemo
 
 
.gitattributes
.gitattributes
 
 
LICENSE
LICENSE
 
 
Readme.md
Readme.md
 
 
_config.yml
_config.yml
 
 

Repository files navigation

Table of Contents

  • Few Details about microservices
  • Features
  • Note
  • Spring data JPA
  • Communication among microservices in spring boot
    • RestTemplate
    • Feign Client

Few Details about microservices

  • A workshop of software architects held near Venice in May 2011 used the term "microservice" to describe what the participants saw as a common architectural style that many of them had been recently exploring
  • A microservice is not a layer within a monolithic application (example, the web controller, or the backend-for-frontend[9]).
  • Rather it is a self-contained piece of business functionality with clear interfaces, and may, through its own internal components, implement a layered architecture.
  • Microservices is a specialization of an implementation approach for service-oriented architectures (SOA) used to build flexible, independently deployable software systems.
  • The microservices approach is a first realisation of SOA that followed the introduction of DevOps and is becoming more popular for building continuously deployed systems.
  • From a strategy perspective, microservices architecture essentially follows the Unix philosophy of "Do one thing and do it well". Martin Fowler describes a microservices-based architecture as having the following properties
  • Naturally enforces a modular structure.
  • Lends itself to a continuous delivery software development process. A change to a small part of the application only requires rebuilding and redeploying only one or a small number of services.
  • Adheres to principles such as fine-grained interfaces (to independently deployable services), business-driven development (e.g. domain-driven design).

Features

  • It is quite common for such an architectural style to be adopted for

    • cloud-native applications,
    • and applications using lightweight container deployment
    • Robert C. Martin coined the term single responsibility principle which states “gather together those things that change for the same reason, and separate those things that change for different reasons.”
    • A microservices architecture takes this same approach and extends it to the loosely coupled services which can be developed, deployed, and maintained independently. Each of these services is responsible for discrete task and can communicate with other services through simple
    • APIs to solve a larger complex business problem.
  • Service Granularity

    • A key step in defining a microservice architecture is figuring out how big an individual microservice has to be.
    • There is no consensus or litmus test for this, as the right answer depends on the business and organizational context.
    • Amazon's policy is that the team implementing a microservice should be small enough that they can be fed by two pizzas.
    • Many organizations choose smaller "squads" - typically 6 to 8 developers. But the key decision hinges around how "clean" the service boundary can be.
  • Linguistic approach

    • A linguistic approach to the development of microservices, focuses on selecting a programming language that can easily represent a microservice as a single software artifact.
    • When effective, the gap between architecting a project and deploying it can be minimized
  • Technologies

  • Service Mesh

Note

  • Open individual folder inside to know more.

Spring data JPA

  • What is spring Data JPA, CRUDRepository - https://youtu.be/14YYI5DwObg

  • Writting custom query using @query annotation - https://youtu.be/oVKpNP3FcPc

  • What is sorting of data and how to sort in JPA - https://youtu.be/UkuzIjBkbWI

  • What is Paging, slicing and how to execute native sql queries - https://youtu.be/UkuzIjBkbWI

Communication among microservices in spring boot

There are below two ways with which REST services can communicate among themselves -

  • RestTemplate &
  • FeignClient

RestTemplate

  • One place for all videos and example codes - https://github.com/greenlearner01/RestTemplate

Feign Client

  • One place for all videos and example codes - https://github.com/greenlearner01/SpringOpenFeignClient

Circuit Breaker

  • One place for all videos and example code - https://github.com/greenlearner01/CircuitBreaker

Spring cloud

What is spring cloud all about - https://youtu.be/8WGuLpDYx5E

About

Code for microservices which are build with spring boot, micronaut and other available frameworks

Topics

apigroovygroovy-languagejavajava-8java8kotlinmicroservicemicroservicesmicroservices-applicationmicroservices-architecturemicroservices-demomicroservices-examplemicroservices-securitymicroservices-testingrestrest-apirestfull-apispringspring-boot

Resources

Readme
MIT license
Activity

Stars

20 stars

Watchers

2 watching

Forks

25 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.