Which Web Server/application Interface

Oct 17, 2009

This is my first post here and this sub-forum seems to be adequate for my question. If it is not, I apologize in advance.

I want to create a web application for an upcoming project of mine that has the potential to attract a large number of people. So the web application needs to be fast and secure at the same time.

I used PHP for minor projects for some time now, and although it is really efficient for quick web development, it _appears_ to me like a house of cards waiting to collapse. If you know how to use it properly, it can be acceptable, but there are still numerous security exploits in PHP itself that have surfaced over the last decade. Additionally, it tends to be quite slow and has a lot of bugs that aren't really security related, but can make your life hard. I've run test scripts (that I optimized for web deployment) on my own computer, and even on my own computer which is way faster (in terms of CPU speed, number of cores, RAM, and so on) than most servers, it runs slow--without any database access! And I honestly don't buy the "your server will spend most time in your database anyway, so don't worry about that" statements. I've tested it with databases that have millions of rows in them, and coded a test script that accesses the table and then calculates stuff from that and outputs it. If I comment out the database access the time needed to execute the script is only marginally reduced. I observed the same in my other projects. I also used Python and the problem seems to be the same.

Now, before the PHP/Python fanboy crowd yells at me: "Google uses Python and Wikipedia uses PHP, too". Yes, I know. But they have a lot of money to throw at the problem and can easily add new hardware if needed (Wikipedia alone has collected over 6m USD in the last year from donations). And a Wikipedia staff member I talked to some while ago told me that it's a miracle that Wikipedia is still running given that it is written in PHP with all its security problems (not my words).

So I thought: why not use a compiled language?

The obvious advantages would be that it is faster, and that I can leave out all the junk that is not needed in my case, thereby decreasing the chance of badly written code running in memory.

I have coded in C and C++ for a long time, including security-critical applications. So I absolutely know how hard it can be to write really secure applications, but I think it is also fair to say that I know how to minimize the risk of buffer overflows, validate user input properly, and so on. I often force myself to review my code some time later, in order to spot coding mistakes that you just won't see the first time. Additionally, I've created a neat string library around the standard library that makes string manipulation as easy as in PHP or Python.

So I continued my thinking: why not use C/C++ for your web applications and 'somehow' interface them with your web server?

And that's the problem--the 'somehow interface'. I don't know what to use that won't be deprecated in like 5-10 years from now. CGI seems to be quite okay, but I heard there's a huge overhead due to loading the executable into memory each time a user requests a page. FastCGI seems to be a better solution, but is not as widely supported.

My question is: What interface should I use if I want my web apps to be compiled? CGI, FastCGI, what else? The interface needs to be supported into the far future, it needs to be efficient and fast. And there's also one more important factor: time. Coding the application itself is an acceptable time loss, but if I can only run the app on a dedicated server and have to manage the whole server myself, this can become quite cumbersome. I'd really like to use a solution that can be run on a managed server.

View 9 Replies


ADVERTISEMENT

Plesk 12.x / Linux :: Error Installing Application From Application Installer

Oct 13, 2014

whenever one of my customers tries to install an application from the application installer, they get an error that looks like this.

Error: Installation of WordPress at http://*******.com/wordpress failed. Non-zero exit status returned by script. Output stream: 'PHP Warning: mysql_connect(): Access denied for user 'ndari_wordpres_7'@'aeris.jdrepo.com' (using password: YES) in /opt/psa/var/apspackages/apscatalogSTqEEM.zip7b3ca133-9714-5d/cache/scripts/db-util.php on line 66 '.

Error stream: 'PHP Warning: mysql_connect(): Access denied for user 'ndari_wordpres_7'@'aeris.jdrepo.com' (using password: YES) in /opt/psa/var/apspackages/apscatalogSTqEEM.zip7b3ca133-9714-5d/cache/scripts/db-util.php on line 66 '.Click to expand...

View 2 Replies View Related

What Server For .NET Web & Application

Apr 15, 2008

I'm currently running some .NET 2.0 apps on a W2003 standard server but am in the process of ordering another server and not sure if I can get by with just a Windows web or Small Business server edition for the OS (because W2003 standard is so ridiculously expensive).

I need to run:

IIS & ASP.NET
PHP
MySQL

And

VB.NET applications
Some 3rd party applications (Mailbee etc.).
Email (POP3)

I don't have any clients accessing the server (all users hit the web app) although I do have about 10 or so POP3 accounts. Other than that I just use remote access or LogMeIn for administration.

