Semyon Dubina2012-05-14 01:50:39
Semyon Dubina, 2012-05-14 01:50:39

What alternatives to fcgi are there?

I had to get acquainted with fast-cgi technology, write a simple CMS. And when everything started working, there was a desire to make the project more or less long-term. What are the protocols or technologies that threaten to replace fcgi in the niche of back-end servers? What is already in use?
Let me explain the essence of my project: there is cms on php, there is a configured nginx in front of it, it accepts php-fpm requests, and of course, the content is in the database. The difficulty is in the demolition of nginx and the database, since clustering is configured there, very complex and “unique”. My fcgi server completely replaces php-fmp, php code, related scripts, ie. anything that can query the database and the system.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
VBart, 2012-05-14

There are at least SCGI and uwsgi, but they do not threaten to replace FastCGI.
It seems you have reinvented the wheel, but I didn’t really understand which one, either php-fpm or CppCMS.

mayorovp, 2012-05-14

Why alternatives?
Everything is working? Works.
What else is the problem?

zuborg, 2012-05-14

If this is the question, then just make a wrapper for a piece of code that receives requests from outside, and add support for different modes / protocols to it. Take a list of more or less relevant protocols from the same nginx. For versatility (but, alas, not performance), add more cgi - it is everywhere.
PS. fcgi is an old proven productive solution, I doubt that in the near (or not very near) future something will become more popular and productive.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question