HI
I want to known How to measure the time spent entire bussiness process
Two stage:
1. Business service to bussiness operator
2. bussiness operator to outside (like http, tcp) include request and response time.
Is has any method to do this?
HI
I want to known How to measure the time spent entire bussiness process
Two stage:
1. Business service to bussiness operator
2. bussiness operator to outside (like http, tcp) include request and response time.
Is has any method to do this?
Hi
My Ensemble platform worked well before.
Since yesterday , I found out lot of slow request ,I opened trace for one message.
.png)
as above shown.
It take about 8s from HisEmrRouter to ADTRoutingRule.
In my opinion, HisEmrRouter And ADTRoutingRule is Simple Rule, should't do IO operation. should be pure compute.
Why does it take so long to process the routing?
What Can I do to avoid it spend too much time to routing?
Tks
I want to call some Java Remote Call through Java gateway. The call code as following:
class CallRemote Extends %CSP.REST {
Method Index() as %Status {
Try
set gw = createJavaGateway()
Do callJavaMethod(gw)
do gw.%Disconnect()
Catch {
}
}
}
But Every call need connect to Java Gateway and disconnect it. But It's cost too high( about 80ms)
So, According to my Java experences, I need create some connection and put it into global static ConnectionPool
But I don't known how to reach that using ensemble.
Common macro def as following
#def AnyNumber(%args) for i=1:1:$listlength(%args) { Write $listget(%args, i)}
Using this marcro in objectscript code:
ClassMethod Test() as %Status {
$$$AnyNumber($lb(1,2,3))
}
if ths args is literal value , Iit worked great. But When I want pass Objects, It's not working
$$$AnyNumber($lb(##class(someClass).%New()))
I know I can pass a %ListObjects , If I want more shorter Line. How can I do this.
Tks
I put a html file into ensemble dir ,it's encoding is utf-8.
But when I access this file througn browser, It show incorrectly
I checked http response header, It content-type charset is GB18030 So that's reason
.png)
How to change the charset to UTF-8?
Tks.
I have java language experence. If I need parse a binary tcp packet . like following format
encoded string and send it to peer by tcp
1byte msg type + 4 byte(unsigned int) + raw byte(body)
To parse this package , Some Java code like this:
byte[] data = new byte[1024];
Bytebuf buf = new ByteBuf(data)
byte type = buf.read()
int len = buf.ReadInt()
byte[] bodyBuff = new byte[len]
buf.Read(bodyBuff)
String str = new String(strBody)
So, does Objectscript have similar functionality to achieve similar results?
Tks.
Hi
My HIS System is a Microservice architecture base dubbo. To call remote service must through dubbo rpc.
But , I canot direct call his's dubbo service because ensemble cannot support dubbo protocol.
So I want to add support to ensemble.
where Can I start?
Does ensemble has low level interface like dll or linux so, I can add dubbo support to the ensemble just by implementing these interfaces.
I known java Gateway maybe ok, but I want to direct not throught middle layer to do this.
Tks.
Hi,
Recently, I meet some problem at product env.
Some outside http request send to my Business Service. cause service very slow down. So I want find root cause . But at the message trace page. I can't found any source address . But at Product env. I can't install packet capturer like wireshark . I meet some problem.
And Second. Does ensemble can limit request speed at Business Service? too many requests slowdown my service.
Tks.
Hi,
iris version: IRIS for UNIX (Ubuntu Server LTS for x86-64 Containers) 2019.4 (Build 383U) Fri Dec 6 2019 08:49:54 EST
os: Ubuntu 18.04 LTS
memory: 16G
Disk: 256G SSD
Iris config: default.
soft/hard limit: 65535
I build follow simplest flow to do performance test.
1. create A EnsLib.HTTP.GenericService name it IncomingHTTPService listen on 9980
checked create connection per request
Keepalived = 0
Qsize = 1000
2. create A EnsLib.HTTP.GenericOperation name it OutgoingHTTPOperator to connect localhost:8080(it's a nginx server serve a static html page)
3.
Hi
Sometimes I search mesage with inappropriate sql, It caused query hanged long time.
So Is it have way to find these hanged query and kill it?
Tks.
Hi,
I want to insert custom hook into message send and receive flow. for example:
1. parse request or response message, pick up bussiness field to do bussiness logic
Is it have method to do this?
Tks.
I known ensemble builtin support xml and hl7 document searchtable , is it also support searchtable on json document?
Due to bussiness requirements.I want to add some bussiness field on intersystem message view ui .
eg:
1. add new action page to display bussiness detail
2. add new function to do more Fine-grained things.
3. add new database field in message table.
finally, I hope get more detail of messae view due to customize it.
Tks.
Hi,
I issue a sql like follow:
select *, %vid from (select * from order_info) where %vid between 1 and 10
I got error
[SQLCODE: <-400>:<Fatal error occurred>]
[%msg: <Remote JDBC error: ORA-00911: invalid character >]
So ,what's the correct paging syntax for query external data?
Tks.