csinn / CSInn

C# Inn community website.
MIT License
26 stars 9 forks source link

Non functional requirements #6

Open Almantask opened 5 years ago

Almantask commented 5 years ago
JGaslonde commented 5 years ago

this is the entire document but it's stops being relavent about halfway through, hope it helps

https://docs.google.com/document/d/1SuOa27x1DuvyzVlamRLafLlcnlFFegD1yFlK6jZ6Ylg/edit?usp=sharing

Almantask commented 5 years ago

I asked for tips about defining requirements for Blazor. Here is what the reply was. " Blazor server side keeps the component state in-memory, so its impossible to guess about provisioning without knowing how much state your components will use and how many of them will be active on a page at a time. Gun-to-my-head I'd probably say something like the following is how I would estimate the RAM needed...but its just a guess: 100mb + ((1mb + ( 3 * MedianComponentStateSize)) * NumberOfConcurrentUsers) = Ram Required It would require more if you use scoped dependencies (such as for auth or caching) and the requirements for file uploading, memory cache, and web api calls will all be the same as normal if you use those features of ASP.NET Core MVC. If you don't run out of RAM or run into concurrent connection issues, then I would guess the CPU requirements would be similar to ASP.NET Core MVC...maybe just slightly higher for the component render tree diffing that the components do. " Any other thoughts?

kuromukira commented 5 years ago

A slightly off topic question, but what's the provisioning for? Are you guys planning on using a virtual machine for the hosting of the site after it gets out of development with a significant number of features?

Almantask commented 5 years ago

@kuromukira I have very little experience with hosting. How I see it (and please correct me if I am wrong), we will go for a Docker container which will be placed on some server. We will have to configure the container (VM) to be of certain configuration. That's what I had in mind. So we need to cover system requirement aspects such as:

kuromukira commented 5 years ago

I see. Thank you for the details.