Note that there are some explanatory texts on larger screens.

plurals
  1. POSpeed Improvement of a .Net Based Modelling Application
    primarykey
    data
    text
    <p>We are developing one anayltical tool of stock moddeling in .Net. </p> <p>The primary objective of the tool is to Run a Model for 5 years and do projections for future In, Out and Stock for various Products. </p> <p>The primary workflow of the code is 1. Fetch the data from database. 2. For each date Process Data (Run Production and Stock Model) 3. After All the dates are traversed update all the data together in database.</p> <p>So primarily there are only two database calls and initially we take all the data in datasets and then we process it in Ram and do not make database calls.</p> <p>The problem we faced that it was taking almost an hour to run a model for 1 year. Our benchmark is to run the model for 5 years in 5 minutes.</p> <p>We have been working on this problem for almost a month now. Right now we have been able to achieve running model for 1 year in 10 mins. Following are the things that we have found out. - While fetching data from the data set if the tables carrry all five years data it was difficult to fecth so we divided the data sets in monthly loops and now we run model for a month at a time. This has given us the maximum improvement in speed. - Tried to reduce for loops inside the model which runs daily. This did not give us much improvement.</p> <p>You can download one rar file from following link. <a href="http://dl.dropbox.com/u/4546390/iPlanner.rar" rel="nofollow">http://dl.dropbox.com/u/4546390/iPlanner.rar</a></p> <p>It contains three file.</p> <p>iPlanner Tables.xls : which is giving idea of database design. iPlanner Logic.xls : talks about table and the logic of production model, shipment model and actual value handling. I think the most important is to look at the production model, this will give you a brief idea of what the model does daily.</p> <p>Common.cs : which has the Call Production Model function from where everything starts. You can check that out too.</p> <p>The model was previously written in excel in excel it used to take 2 mins for 5 years. The reason to move to .Net is to have more sharing features and have a software like look. </p> <p>I am trying to find out the ways in which this can be improved. </p> <p>Let me know if more information is required on this.</p> <p>Thanks in Advance</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload