ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Get 100 MB data from MSSQL and transfer using Web-service

Post new topic  Reply to topic
 Get 100 MB data from MSSQL and transfer using Web-service « View previous topic :: View next topic » 
Author Message
abhyyy
PostPosted: Tue Jul 16, 2013 11:10 pm    Post subject: Get 100 MB data from MSSQL and transfer using Web-service Reply with quote

Voyager

Joined: 29 Sep 2011
Posts: 83

Hi Friends,

One of my clients has a requirement where he wants WMB to fetch 100MB data from MSSQL server 2012 twice a day at designated off peak time and then wants that data to be transferred via web-service.

I have the flexibility of breaking the data over 10 chunks of 10 MB each and then send across as 10 responses.

Can anybody give me the best fit or best recommended way to do this.

Can be creating WS and returning attachment over MTOM or any other.
The only way client dooesn't want to use it is by using a file system.

Would really appreciate you advise on this. Thanks in advance.
_________________
----------------------
NeVeR StOp LeaRnInG.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Tue Jul 16, 2013 11:50 pm    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

What does it mean "fetch 100mb of data from SQL Server"?

Is it "fetch one row that contains a 100mb BLOB field"?

Is it "fetch all rows in a single select that will usually amount to 100MB of data"?

Does it mean "read a file created from a batch offload process from SQL Server, that is expected to be 100mb in size, and represents lots of rows"?

In general, dealing with this amount of data is better handled in a streaming approach, rather than as large in-memory chunks. How that can be handled in Broker depends entirely on how the data is read and how the data is written afterwards.
Back to top
View user's profile Send private message
abhyyy
PostPosted: Wed Jul 17, 2013 1:23 am    Post subject: Reply with quote

Voyager

Joined: 29 Sep 2011
Posts: 83

Thanks for your reply and Sorry for not being clear.
Actually, upstream will request data using a webservice and then WMB will select all the rows of one or another table and retrieve from MS SQL server using 1 sql select statement, since the data is very big so it will come around 80MB to 100 MB.
After retrieving all the rows (100 MB data) it has to sent across to upstream using web-service response.
What approach do you suggest ?. Thanks
_________________
----------------------
NeVeR StOp LeaRnInG.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Wed Jul 17, 2013 1:24 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

You're going to have a hard time sending 100MB over a single HTTP call.

The approach I suggest is to review the business requirements, and consider using an alternate transport.
Back to top
View user's profile Send private message
abhyyy
PostPosted: Wed Jul 17, 2013 1:29 am    Post subject: Reply with quote

Voyager

Joined: 29 Sep 2011
Posts: 83

Is there a way in which this 100 MB data can be split in 100 chunks of 1 MB data and then sent using a web-service , may be using MTOM??
Please advise if there is any other way I can do it using web service as the client wants it to done using web-service only. Many Thanks
_________________
----------------------
NeVeR StOp LeaRnInG.
Back to top
View user's profile Send private message
lancelotlinc
PostPosted: Wed Jul 17, 2013 3:28 am    Post subject: Reply with quote

Jedi Knight

Joined: 22 Mar 2010
Posts: 4941
Location: Bloomington, IL USA

abhyyy wrote:
Is there a way in which this 100 MB data can be split in 100 chunks of 1 MB data and then sent using a web-service , may be using MTOM??
Please advise if there is any other way I can do it using web service as the client wants it to done using web-service only. Many Thanks


Well, if one read the InfoCentre, one could find this:

http://publib.boulder.ibm.com/infocenter/wmbhelp/v8r0m0/index.jsp?topic=%2Fcom.ibm.etools.mft.doc%2Fac34008_.htm

Quote:
Automatic processing of SOAP with Attachments (SwA).

_________________
http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER
Back to top
View user's profile Send private message Send e-mail
someyears
PostPosted: Thu Jul 18, 2013 3:56 pm    Post subject: Reply with quote

Newbie

Joined: 17 Jul 2013
Posts: 5

just come in and what a crazy idea to do 100M webservice call.
haha
you know, architect!
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Get 100 MB data from MSSQL and transfer using Web-service
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.