View 1 Replies View Related

Application For Server Monitoring

May 31, 2009

can you recommend me any good application for linux server monitoring? I need CPU usage, HDD usage, RAM, etc...

View 8 Replies View Related

Identified Application Server

Feb 20, 2007

how i find that wheather the IIS running in my system is application server or webserver. how i defrentiate both visually.

View 1 Replies View Related

Dedicated Server Or Collocation For Web Application

Nov 10, 2008

We're a startup company located outside of the US that's deploying a web application that will be used by our clients in New York City and Boston. We're interested in deploying the app on a couple of strong (2XQuadCore with 4GB RAM each) servers. We're running CentOS and our bandwidth requirements are humble (10-100GB a month). Our application is database intensive. We also need 1G Ethernet between both servers, and a VPN SSL connection to the servers.

This is our first time hosting in the US, what would be the best way for us to go?

1. Buy our own servers and have them collocated to a data center?

2. Go for dedicated servers?

3. Other suggestions?

Other things we should be aware of?

View 10 Replies View Related

Missing Data In Server Socket Application

Oct 6, 2009

i developed a socket application to recive data from port.this application recvng data from a unit through port no 4444(Vehicle Tracking unit). this application recvng data and evrything is ok....but some times no anydata is coming in to this application.for eg:if application recves data 2 days after that 2 days it will recve one or two data only....again after 2 days it will recve all data correcly....that means lot of missing data we have....my question is whether this missing data is bse of my socket application or unit?

The manufacturing company telling us unit is sending the data continuiously..but some times this socket application is not recvng data in 2 days interval....i dont know how to solve this issue....is any other setting is required in server to recve data continuously....

i think socket application 100% is ok...unit maufactures telling unit also sending data continuously...then where the problem is???can anybdy share ur idea about this?

View 2 Replies View Related

Apache :: Server Becomes Unresponsive With Wsgi Application

Nov 20, 2013

I have Apache 2.2 installed on Windows to host a web2py application using wsgi.

Apache crashed once stating it had run out of worker threads, so I inscreased ThreadsPerChild to 500. It has since crashed/become unresponsive without giving anything in the error log.

I set up mod_status, and am looking for understanding what I see when looking at server-status page.

It says 135 requests currently being processed, 365 idle worker. However I don't think there are 135 people connected.

Here's the request lines:

SrvPIDAccMSSReqConnChildSlotClientVHostRequest
0-1253840/0/0W138495448300.00.000.00
... the line above is repeated identically 125 times
0-1253840/32/32W000.00.460.46127.0.0.1dalgety-svr8.havelock.intGET /server-status HTTP/1.1
0-1253840/0/0W52400.00.000.00192.168.202.109dalgety-svr8.havelock.intGET /HubForms/ProjectFolderIndexing/index HTTP/1.1

[Code] ....

Question:

1) What are those 125 requests, and why are they not exiting. Are they anything to worry about? why is there no Client/VHost/Request? Could they be from the python process? Could they be what's causing the issue?

2) The Acc entry 0/121/121 on /HubForms/capacity_requests/index - is this representative of an issue?

3) When I restart Apache, it typically says "Terminating 375 threads that failed to exit" but that number doesn't match up with anything. Are these the idle threads?

Also I'm not sure what "restart" actually means, i.e. what stops and what stays (i.e. why am I on generation 0-12?).

4) Is any of this anything to do with why Apache becomes unresponsive, or should I be looking elsewhere?

View 1 Replies View Related

Plesk 12.x / Windows :: Server Not Showing Application Vault

Apr 14, 2015

My new plesk 12 windows server was not showing the application vault (even after login as admin user). Hence I have changed the entry enabled = on in the file

C:Program Files (x86)ParallelsPleskadminconfpanel panel.ini as per [URL] ..... Now the application vault is showing well.

My question is, whether this is a new procedure change for Plesk 11/12? I believe, I used to see application vault enabled as default in all my other old servers.

View 8 Replies View Related

Windows Application 2003 Crashes On RAID 5 Server, Can I Recover Data

Jun 12, 2007

Windows Application 2003 crashed on RAID 5 server, we tried to take the NTFS files from the hardrive and mount them on a knobix which was booted from a cdrom drive. Knopix could read the files but it was unable to mount them I guess for compatiblity reasons.

Is there anyway we can get a backup of that ntfs file and restore our data?

View 2 Replies View Related

Plesk 11.x / Windows :: Java Web Application With Servlets Is Not Working On Parallels Server

Apr 29, 2013

We uploaded one .Net application and one Java Web application to Parallels server.

.Net application is configured by default.

Our Java web application has JSPs and Servlets.

With respect to our Java web application we are able to access the JSPs but any request to Servlet is not hitting the Servlet.

We are able to access either static JSP/HTML pages ONLY. But we need to process Servlet requests also.

View 1 Replies View Related

KVMoIP Web Interface

Mar 28, 2009

I have a HP IP Console Switch 3x1x16

Is there any web application to install a server and access KVM without the application HP desktop?

View 1 Replies View Related

Switch With A Web Interface

Mar 31, 2007

I've got about a dozen servers on a single Linksys 224 switch but it only has the choice of 10/100 for port speeds. I need something that can actually limit thru-put per port in 1mbps increments and also has snmp.

The obvious choice would be a Cisco, but I don't like to toss technologies I know nothing about into the systems that pay my rent and I just don't have the time to learn IOS right now. I can deal with a Linux command line, but I haven't heard of any Linux-based switches. I also don't have any serial ports on my latest laptop so I'd actually prefer a web-based interface like the consumer stuff has.

Lastly, it has to have gig-e uplinks like my existing Linksys because I'm going to be jumping up to a 200mbps commit pretty soon.

View 14 Replies View Related

Mailserver Setup With GUI Interface

Oct 21, 2009

I want to create a mailserver setup ( SMTP/POP3/IMAP/SSL) in my server which in public network.Can any one suggest the Webbased GUI interface tool which manages my mailserver setup . The tool must able to manage users ( creating mail users,allocating quato).

View 13 Replies View Related

Cisco Router For Terminating SMF SC Interface

Sep 9, 2009

I have a requirement where one of our partner is planning to connect to our datacenter using a dedicated leased line.

As per our partner, they will engage a Leased line vendor for this. This vendor will terminate the leased line ( Single mode fiber -- SC connector) to the Comm room of our Colocation provider.

I have next to nothing knowledge about fiber connectivity and have few questions in this regard.

Q1. If Single mode fiber is terminated at COLO's Comm room in form of SMF SC connector, what kind of cross connect should we request from COlo's comm room to our cabinet. ( SMF / MMF )

Q2. How are these cross connects terminated in cabinet? Do Colo provider use some kind of fiber patch panel or they simply provide a fiber link with SC/LC connectors at the end of it?

Q3. If cross connect needs to be SMF SC then which cisco routers support SMF SC interfaces? Do I need SC-LC patch cable?

(I looked at the various option but could only find the following GLC-LH-SM or GLC-ZX-SM for SMF connectivity. I read about these and found that GLC-LH-SM is used for terminating single mode fiber that spans up to 10 km and GLC-ZX-SM is used for terminating single mode fiber that spans up to 70 km in length. It looks as if both of these support LC connectors. Are these the only two SMF connectivity options? Do I need SC-LC patch cable )

Q4. Our partner only tells us that the terminated link will be terminated using SMF SC. How to figure out if GLC-LH-SM or GLC-ZX-SM is required.

View 5 Replies View Related

Setting Up Simple Webmail Interface

Jan 1, 2008

Current Setup

-------------
1.Reseller's account
2.cPanel
3.Horde and Squirrelmail

Current situation

----------------------
www.domain.com/webmail brings the user to a page that has links to both Horde and Squirrelmail

Assistance / Advice Needed On

---------------------------------------
How can I make www.domain.com/webmail point to a page that has a simple webmail interface rather that a page that has links to both Horde and Squirrelmail?

View 4 Replies View Related

Open Source Web-based Interface

Apr 7, 2008

What is the best open source web-based interface for system administration for Unix?

I found one named Webmin but I'm not sure if this is a stable project.

View 7 Replies View Related

Webhost With Nice Webmail Interface

Jun 15, 2008

I have 4 very low traffic websites hosted with Godaddy on a single hosting account. The thing is that I like their email interface and I totally hate cpanel webmail.

Godaddy webmail is pathetically slow these days and I am thinking of moving hosts. Is there any other webhost with a nice webmail interface such as GoDaddy's?

View 14 Replies View Related

Web Admin Interface Written In Java

May 13, 2007

does anyone know about control panel written in Java so I can run it in Tomcat (I don't wont to mix apache and php as I'll be hosting only a java site) ? so far I had a look at direct admin, webmin and lxmin.

