发布新帖

查找

问题
· 五月 24, 2021

Regarding Ensemble message process time

I believe most of you have encounted this problem: a healthconnect/ensemble user get a slow response and ask measurement on how long it takes ensmeble to process this request, the ensemble 'activity data' gives no clue of the delay.

The reason is HealthConnect message measurement was based on ensemble message, which can’t give a correct answer on when ensmeble recevie the request and what time it send back response. when there is delay on inbound/outbound adpter, or csp gateway, there is no way to find out the delay from "activity data" . 

I am asked by a customer how to deal with this problem. One thing I am thinking of is to tap on tcp/ip layer,  say , monitoring ip traffic on switch, apache, or other devices. 

Please let me know if you have dealed with the same problem or you have a better way to do this job. thank you very much. 

1 Comment
讨论 (1)2
登录或注册以继续
讨论 (0)1
登录或注册以继续
文章
· 五月 24, 2021 阅读大约需 7 分钟

InterSystems 数据平台和性能 – 第 1 篇

您的应用程序已部署,一切运行正常。 很好,击个掌! 然后电话突然响个不停 – 用户投诉应用程序有时很“慢”。 这是什么意思? 有时? 您有哪些工具,查找和解决这个缓慢问题应查看哪些统计数据? 您的系统基础架构是否能承担用户负载的任务? 在投入生产之前,应该询问哪些基础架构设计问题? 如何自信地为新硬件规划容量,而不会过度规定? 如何停止电话铃声? 如何一开始就不让它响?

讨论 (0)2
登录或注册以继续
问题
· 五月 20, 2021

handling multiple Json objects through HttpResponse data

pResponse.%JSONImport(tHttpResponse.Data)  failing when we have mulitple (array) json objects in response.

set patientSearchList = ##class(msg..patient.PatientSearchList).%New()

rListObj={} 
rListObj.%Set(ListViewName,[].%FromJSON(tHttpResponse.Data))

 do pResponse.%JSONImport(rListObj)

 

What's the better way to handle multiple json objects coming in response.

2 Comments
讨论 (2)0
登录或注册以继续
问题
· 五月 20, 2021

##class(%ZEN.Auxiliary.jsonProvider).%ObjectToJSON() don't show %DynamicObject items

Hello everyone,

I created a Class with this 3 properties

Class TestDynamic Extends (%RegisteredObject, %XML.Adaptor)
{

Property number As %xsd.string;

Property exam As %xsd.string;

Property result As list Of %DynamicObject;

}

I'm adding objects to list normally

set objTest=##class(TestDynamic).%New()
set objDynamic={"field":"value"}
do objTest.result.Insert(objDynamic)

But when i use this method to convert to JSON

##class(%ZEN.Auxiliary.jsonProvider).%ObjectToJSON(objTest,,,"aeoqtw")

It doesn't show the items from %DynamicObject just show this:

{
"number": "",
"exam": "",
"result": [
"21@%Library.DynamicObject"
 ]
}

Cheers.

7 Comments
讨论 (7)1
登录或注册以继续