Multiple requests to a webservice in ISD

Dedicated to DataStage and DataStage TX editions featuring IBM<sup>®</sup> Service-Oriented Architectures.

Moderators: chulett, rschirm

Post Reply
suryadev
Premium Member
Premium Member
Posts: 211
Joined: Sun Jul 11, 2010 7:39 pm

Multiple requests to a webservice in ISD

Post by suryadev »

Hello,
A webservice is created and deployed in ISD. WSDL has been generated and shared with the user who calls the webservice.

Their requirement is to call the webservice by sending thousands of requests in a minute. so they expect the responses same time. Is there any limit on that or they can call as many requests as possible?

please suggest how to make this work
Thanks,
Surya
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm

Post by chulett »

Thousands of individual requests per minute? :shock:
-craig

"You can never have too many knives" -- Logan Nine Fingers
suryadev
Premium Member
Premium Member
Posts: 211
Joined: Sun Jul 11, 2010 7:39 pm

Post by suryadev »

Chulett,

I will put this in an other way...

Can number of records be passed as single request to the webservice?

as an array or xml?
Thanks,
Surya
eostic
Premium Member
Premium Member
Posts: 3835
Joined: Mon Oct 17, 2005 9:34 am

Post by eostic »

Yes. But to clarify, there are two variables being discussed here...

1. Requests --- from one or more independently connected SOAP clients. ISD can have many incoming clients. There are performance considerations, of course, but it is fully supported to have this scenario.


2. Arrays (rows) that might be included in "one" of those requests. ISD can define an "array" for the request and/or for the response. This reduces the "chattiness" for the client in making SOAP calls. This is done in the Application workspace after you have selected the DS Job (the lower Operation tabs) and is reflected in the WSDL.

Ernie
Ernie Ostic

blogit!
<a href="https://dsrealtime.wordpress.com/2015/07/29/open-igc-is-here/">Open IGC is Here!</a>
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm

Post by chulett »

Right... hadn't gotten down into the weeds yet since that's usually Ernie territory. :wink:

1. Meaning you can have many instances of the service running and from what I remember they can increase dynamically based on need until you hit a configured limit. Each will support a queue of requests up to another limit you define.

2. That's what I was going to suggest as well, create the job so it can process essentially what are 'batches' of requests.
-craig

"You can never have too many knives" -- Logan Nine Fingers
eostic
Premium Member
Premium Member
Posts: 3835
Joined: Mon Oct 17, 2005 9:34 am

Post by eostic »

As a side note .....in discussions like this, it is useful to separate the idea of "rows" from the idea of "requests". An array in a single "request" is a "batch of rows".

Leave "requests" to solely mean "individual SOAP invocations [requests] and their response".

Ernie
Ernie Ostic

blogit!
<a href="https://dsrealtime.wordpress.com/2015/07/29/open-igc-is-here/">Open IGC is Here!</a>
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm

Post by chulett »

Duly noted!
-craig

"You can never have too many knives" -- Logan Nine Fingers
qt_ky
Premium Member
Premium Member
Posts: 2895
Joined: Wed Aug 03, 2011 6:16 am

Post by qt_ky »

There is always a limit, and you can probably increase it by tuning the ISD settings. It would be nice to know if there were any tuning guidelines documented. The only documentation I have found so far is descriptions of each setting, from the online help.
Choose a job you love, and you will never have to work a day in your life. - Confucius
ray.wurlod
Participant
Posts: 54588
Joined: Wed Oct 23, 2002 10:52 pm

Post by ray.wurlod »

The most obvious setting is the maximum number of instances of a multi-instance ISD job.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
suryadev
Premium Member
Premium Member
Posts: 211
Joined: Sun Jul 11, 2010 7:39 pm

Post by suryadev »

Thank you very much for your inputs.

1) This can be used if the service is being called from different clients.

2)This can be used if single client is sending multiple requests.


As my requirement is single client sending multiple requests, I will check for the array options where number of requests are sent as single array.

Please correct me if I am going to a different route.

can you please guide me through any document that has the array settings or such scenarios?

Thanks again
Thanks,
Surya
eostic
Premium Member
Premium Member
Posts: 3835
Joined: Mon Oct 17, 2005 9:34 am

Post by eostic »

As noted earlier, a single client can issue any number of requests.....and those requests can send and receive one row.....or many (an array) rows.

How? In the operation secrion you can declare that the sevice Operation will support arrays.....

.....and then your soap client will need to be able to use the. Resukting wsdl and know how to send/receive arrays.

Ernie
Ernie Ostic

blogit!
<a href="https://dsrealtime.wordpress.com/2015/07/29/open-igc-is-here/">Open IGC is Here!</a>
Post Reply