没有合适的资源?快使用搜索试试~ 我知道了~
首页微服务架构在电商中的应用与实践
微服务架构在电商中的应用与实践
需积分: 9 3 下载量 185 浏览量
更新于2024-07-18
收藏 8.04MB PDF 举报
"《Microservices Architecture for Ecommerce》是一本探讨如何在电子商务领域应用微服务架构的书籍。书中深入分析了微服务为何在现代技术会议和活动中备受关注,以及它们如何从面向服务架构(SOA)发展而来,融入了RESTful接口、NoSQL数据库和事件驱动/反应式设计。本书旨在提供实用且坦诚的信息,提醒读者虽然微服务架构有诸多优点,但也并非万能解决方案,并邀请Spryker公司的联合创始人Alexander Graf在附录中提供了务实而实际的观点。 微服务架构的核心理念是将大型单体应用拆分为小型、独立的服务,每个服务专注于特定业务功能。这样可以提高系统的可伸缩性、容错性和迭代速度。在电子商务领域,软件本身就是公司的核心竞争力,因此快速响应变化和提供无缝多渠道体验变得至关重要。书中讨论了微服务如何助力实现这些目标。 书中的章节涵盖了微服务架构的批评、演进方法和最佳实践,如为每个服务创建独立数据库、依赖于服务间的合同、容器化部署以及将服务器视为易变资源。同时,书中还通过案例研究展示了如何重构单体应用,以及在B2B和移动商务场景下应用微服务。此外,还涉及了分布式系统的基础、设计模式、集成技术、微服务部署、无服务器计算(FaaS)、持续部署等相关技术和模式。 书中还讨论了支持微服务架构的关键技术,如基于微服务的电商平台、分布式日志和监控等。并提供了丰富的博客和资源链接,供读者进一步学习和探索。" 这本书对于想要深入了解微服务如何应用于电子商务领域的读者来说,是一份宝贵的资源,它不仅提供了理论知识,还有实际操作的建议和案例,帮助读者理解和实施微服务架构。
资源详情
资源推荐
17
Evolutionary
approach
Martin Fowler, one of the pioneers³ of microservices used to say:
Almost all the successful microservice stories have started with
a monolith that got too big and was broken up.
Almost all the cases where I've heard of a system that was built
as a microservice system from scratch, has ended up in
serious trouble.
Evolutionary approach
³ https://martinfowler.com/articles/microservices.html
18
Go to Table of Contents
Fig. 2: Initial, monolithic architecture began after 4 years of development of a
large-scale, 100M EUR/yr B2B platform.
When you begin a new application, how sure are you that it will be useful
to your users? Starting with microservices from day one may significantly
complicate the system. It can be much harder to pivot if something didn’t
go as planned (from the business standpoint). During this first phase you
need to prioritize the speed of development to basically figure out what
works.
ERP
ESB
CRM PIM
External Systems
Magento
WMS
...
19
Go to Table of Contents
Fig. 2: Initial, monolithic architecture began after 4 years of development of a
large-scale, 100M EUR/yr B2B platform.
When you begin a new application, how sure are you that it will be useful
to your users? Starting with microservices from day one may significantly
complicate the system. It can be much harder to pivot if something didn’t
go as planned (from the business standpoint). During this first phase you
need to prioritize the speed of development to basically figure out what
works.
ERP
ESB
CRM PIM
External Systems
Magento
WMS
...
Fig. 3: The very same system but after architecture re-engineering; now the system core
is built upon 10 microservices.
Many successful eCommerce businesses (if not all of them!) started from
monolithic, at some point, all-in-one platforms before transitioning into a
service oriented architecture.
Re-engineering the architecture requires a team effort of 6-12 months (18
months in Zalando’s case) - and therefore it should have a solid business
foundation.
Frontend Application Mobile App
Micro Services
Message Broker
PRICE
WMS
PIM
REPORT
CRM
NOTIFY RECOMMENDATION
REVIEW
...
OMS
ERP ...
XYZ Client
API Consumers
External Systems
API Gateway
20
Go to Table of Contents
The most common reasons we’ve seen to initialize a transformation
are the following:
• With four to five years of development, the scope of the system is so
broad that implementing changes in one of the modules affects other
areas and despite having unit-tests, making deep changes to the
system logic is quite risky.
• Technical debt in one system area is accrued to a level at which it’s
extremely hard to resolve without major changes. Performance
challenges exist in the product catalog, pricing/promo rules or central
user database areas.
• There is a need to coordinate separate teams or vendors in a way
which leads to minimal interference between them.
• The system is hard to test and deploy.
• There is a need to implement continuous deployments.
剩余121页未读,继续阅读
chen1527027
- 粉丝: 1
- 资源: 60
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 十种常见电感线圈电感量计算公式详解
- 军用车辆:CAN总线的集成与优势
- CAN总线在汽车智能换档系统中的作用与实现
- CAN总线数据超载问题及解决策略
- 汽车车身系统CAN总线设计与应用
- SAP企业需求深度剖析:财务会计与供应链的关键流程与改进策略
- CAN总线在发动机电控系统中的通信设计实践
- Spring与iBATIS整合:快速开发与比较分析
- CAN总线驱动的整车管理系统硬件设计详解
- CAN总线通讯智能节点设计与实现
- DSP实现电动汽车CAN总线通讯技术
- CAN协议网关设计:自动位速率检测与互连
- Xcode免证书调试iPad程序开发指南
- 分布式数据库查询优化算法探讨
- Win7安装VC++6.0完全指南:解决兼容性与Office冲突
- MFC实现学生信息管理系统:登录与数据库操作
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功