Batch functionality

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Oscar Thornell

    Batch functionality

    Hi,

    Any suggestions on best practices on implementing batch process
    functionality in a web app?
    The idea is to run a batch of order processing at night when the site load
    is low.
    I would like to contain the logic within the web application for deployment
    reasons..

    An event has to be fired at a specific time or other threeshold.
    The batch would probably need to be run in async/low priority thread(s) from
    the threadpool.


    Regards
    /Oscar


  • Philip Hristov

    #2
    Re: Batch functionality

    Oscar,

    It can be done, however it will not be very good solution to your
    problem. Why do not you build a Windows Service and deploy it along
    with the Web Application?

    Regards,

    Philip.

    Comment

    • Oscar Thornell

      #3
      Re: Batch functionality

      I agree. The service solution is the best overall design choice.
      But..if for some reason it is not viable in this context.

      How would one solve the problem in an ASP.NET web application.

      /Oscar

      "Philip Hristov" <phristov83@gma il.com> wrote in message
      news:1113512809 .973946.44080@f 14g2000cwb.goog legroups.com...[color=blue]
      > Oscar,
      >
      > It can be done, however it will not be very good solution to your
      > problem. Why do not you build a Windows Service and deploy it along
      > with the Web Application?
      >
      > Regards,
      >
      > Philip.
      >[/color]


      Comment

      • Philip Hristov

        #4
        Re: Batch functionality

        Oscar,

        You need to use the timer component on a web page and activate it
        somehow, someone got to request the page and activate the timer when is
        loaded...and maybe the page must be always loaded (not just load it and
        then close it) in order to work...

        Philip.

        Comment

        Working...