zoukankan      html  css  js  c++  java
  • [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.

  • 相关阅读:
    jQuery事件篇---高级事件
    Cookie处理
    JDBC技术
    JSP行为
    JSP九大内置对象
    JSP指令学习
    Oracle数据库学习之存储过程--提高程序执行的效率
    数据库操作之游标
    PL/SQL编程接触
    数据库数据的查询----连接查询
  • 原文地址:https://www.cnblogs.com/Answer1215/p/14580156.html
Copyright © 2011-2022 走看看