Yaron 53 Posted August 16, 2019 (edited) I am using MARS as a back-end for a Web Application (processing post/get requests from HTML forms and outputting HTML based on the form input). I am currently deploying MARS as an IIS module DLL simply because I already have an IIS7.5 server installed and I wanted the free SSL security that comes with this type of setup. However, I had one instance where I was getting a "500" error from IIS and the only way to resolve it was to restart the application pool. Assuming my code is bug-free, what is the most reliable and best performance (for concurrent usage by multiple users) method to deploy MARS with SSL on a windows machine? Edited August 16, 2019 by Yaron Share this post Link to post
Andrea Magni 75 Posted August 20, 2019 Hi @Yaron, I don't have actual numbers about the most reliable/best performance deployment method but my preferred deployment method for production is having an internal MARS REST server (Windows Service or Linux Deamon) and Apache acting as a reverse proxy (implementing SSL, caching, compression, eventually load balancing). This grants quite some granularity with respect to performance tuning and service availability (you can restart a single service or the whole thing). I also have deployed some MARS servers as Apache modules (on Linux). A couple of customers are using MARS with IIS: one is using IIRF (basically making IIS a reverse proxy and SSL implementor), keeping MARS servers standalone (not even Windows Services though this is on the roadmap). The other one is using ISAPI deployment. I have news from time to time from people using the library and there is not a clear trend among available deployment methods. Sincerely, Andrea 1 Share this post Link to post
Yaron 53 Posted August 20, 2019 Any chance you can make a tutorial video showing your preferred deployment method? Share this post Link to post
Andrea Magni 75 Posted August 23, 2019 I would but, unfortunately, I am lacking time and trying to spend as much time as possible adding new features (i.e. the new Devart UniDAC intregration and the Delphi-Cross-Socket support). Please ask if you need specific help. Sincerely, Andrea Share this post Link to post
Claudio Piffer 2 Posted September 1, 2019 On 8/20/2019 at 10:56 AM, Yaron said: Any chance you can make a tutorial video showing your preferred deployment method? Hi Yaron for apache as reverse proxy you can start from here: https://httpd.apache.org/docs/2.4/howto/reverse_proxy.html and (this is for intraweb but the concepts are the same) here: https://doc.atozed.com/en/iw14/deploy/deployment-targets/apache/apache-as-reverse-proxy/ Best regards Claudio 2 Share this post Link to post