Hi Sathish,
I'm not aware that we have a best practise advise for this question.
It'll definitively depend on the load you already see on the CPE and also on the nature of the requests you want to process. In case you would ingest the documents already via GraphQL, CPE and GraphQL may compete for the JVM memory, especially when handling very large documents or batches. This may not be critical in case the GraphQL requests will be only simple queries with low memory consumption. Maybe @Joe Raby has an educated guess on this question.
In any way, using separate JVMs gives you a higher degree of freedom to fine tune and/or scale both components separately. Hosting them on the same machine should reduce the network bandwith consumed between GraphQL and the CPE, especially when uploading or downloading content via GraphQL.
Best regards,
Michael
------------------------------
Michael Kirchner
Sr. Business Automation Partner Technical Specialist
IBM Technology
Germany
------------------------------
Original Message:
Sent: Fri March 24, 2023 11:39 AM
From: Sathish Rajan
Subject: GraphQL - Best Practice for Instalation/deploy location Traditional WebSphere
Hi Michael,
From performance and best practices stand point, to handle 100k-200k GraphQL API calls per day , is it a better option to host the GraphQL on a dedicated t-WAS Cluster and instead of collocating with CPE JVM?
Thanks & Regards,
Sathish A Rajan
------------------------------
Sathish Rajan
Original Message:
Sent: Wed March 22, 2023 05:34 AM
From: Michael Kirchner
Subject: GraphQL - Best Practice for Instalation/deploy location Traditional WebSphere
Hi Chuck,
from a deployment perspective, you could install GraphQL into the same WAS instance as CPE (or ICN) or into its own WAS instance.
In most scenarios, GraphQL will talk to the CPE, thus deploying it next to CPE might be useful to reduce network traffic.
I'd recommend to look into the install docs
https://www.ibm.com/docs/en/filenet-p8-platform/5.5.x?topic=tasks-installing-configuring-content-services-graphql-api
as it gives some advise on LTPA token, SSO, etc.
Also very helpful is Rogers blog entry on the implementation of SSO.
Hope this helps?
Best regards,
Michael
------------------------------
Michael Kirchner
Sr. Business Automation Partner Technical Specialist
IBM Technology
Germany
Original Message:
Sent: Tue March 21, 2023 06:00 PM
From: Chuck Hauble
Subject: GraphQL - Best Practice for Instalation/deploy location Traditional WebSphere
In a traditional WebSphere FileNet environment are there any best practices to follow about where to install and deploy GraphQL?
What I mean is, given: ICN on one VM running in an App Server, CPE on another VM running in an App Server.
- Does GraphQL need to go on another VM or can we spin up an additional App Server to run along side ICN or CPE.
- If we can just add an App server, where does it make the most sense to add it. Along side ICN or CPE.
Thank you for your insights.
------------------------------
Chuck Hauble
Minneapolis MN
------------------------------