[DevExpress Support Team: CLONED FROM S36497: Deployment - Make it easier to scale XAF ASP.NET applications over multiple Web servers]
I am waiting desperately for this solution. Any ETA?
We have closed this ticket because another page addresses its subject:
XAF ASP.NET WebForms / Blazor UI deployment, scalability and load testing considerationsAbout scaling XAF ASP.NET applications
Answers approved by DevExpress Support
Hello Mohammed,
We neither provide such a universal calculator nor it is possible to create it without misleading people, because everything depends on the complexity of a specific application and implemented behavior, which is different for each developer, application type and environment.
As written our docs, you need to "assume that about 10 MB of memory will be required per each user session" when choosing appropriate hardware or hosting environment. You can serve more users by providing more powerful hardware to a certain moment, which can only be determined empirically based on the request handling speed requirements for your specific application and environment. Bear in mind (as written on the XAF web page) that XAF apps are not designed to handle thousands of concurrent users at a time, so to meet such business requirements, you would better consider using other tools to build your app.
To be honest, from your message, it is not quite clear whether you have already tried to deploy and test your app to the Cloud even with a single server (maybe, it will be sufficient to handle your app load) and have ever experienced real problems in this scenario? Also, it would be great to know which problems you practically experienced with "sticky" sessions so far (you can find considerations published in this blog post helpful).
If you are looking for specs, several XAF users shared their feedback on the same subject in our LinkedIn group: https://www.linkedin.com/grp/post/2367509-5998453012597665794. Take special note that they did not require load balancing to handle a similar load.
@CM Tee: I appreciate your feedback in this regard and I believe it will be helpful for other users.
I say it loud "XAF Rocks!" and yes as Densis said " it's like creating a fast race car that would also be a good SUV and…" i fully agree that everything has its pros and cons. Nevermind, now as i know that strengths and weakness of XAF architecture i would say it honestly that XAF still stands out in the market and meets my business needs.
Regarding scaling, i will go with the Stick Session solution and try it out, who knows it will work and my customers will be happy.
Thanks Dennis & CM Tee for your active participation to this ticket. Things are more clearer for me now.
Hi DevExpress, it's for me also very importatend. Thank you for an fast reply
just vote it…
Hello,
We do not have any ETA for this as it is not planned for any specific release. Would you please elaborate on your specific problems with a plenty of available ASP.NET deployment options?
>>just vote it…
Guys, I am afraid this information is not really helpful. Instead, please tell us more about your application specifics; e.g., planned usage scenarios, an approximate number of concurrent users, current issues, etc.
With that we will be in a better position to describe the options available to you for the current version and also better track your business requirements for future product updates. Thanks for your collaboration.
Hi Dennis,
Our requirements are quite simple, we have XAF business application that is being accessed with about 100 concurrent users (it is our initial requirements, the users might might grow in the future to about 500 concurrent users).
Hi Dennis, here is some information on how we use XAF and how scaling would be beneficial to us
Current setup
We are in the process of migrating our 300+ clients (each client can have from 1 to 60 concurrent users) from our desktop product to our Hosted XAF solution. Each client has their own MySQL database and will run their own instance of the XAF application on Amazon.
With the current Amazon-XAF setup it is easy to scale up, however it is impossible to scale down due to the sticky sessions. The only way to move a user from 1 Amazon instance to another when scaling down is to terminate their Session- which will cause them to lose all the connected users unsaved information.
Due to this limitation of not being able to scale down gracefully we have to run at our high water mark for the user 24-7. If it was possible to scale down gracefully (ie. move a user from on instance to another – serializable session) we could realise a tremendous cost 300%+ for the hosting costs because our high water mark only occurs for 2-3 hours a day during week days.
Do you have any advice ?
Thanks
Trentin
Hi Trentin,
Thanks for reminding us of your scenario. I remember that we already discussed possible ideas with you at Sticky session auto scaling down work around idea (Web). We do not have more news on this and I also recommend you search for more options in public community resources on the Web, because this down scaling problem with sticky sessions is not specific to XAF, but rather to any stateful Web application.