New post

Find

Question
· Aug 20, 2024

Using Parameters in RuleDefinition

I've been trying unsuccessfully to use a parameter function within a routing rule. I can see the function %GetParameter available in the WYSIWIG rule editor, but I cannot seem to get the inputs for it correct, e.g.

Which gives the error

 

I have also tried unsuccessfully in code

Is what I am doing possible, and I have a syntax issue? Or is getting a parameter like this not something that can be done in a class of type Ens.Rule.Definition

Thanks

4 Comments
Discussion (4)2
Log in or sign up to continue
Article
· Aug 20, 2024 3m read

messages.logに「Updates may become suspended due to low available buffers」のエラーが出ています

これは InterSystems FAQ サイトの記事です。

messages.logに「Updates may become suspended due to low available buffers」のエラーが出ている場合、このインスタンスのバッファ利用可能サイズが低下していることが考えられます。

上記メッセージが頻繁に出力するようであれば以下の対処をご検討ください。

  •  データベースキャッシュの設定値が小さければ、値を増やします(ただし、その分物理メモリに余裕が必要です。)
  •  データベースキャッシュの設定値が十分に大きな設定値であれば、ライトデーモンのバッファの書き込み処理でのディスク性能不足の可能性が考えられる為、更新処理を分散して時間当たりの更新量を減らすか、ディスク装置の性能を上げます。 ※ストレージのメンテナンス(スナップ等によるバックアップ)や、他のサーバによるI/O負荷などによる影響も考えられます。


メッセージの意味は以下のようになります。

(1)  03/04/24-04:56:28:499 (3872) 1 Available buffers are getting low (25% above the threshold for suspending updates) 
(2)  03/04/24-04:56:58:599 (3872) 2 Updates may become suspended due to low available buffers
(3)  03/04/24-05:11:07:694 (3872) 0 Available buffers have been recovered

上記メッセージ(1)は、データベースキャッシュ内の利用可能なバッファが、キャッシュ全体の75%を下回った際に出力します(1:)。
上記メッセージ(2)は、データベースキャッシュ内の利用可能なバッファが、キャッシュ全体の50%を下回った際に出力します(2:エラー)。
上記メッセージ(3)は、データベースキャッシュ内の利用可能なバッファが、キャッシュ全体の75%を上回った際に出力します(0:解消=通常)。


【注意】
 データベースキャッシュを増やした分ライトデーモンが書き込む量が増えて、アプリケーションのレスポンスが遅くなる場合があります。
 更新が集中しないように注意することが必要です(バックアップやバッチ処理などの、システムメンテナンスによる大量更新がないかの確認も必要です)。
 ディスク装置のパフォーマンスを上げるには、ストレージ(HDD/SSD等)を買い替える必要があります。
 更新量を減らすか、ディスクI/O性能を上げるか、どちらかの対応が必要となります。


データベースキャッシュの推奨のサイズは、最大で 物理メモリの50% までとなります。
以下のドキュメントに、メモリの見積もりの概要について記載しております。
※メモリ要件の見積もり> InterSystems IRIS インスタンスの共有メモリに必要な量

メモリ要件の見積もり

Discussion (0)0
Log in or sign up to continue
Article
· Aug 20, 2024 2m read

第四章 设置和其他常见活动

第四章 设置和其他常见活动

作为参考,本主题介绍了用于保护 Web 服务的常见活动。

执行设置任务

对于大多数与 SOAP 安全相关的任务,必须首先执行以下任务:

  • 提供可信证书供 IRIS 使用
  • 创建 IRIS 凭证集

这些任务也是使用 XML 工具中描述的某些任务的先决条件。

可能还需要创建 SSL/TLS 配置。有关信息,请参阅 TLS 指南。

Discussion (0)1
Log in or sign up to continue
Announcement
· Aug 20, 2024

Developer Community at Global Summit 2024: Leveraging Developer Ecosystem Tools for Success

Hi Community,

We're super excited to share with you a very special session from the Global Summit 2024! And it is so special because it is about the Developer Community and Developer Ecosystem. 

🤩 Leveraging Developer Ecosystem Tools for Success @ Global Summit 2024

From this session you will learn about the features and benefits the Developer Ecosystem offer to developers, including the Developer Community forum, Open Exchange application gallery, and InterSystems Ideas feedback portal. By the end of this session, you'll know how to leverage these portals to enhance your development workflows effectively. Follow the quizz at the end and tell us in the comments how well would you have done!

Presenters:
🗣 @Dean Andrews, Head of Developer Relations, InterSystems
🗣 @Anastasia Dyubaylo, Manager of Developer Community and Analytics
🗣 @Olga Zavrazhnova, Manager of Community Advocates and Events
🗣 @David Reche, Sales Account Manager, InterSystems  

Hope you enjoy our session!

Feel free to share your feedback in the comments to this post 😉

1 Comment
Discussion (1)1
Log in or sign up to continue
Question
· Aug 20, 2024

Business Process, pool size and external program call (FOP) via $ZF

Question: can a business process with pool size > 1 invoke external programs in parallel via $ZF(-100)?

We have a production that takes HL7 (ORU_R01) messages in and produces a PDF from each one for onward transmission to a document store.

The PDF creation is implemented in a business process which transforms the HL7 to XML, saves the XML to the filesystem, then calls Apache FOP (the version distributed with Ensemble) via $ZF(-100) to produce the PDF, which is stored on the filesystem. The call to FOP takes the name of the XML file, the name of a stylesheet file (one of three, depending on the contents of the HL7 message), and the name of the output file for storing the PDF. The XML and PDF filenames are guaranteed to be unique.

This works smoothly when the pool size for the business process is 1.

However, when pool size > 1 many (most?) of the Apache FOP calls fail to complete, but don't generate errors. To Ensemble they appear to complete successfully, but don't produce a PDF (and run too quickly - in normal operation they are taking 1.5s-2s per PDF, but when executed in parallel the ones that fail appear to be failing pretty much instantly).

Is the problem $ZF, or is it something specific to FOP that stops it being called simultaneously from Ensemble? (We've called FOP from 2x scripts in parallel outside of Ensemble, and that appears to work.)

2 Comments
Discussion (2)2
Log in or sign up to continue