0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

SpringBootでアプリを作成してみた【マイクロサービス開発】

Last updated at Posted at 2023-12-15

What is microservice?

マイクロサービスとは、ソフトウェア開発におけるアーキテクチャパターンの1つで、従来のモノリシックなアプリケーションとは異なり、マイクロサービスアーキテクチャでは、アプリケーションを独立した小さなサービスの集合体として構築する。

Advantages of microservices architecture

  • スケーラビリティ: 個々のサービスを独立してスケールできるので、需要に応じてアプリケーション全体を簡単にスケールできる
  • 開発速度の向上: 各サービスは独立して開発、テスト、デプロイできるので、開発速度が向上
  • 信頼性の向上: サービスが独立しているため、1つのサービスに問題が発生しても、他のサービスに影響を与えない
  • 保守性の向上: 各サービスは独立したコードベースを持つため、保守が容易になる

Things to know

  • Docker / Docker-compose
  • Gradle tool for multiple java modules
  • API gateway(nginx)
  • Message Broker(RabbitMQ)
  • REST API development
  • Deployment, Kubernetes
  • Azure Kubernetes service

API Gatewayの実装

curl -s "https://raw.githubusercontent.com/ryuichi24/spring-boot-microservices/starter-template/init.sh" | bash \ && cd spring-boot-microservices

参考サイト

【マイクロサービス開発】Spring Boot - マイクロサービスについて #0
【マイクロサービス開発】Spring Boot - 完成品のデモ #0.5
【マイクロサービス開発】Spring Boot - API ゲートウェイの実装 #1

0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?