• [Web] When Not to Use Microservices


    Monoliths Are Not Bad!

    Microservices designs are another architectural pattern and are not intended to replace monolith applications. We should not blindly build applications as microservices without understanding the tradeoffs. Doing so could actually decrease productivity!

    One way to think about this is to revisit our analogy with the Sports Superstore. Does it make sense for every aspiring small business owner to open and manage multiple stores at once?

    Considerations for Not Using Microservices

    System Complexity

    Rather than deploying a single application, we would be deploying multiple modules separately. There is more overhead in setting up projects.

    Network Latency

    By introducing a network between modules, we have increased latency in application performance and will find it harder to debug our application.

    Difficulty with Debugging

    We can no longer rely on a stack trace or tools that can help us pinpoint where a bug is. We may end up relying on logging to find causes of issues.

  • 相关阅读:
    vue2 下载scss依赖包
    fastjson使用
    vscode format
    flutter 中涉的深拷贝
    通过pom给maven添加编译插件
    IDEA添加动态模板(Live Templates)
    Maven启动tomcat:run异常
    Redis
    tomcat启动时启动窗口出现乱码的解决方案
    无效的源发行版,解决方案
  • 原文地址:https://www.cnblogs.com/Answer1215/p/14580156.html
Copyright © 2020-2023  润新知