Last post Oct 24, 2011 06:49 AM by chezhian_in05
Oct 20, 2011 03:47 PM|longhorns|LINK
Hi I am making a site where you come in and start a sale which it needs to keep tracking from a live data feed and when it reaches the
required value it stops. Thing is that when the sale is started it has to run from server using c# so that if user logs off or pc hangs up it is still running and when it reaches the goal it jsut updates data base.
Any ideas how to go about it so it works good
Oct 24, 2011 06:49 AM|chezhian_in05|LINK
did you tried using threading for this ?
but you'll land into memory problems, if you have many threads.
the alternative way is, you can move the processing of the sale to the database by using triggers, so that it will be taken care by Database server than your application server..
once your database has reached the value, update the required table..
Hope this helps..