.NET VS PHP Server
-
Hello, Here I am going to share my experience and base on that I have a questions. History I have started working on ASP in 2001 and on PHP 2004, since then I am working on both languages but more & more on PHP. Since last 2 year (2012) I am working only and only on .NET Experience To Share PHP: I have build an application in core PHP, which is hosted on shared server, using by 50 users constantly from 8 am to 7 pm. Couple of scheduler does run. Application code size is 30 MB and Database size till date in 200 MB .NET: I have build an application in .NET, hosted on VPS, using by hardly 15 users. No scheduler is running, Application Code size is 25 MB and Database size till date is 2 MB for each user. Please Note: both application are normal applications which keep data records into database. Unknown Things PHP: I don't know what memory needs by application to run with 50 users .NET: I have seen in Task Manager, its going around 70 MB. Issues PHP: Application is running fine without any issues, event its running on shared server. .NET: I have couple of issues here, I am using VPS (2GB Ram, 40GB Space, 1 Core CPU) 1) Session end for no reason.. someone told me that POOL gets recycle, now here I have implemented a setting to recycle at midnight, but sometime I can see it's still getting recycle in between. 2) Pool Stop and shutdown abnormally. I have seen event logs .. but they are far from my understanding. Questions 1) what configuration we should required on server for .NET application in my case where 1 application is using 70mb memory and I have only 15 users at this stage 2) Due to abnormal shutdown of POOL I am getting 503 error. .. question is: 2.1) Is there any way to get notification on it ? 2.2) Is there any way to restart POOL automatically ? 3) If Microsoft says, they are dam GOOD then why we are facing these type of issues, can't they provide best configured server. Or is this related to service provider, they want charge us for their help & Support..may be here I sound like foolish, but just read my scenario ask yourself.. I am not in favor/against of anyone. Thanks Kartik