一个关于微服务架构和monolithic架构的讨论

本文涉及的产品
服务治理 MSE Sentinel/OpenSergo,Agent数量 不受限
简介: 一个关于微服务架构和monolithic架构的讨论

As you mentioned Orchestra just acts as a router, and I prefer to call it as “API gateway”, or the one in “Facade design pattern”. Every time when we introduce a new micro service, the service has to first register itself in Orchestra. Then Orchestra becomes the bottleneck of the whole solution – every micro service has the tight dependency on it. If the orchestra crashes, the whole scenario will not work.

I would assume a typical micro service can provide access to external consumer in a standalone way, which is not true in current design – it is not possible for other consumer to directly call QR code service or Account creation service, which does not look like a real microservice style to me.



image.pngSo can we fine tune the current design a little bit, as I also mentioned during our meeting? That is:


we still keep the WebSocket servers – the Diablo App / Web shop only knows their corresponding web socket servers and that’s all. No microservice is visible to Diablo App or Web shop.

We develop standalone microservice which is consumed by WebSocket server via HTTP.


In this case we still keep the flexibility and extensibility for future.



image.png

相关文章
|
7月前
|
监控 数据管理 API
深入了解微服务架构:从概念到实践
微服务架构是近年来在软件开发领域崭露头角的一种架构范式。它的灵活性和可伸缩性使其成为许多大型企业和创业公司的首选。本文将深入介绍微服务架构的概念、优势、挑战以及实际应用。
|
3月前
|
消息中间件 负载均衡 监控
微服务架构:从概念到实践
微服务架构是一种面向服务的架构风格,旨在将复杂的应用程序拆分成更小、更可管理的部分。本文将介绍微服务架构的概念和原则,并提供一些实践经验和最佳实践。
|
3月前
|
负载均衡 持续交付 微服务
微服务架构的概念与实践
随着互联网应用的快速发展,传统的单体式架构已经无法满足业务需求。微服务架构作为一种全新的解决方案,正在逐渐流行起来。本文将介绍微服务架构的基本概念、特点以及实践技巧,帮助读者更好地理解和应用这一架构模式。
|
3月前
|
运维 监控 持续交付
微服务架构的概念、特点、优缺点以及最佳实践
微服务架构的概念、特点、优缺点以及最佳实践
517 1
|
8月前
|
监控 Java 微服务
微服务架构理论
微服务架构理论
83 0
|
5月前
|
存储 运维 Java
微服务架构基础篇
微服务架构基础篇
|
11月前
|
设计模式 存储 消息中间件
【微服务架构】一文读懂单片到微服务架构的模式和最佳实践
【微服务架构】一文读懂单片到微服务架构的模式和最佳实践
|
11月前
|
存储 消息中间件 SQL
【微服务架构】让我们谈谈“拥有”他们的数据的微服务
【微服务架构】让我们谈谈“拥有”他们的数据的微服务
分布式系统实战:什么是微服务架构?微服务架构与SOA架构的区别
自2014年业界提出“微服务(Microservices)”的概念以来,微服务架构就不断演进,并且日趋火爆。越来越多的企业拥抱微服务,期望通过微服务的架构来解决大型项目的管理与运维。
|
SpringCloudAlibaba 运维 Dubbo
什么是微服务?架构的演变过程
什么是微服务?架构的演变过程
276 0
什么是微服务?架构的演变过程