Results 1 to 5 of 5

Thread: High volume Transaction

  1. #1

    Default High volume Transaction

    I have to read 100000 of rows and process and send them to some other system as message.

    How can i use SB in it ?
    Can SB can be run as standalone jar file ?

    if so, can i get a sample project ?

  2. #2
    Join Date
    Jun 2005
    Posts
    4,241

    Default

    It's probably a mistake to try and process large numbers of items in a single transaction. You could stage them in a database and then send a message with their primary key range or something equivalent, and that would be quite efficient. Spring Batch could be used to do that, and it is packaged as 2 jar files. If you look in the distro or the source code on github you will find samples and a simple-cli project.

  3. #3
    Join Date
    May 2011
    Posts
    18

    Default

    I agree that would be a really big transaction. SB gives you the means to split it in smaller chunks (via configuration) and then you can take any route you want, use a database as intermediary like Dave sugests or publis them to a JMS queue, etc. You can store/send the data you read to pretty much any device/technology if you do a custom ItemWriter to fill your needs

  4. #4

    Default

    Hi Dave,

    Can you please let me know,the example name ?
    tried to find it,was not able to, find , probably i miss something.
    I need the example which has staging to db as you mentioned.

    Thanks in advance.
    Last edited by fusionobject; Jun 20th, 2011 at 11:53 PM.

  5. #5
    Join Date
    Jun 2005
    Posts
    4,241

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •