zendtech / IbmiToolkit

PHP frontend to XMLSERVICE for IBM i development.
BSD 3-Clause "New" or "Revised" License
46 stars 34 forks source link

Performance: speed error retrieval code #74

Open alanseiden opened 8 years ago

alanseiden commented 8 years ago

Check with Tony about improved error service in XMLSERVICE, then refactor error retrieval code to accommodate that. Currently very, very slow and uses high CPU. Error codes are commonplace on IBM i (library already exists in liblist, EOF, wrong password entered.) This is a high priority for Alan but can't do till Tony upgrades XMLSERVICE, which is a complicated task for him due to difficult IBM i APIs.

alanseiden commented 8 years ago

N.B.: Tony's other language toolkits default to fast not to get detailed errors. Change to detailed error logging when needed. e.g. in development can log more. production use fast. We could consider doing that. In *fast mode, we only find out whether the command worked, but not details of the error.

alanseiden commented 7 years ago

See closed issue #54 for XML and further comments.