Webservice / Request Queue

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Greetings,

I want to build a webservice where I can call it from my web application
when a user triggers the event on demand.

This event will go out and gather some data and store it in a local database.

My big thing is I want one queue where these events can stack up, as the
users of my web app can trigger this event at will, and it is a helper
function (users don’t realize they are kicking off this event), I do not want
500 of these events executing simultaneously during a busy time of my web
app, rather I want to be able stack these things up in one centrally located
queue that execute in the order they were requested.

Basically need some sort of sentinel process that checks this queue every 5
minutes or whatever, and if items are in this queue, they need to be
processed accordingly.

I have never designed anything of this sort, and was just curious what type
of design suggestions those out there...


Your ideas are welcomed and much appreciated....

-Cable

.



Relevant Pages

  • HELP!
    ... when a user triggers the event on demand. ... My big thing is I want one queue where these events can stack up, ... Basically need some sort of sentinel process that checks this queue every 5 ... of design suggestions those out there... ...
    (microsoft.public.dotnet.framework.webservices)
  • Re: Strange Behavior
    ... That sounds like it would work if that was how the algorithm was designed. ... Could that kind of design still cause what you are describing? ... I have two timers polling - and this could be the real ... > second thread poll the state of the queue; it should block on a semaphore if the queue is ...
    (microsoft.public.vc.mfc)
  • Re: Strange Behavior
    ... design issues in this version. ... As to the Queue issue & searching it, there is only one server this is ... not tossing another timer at the problem. ... Thread creation is something that should take ...
    (microsoft.public.vc.mfc)
  • Re: Message queue processing in a thread
    ... This will not happen with good app design regardless of which thread does ... be drained immediately and the messages sent to the threaded queue. ... of these separate threads will implement object windows. ...
    (comp.os.os2.programmer.misc)
  • Re: Question about Synclock and multi threading
    ... You have to rethink your design. ... which takes away the purpose of using multiple threads in the first place. ... > I have a queue in which orders are being queued and processed. ... The second thread would wait for the lock to be ...
    (microsoft.public.dotnet.languages.vb)