View 6 Replies View Related

Plesk 12.x / Linux :: Mailman Web Interface 404

Sep 25, 2014

I have plesk 12 with dovecot+postfix and mailman installed but when i try to use mailman web interface I have 404 ...

View 2 Replies View Related

Cannot Perform 'chmod' On FTP Client Software Interface

Apr 14, 2009

I got a VPS with Linode and I have installed CentOS 5.2 32-bit, Apache, MySQL and ProFTPd. The server itself runs very OK, however, I have issues with running 'chmod' on the user interface with either FileZilla or CuteFTP pro.

Whenever I try to chmod 777 on a directory, I got this error on the FTP client interface:

Quote:

Command:SITE CHMOD 777 includes
Response:550 CHMOD 777 includes: No such file or directory

Why no such file or directory? weird. It's just on the server though. The FTP user is the owner/group of the directory I try to chmod to.

But I am able to run chmod on Putty.

View 7 Replies View Related

Anyone Got The Extreme Summit 24e3 Images One With SSH And Web Interface

Jun 18, 2008

I just picked up a Summit 24e3 and found it that the extremeware inside has no SSH (OMG) and Web interface. I am wondering if anybody got a firmware laying around that I may able to download off.

View 3 Replies View Related

Bandwidth Monitoring/Limiting And QoS One Interface Multi Ips

Mar 4, 2008

I currently use debian and have multiple (5+) ip address all assigned for a different purpose and usage. My issue is that i need the ability to accurately monitor the traffic being generated (and potentially graph via mrtg) additionally, I want the ability to enforce priority and restrictions per ip address.

Whilst on the subject I also have an openvpn setup which i want the ability to rate limit each user....

spend too much time trying to figure this out so now i'm asking for some help! More than happy to consider offers ($) for someone to do it for me...

View 1 Replies View Related

Plesk 11.x / Windows :: Unable To Connect - Web Interface

Aug 6, 2012

Lately whenever i try to connect to my Plesk Panel, I get Firefox's "Unable to connect" error and with Internet Explorer I get "Cannot display web page". I disabled all addons, still couldn't connect. Checked my Firewall, still nothing. I pinged the IP and got 51ms. My site is still up. And I just dont know what's wrong.

View 2 Replies View Related

Plesk 12.x / Linux :: Mobile Friendly Interface

Jul 16, 2014

Why is the mobile friendly interface only available in power user mode?

View 1 Replies View Related

Vmware :: Assign Public Interface IPs (provided By My DC) To Every Node

Nov 18, 2008

I am setting up Vmware in a test server.

Did a ./vmware-config.pl and pressed enter for all the options.

I am seeing vmnet0 and vmnet8 in ifconfig result.

Now, the server has 16 IPs. Not even added to server. Just provided by DC..

I have created few nodes via vmware-web-console. The nodes are created without any issue.

Now..

I am not seeing any option in vmware-web-console to assign IP address to vmware nodes.

How do I assign my public interface IPs (provided by my DC) to every node?

I read someting about bridge networking.

View 2 Replies View Related

Plesk 12.x / Linux :: Managing Multiple Servers From One Interface

Jun 3, 2015

Is Plesk capable of managing different servers from one interface?

View 2 Replies View Related

APF + BFD :: Eth0: Error Fetching Interface Information: Device Not Found

Sep 8, 2008

i have a problem when i wget anyfile after i install

APF+BFD into my server

my server is VPS ..

my VPS details is

---------------------
Server Name: bOx
User Name: b0x
Operating System: CentOS 5
RAM: 512 MB Guaranteed 2 GB BurstedTotal
Disk Space: 10 GB
Bandwidth Quota: 500 GB
Quota Used: 0 GB
Control Panel Type: cPanel (license enabled)
Server IP Address: 72.152.456.37
---------------------

now my VPS when i restart my APF its show me this
eth0: error fetching interface information: Device not found
eth0: error fetching interface information: Device not found

and my SSH Froze in this ..

View 12 Replies View Related

WHM/Cpanel Not Working Via Web Interface.. Sites Still Online..getting Access Denied

Aug 7, 2008

I have someone who manages my box.. but lately he has been MIA.. and very hard to contact.

All of a sudden I realized that I cannot reach my cpanel or whm..

when I go to www.domain.com/cpanel It just says checking for connection.. and doesn't go anywhere.

If I go to domain.com:2082 it says 401 Access Denied

I tried rebooting the box..

View 12 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved