Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to call PASE (Python, PHP, Node.js) functions #4

Open
andreas-prouza opened this issue Jun 19, 2024 · 0 comments
Open

How to call PASE (Python, PHP, Node.js) functions #4

andreas-prouza opened this issue Jun 19, 2024 · 0 comments
Labels

Comments

@andreas-prouza
Copy link
Owner

Sure, you can call them by using the QSH command.
QSH ('python myproject/test.py')

Problems

  • Parameter in/output handling is not easy here.
  • Performance is not optimal, because of the PASE environment (including the sub-jobs) which needs to get started all the time

Solution
Use it as a micro service via ...

  • Web Service
  • or Data queue

With this, you have a well defined interface, without any dependencies of the backend.
E.g.:

  • You don't need to know the language of the service
  • You even don't know it the service is running on IBM i or somewhere else

Both supports synchronous & asynchronous processing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant