简体   繁体   English

JMeter:寻找有意义的 2 层架构

[英]JMeter: In search of a meaningful 2-tier architecture

For a project, I need to build two client-server-architecture prototypes (2-tier and 3-tier).对于一个项目,我需要构建两个客户端-服务器-架构原型(2 层和 3 层)。 In a second step I want to test them in terms of performance & scalability with JMeter.第二步,我想用 JMeter 测试它们的性能和可扩展性。 In a third step I want to compare the performance of both and give recommendations on the architecture.在第三步中,我想比较两者的性能并就架构提出建议。

I have already built a 3-tier application, which looks like this:我已经构建了一个 3 层应用程序,如下所示:

3层

What I had in mind was to build a 2-tier application, which looks like this:我的想法是构建一个 2 层应用程序,如下所示:

2层

But then I realized that I cannot compare them properly.但后来我意识到我无法正确比较它们。 Since there is no possibility to start a function with a HTTP-request in the 2-tier-architecture.因为在 2 层架构中不可能使用 HTTP 请求启动函数。

My question now, what would a meaningful implementation of a 2-tier-prototype look like?我现在的问题是,有意义的 2 层原型实现是什么样的? So that I can make a fair comparison of both.这样我就可以对两者进行公平的比较。 and if I could use Java that would be great too.如果我可以使用 Java,那也很棒。

I'm very inexperienced, so I am happy with any input!我非常缺乏经验,所以我对任何输入都很满意!

In general these 2 implementations look like 2 separate products so comparing their performance is not something you should be doing.一般来说,这 2 个实现看起来像 2 个独立的产品,因此比较它们的性能不是您应该做的事情。

Whatever.任何。

Your "Presentation" statement for the 2-tier architecture doesn't tell the full story:您对 2 层架构的“演示文稿”声明并未说明全部内容:

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM