Giter Club home page Giter Club logo

Comments (5)

prb112 avatar prb112 commented on June 7, 2024

While working on #633 I thought we should probably add an array to "batch-uri": "https://localhost:9443/ibm/api/batch/jobinstances" so it could work even if a specific node it was pointed to failed.

from fhir.

albertwang-ibm avatar albertwang-ibm commented on June 7, 2024

While working on #633 I thought we should probably add an array to "batch-uri": "https://localhost:9443/ibm/api/batch/jobinstances" so it could work even if a specific node it was pointed to failed.

I have just created issue #636 for simplify the batchclient and configuration.

from fhir.

albertwang-ibm avatar albertwang-ibm commented on June 7, 2024

I have run multiple deployment tests in my local and in CDT, I can not reproduce the job submission delay issue which happened during Connectathon 22.
Configuring separated job schedulers and executors makes the configuration and workflow more complicated - have to add new configurations and the job can only be submitted to the fhir server instance with scheduler configured.

So, I would prefer to continue our current simple deployment architecture to allow each fhir server instance to act as executor for its received job request, and leverage load balance to send the request to the alive server.

Test 1:
In local env, run multiple instances of fhir servers which share the same local DB2 javabatch database and without separation of job scheduler and Job executor. test jobs were submitted in few seconds.

Test 2:
In local env, run multiple instance of fhir servers which share the same IBM Cloud DB2 javabatch database and without separation of job scheduler and Job executor. Test jobs were submitted in few seconds.

Test 3:
In CDT env, run multiple instance of fhir servers which share the same IBM Cloud DB2 javabatch database and without separation of job scheduler and Job executor. Test jobs were submitted in few seconds.

Test4:
In local env, run multiple instance of fhir servers which share the same local DB2 javabatch database and with MQ and separated job schedulers and Job executors. Test jobs were also submitted in few seconds.

Test5:
In local env, run multiple instance of fhir servers which share the same IBM Cloud DB2 javabatch database and with MQ and separated job schedulers and Job executors. Test jobs were also submitted in few seconds.

from fhir.

prb112 avatar prb112 commented on June 7, 2024

While working on #633 I thought we should probably add an array to "batch-uri": "https://localhost:9443/ibm/api/batch/jobinstances" so it could work even if a specific node it was pointed to failed.

I have just created issue #636 for simplify the batchclient and configuration.

I investigated this approach in my PR. It does not work as you'd think. The start method actually starts the job on the local Jar.

from fhir.

prb112 avatar prb112 commented on June 7, 2024

Closed in discussion

from fhir.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.