Developing with Apache

Posted on 2005-04-12
Medium Priority
Last Modified: 2010-03-04

We are evaluating Apache as a web server and we want to build our application with it.

As I understand, there are 3 ways to write applications for Apache:
1. CGI
2. Loadble module.
3. ISAPI (though it is not recommended by Apache).

Performance is critical for our application so it seems that option 2 is the best.
However, it seems that we can write it using C and not C++. Am I right about it? Any other thoughts, suggestions for the ultimate beginner in Apache?

Question by:yronnen
  • 4
  • 2
LVL 14

Expert Comment

ID: 13768141
You can right C++ apps for apache using cgicc.

It's fairly easy to use but you should have mod_cgi installed in apache in order to use it.


Expert Comment

ID: 13772362
Don't forget PHP. =) ASP. and ASP.net. All can be used in apache in some form or another.
LVL 14

Accepted Solution

trigger-happy earned 500 total points
ID: 13772481
<offtopic>omg, i was really sleepy and i didn't notice that i mispelled write for right...

If you want to do scripting then PHP is good but if you want more performance then CGI is better. Each one has it's pros and cons. Scripting will allow easy modifications and is quite easy to debug, however it can cause a little bit more on performance than CGI
CGI allows better performance but debugging can be a bit more difficult and you have to recompile the source code just to fix it whereas PHP scripting does not need compilation. It's up to you to decide which is better.

Get your Disaster Recovery as a Service basics

Disaster Recovery as a Service is one go-to solution that revolutionizes DR planning. Implementing DRaaS could be an efficient process, easily accessible to non-DR experts. Learn about monitoring, testing, executing failovers and failbacks to ensure a "healthy" DR environment.


Assisted Solution

Promethyl earned 500 total points
ID: 13772533
Don't worry, we read through the typo. Computers are all about reading between the lines. =)


I use PHP for it's flexibility in the face of CONSTANTLY changing customer requirements.

Author Comment

ID: 13773593
Well, the first requirement is performance. I should be able to stream live video with minimum latency.

Expert Comment

ID: 13951756
Recommend: 50 pts to each answerer, and an administrative close on the question.

Expert Comment

ID: 13951760
I would also like to state, for the record, in every instance I've used LAMP -- Linux/Apache/mysql and php, it's been faster than Windows 200X Server / IIS / Microsoft SQL Server and ASPX. I have to blame the GUI for some of it. Apache Linux is a good way to go for streamed connections if you prepare the hardware and software properly.


Featured Post

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In my time as an SEO for the last 2 years and in the questions I have assisted with on here I have always seen the need to redirect from non-www urls to their www versions. For instance redirecting http://domain.com (http://domain.com) to http…
The title says it all. Writing any type of PHP Application or API code that provides high throughput, while under a heavy load, seems to be an arcane art form (Black Magic). This article aims to provide some general guidelines for producing this typ…
this video summaries big data hadoop online training demo (http://onlineitguru.com/big-data-hadoop-online-training-placement.html) , and covers basics in big data hadoop .
Is your OST file inaccessible, Need to transfer OST file from one computer to another? Want to convert OST file to PST? If the answer to any of the above question is yes, then look no further. With the help of Stellar OST to PST Converter, you can e…
Suggested Courses
Course of the Month13 days, 23 hours left to enroll

807 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question