Jump to content
Yaron

Most reliable deployment for stability & performance

Recommended Posts

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 by Yaron

Share this post


Link to post

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

  • Like 1

Share this post


Link to post

Any chance you can make a tutorial video showing your preferred deployment method?

Share this post


Link to post

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
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

  • Like 2

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×