知识卡片
多语言服务的取舍
独立进程允许各服务采用适合自身任务的技术栈,例如计算密集处理与复杂业务逻辑可能有不同需求。技术选择自由也需要相应维护能力;语言性能不能脱离实际负载、实现和团队经验单独决定架构优劣。
这张卡片看不懂?
这张卡片的反馈已满 10 条,暂时无法继续提交。
已有反馈 · 0 / 10 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- Monoliths and Microservices · 查看原书依据
Each microservice is an independent service, which means that it runs in its own process. This allows for each service to now be written in a language that suits its functionality better. For example, if a developer is making a service for multimedia processing like video transcoding, using an enterprise class managed runtime language like Java or C# will not provide the right performance/cost benefits.
参考来源
- 位置:《Building Distributed Systems Designing scalable architectures with microservices, event-driven patterns, and robust deployment…》第02章《Monoliths and Microservices》(来源项目:a19c7933-4eda-4176-aebd-30fe7e1ad292;源文件:extracted/Building Distributed Systems Designing scalable architectures with microservices, event-driven patterns, and robust deployment…/_epub-src/OPS/ch02.xhtml)
- 结论依据:原文以服务职责、依赖或运行情境展开本卡主题;本卡保留其作用条件与代价,不把局部优势推广为无条件保证。
- 原始内容:Each microservice is an independent service, which means that it runs in its own process. This allows for each service to now be written in a language that suits its functionality better. For example, if a developer is making a service for multimedia processing like video transcoding, using an enterprise class managed runtime language like Java or C# will not provide the right performance/cost benefits.