问题标签 [ems]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
1 回答
1082 浏览

web-services - What is the difference between a Web Service and an Enterprise Messaging System?

From what I understand both transfer data of a certain format between points. What exactly is the difference between the two? Are there any examples that can help differentiate the two?

0 投票
1 回答
990 浏览

java - EMS 性能问题

我正在编写一个服务于无状态传入请求的服务。这些请求都是数学计算,执行时​​间不会很长(最多 2 毫秒)。

我使用 Tibco EMS 在客户端/服务器之间进行通信。提供了一个客户端库,它封装了客户端逻辑(例如将数据转换为 EMS 消息等)并将请求发送到请求队列。服务器端处理请求并将响应发送到单独的队列中。这工作正常。

服务器端是多线程的。当接收到新的传入请求时,将创建一个新线程。因此请求是同时处理的。

服务器端使用单个 EMS 连接到 EMS 服务器。但是,因为 EMS Session 不是线程安全的,如果我希望能够在每个线程中写入对 EMS 队列的响应,我必须使用 connectionFactory 为每个线程创建一个会话。这降低了性能。

在流量上花费的时间大约是 3-4ms,即从发送请求到收到响应之间的时间大约是 5-6ms。(3-4ms 用于传输,marshal/unmarshal,2ms 用于计算)。

是否有任何解决方案允许我在不创建两个 JMS 对象的情况下同时发送到 EMS 队列?

我是否需要遵循其他重要规则来进一步优化服务?已经遵循了一些基本的优化指南:

  1. 使用 CachedConnectionPool
  2. 以 NON_PERSISTANT 形式发送 JMS 消息
  3. 对所有请求使用一个 EMS 连接。

非常感谢。

0 投票
0 回答
905 浏览

java - javax.naming.ConfigurationException:无效配置:不是 dbNaming URL

我正在使用 tibco jms 服务器。

我想从 java 为 tibco jms 创建初始上下文。代码如下:

但是引发了异常:

如果我查看 ems 管理工具,我会在其中输入命令

show factory我看到了上面所说的 url。

为什么我得到这个例外?

0 投票
1 回答
2531 浏览

tibco - Tibco - 最大流量限制属性

我有一个启用最大流量限制的进程。该值设置为 10。它是一个 Asyn 进程,用于每天获取数千条消息。我们注意到,在高峰期,随着 EMS 服务器队列中消息的增加,tibco 进程的性能下降。Tibco 的缓慢与 EMS 消息流入量的增加之间是否存在依赖关系。如何计算流程的确切流量限制?我们有任何标准程序吗?

0 投票
1 回答
1577 浏览

tibco - Tibco- EMS Queues

my requirement is to set-up EMS setting as below.. Is this feasible? 1. The parent EMS queue. 2. The child EMS listened by Tibco BW Engine.

The EMS queue will receive thousands of messages every minute.. parent queue has to pile up the messages and passes limited messages to child queue say 1000 is the limit.. I.e child queue should have 1000 messages and rest of the messages should be in parent queue.. Once the thousand messages in child queue is consumed by Tibco BW, parent queue to send next thousand messages to the child queue.. Is this can be done?

0 投票
1 回答
530 浏览

tibco - 初始化容错连接,远程服务器返回错误

在添加时出现以下EMS错误FT mode。我在tibemsd.conf文件中提到了 EMS 服务器名称为“EMS-SERVER”。你能告诉我"E4EMS-SERVER"价值从哪里来吗???

错误:服务器无法恢复状态。警告:无法初始化容错连接,远程服务器返回“主 EMS 服务器名称为 E4EMS-SERVER,而备用 EMS 服务器名称为 EMS-SERVER。名称必须相同

谢谢莉乔

0 投票
1 回答
144 浏览

c# - When shall I use EMS and when shall I use web service (e.g. WCF)

I am now having an an application that publishes the changed stock positions (e.g. new, edit, cancel) using EMS; and an application that subscribes to the application using EMS and store the change into our Database. i am wondering whether I could use WCF to do the same thing, and what are the factors that I should consider. Thanks a lot for the help.

0 投票
1 回答
487 浏览

css - Content cropped when browser's zoom changes

When I zoom out on Chrome, the content of my website gets cropped off. Here is a screen shot of what I mean.

enter image description here

I can't find a solution to this. Is there even one? I read about changing sizes to ems and tried that but that didn't fix it. Hope someone can help.

This is the link I'm talking about but there are more pages with the same issue http://wardrobeicons.com/the-icons-update/elle-ferguson-perfect-wardrobe-5/

0 投票
0 回答
154 浏览

java - Java NIO 服务器的负载平衡

我们有一个应用程序服务,它有两个实例在两个单独的服务器上运行。实例完全相同,但用于负载平衡。

我们使用 EMS 进行客户端/服务器通信。两个服务实例使用相同的 EMS 队列,因此 EMS 队列中的消息(任务)最终出现在两个实例中的一个中。负载平衡得相当好。

但是,由于性能问题,我们计划从 EMS 更改为基于 NIO 的服务器。使用 NIO 服务器,EMS 授予的负载平衡不再可用。

我的问题是,我们可以将客户端请求负载平衡到多个 NIO 服务器的理想方式是什么?

0 投票
1 回答
1563 浏览

tibco - 在 Tibco EMS 中使用队列中的多条消息

是否可以在一次调用中从 Tibco EMS 队列中使用多条消息。我目前正在使用该类的Receive方法MessageConsumer来使用数据,但这只是返回一个Message。我想知道是否有返回Message对象数组的东西?

谢谢