in reply to plack psgi

I have to say that am I hosted on a shared host that uses CPanel.

This sounds very much like you will not have access to a persistent back-end. In that case you should be aware that running Plack-based applications without a persistent back-end incurs a significant performance penalty. See this old but still relevant discussion which also lists some lighter alternatives.

If somehow you can run a persistent back-end then yes, that's going to be faster. In that scenario, using a PSGI-based solution (plack or otherwise) effectively de-couples your code from any one specific front-end so it would be the way to go.


🦛

Replies are listed 'Best First'.
Re^2: plack psgi
by erickp (Sexton) on Feb 09, 2023 at 15:35 UTC
    I'm not sure what you mean by "persistent back-end". My hosting runs on Apache and I have access to all perl/cpan stuff. Do mean persistent in terms of DB? If that is the case I have access to postgres, mysql, sqlite etc.

    Thanks for the info in any case!
      I get what you mean by persistent now, thanks.