Sponsored Content
Top Forums Web Development Web development language choice? Post 302549308 by Corona688 on Monday 22nd of August 2011 02:48:58 PM
Old 08-22-2011
Quote:
Originally Posted by Neo
Maybe... but I have never had a problem with WP and I actually manage a number of web sites that use WP. Memory and CPU cycles are cheap.
Not cheap enough. Smilie I use apache all the time on not all that new hardware, properly tuned it works.
Quote:
Many say Apache is also a "memory and CPU hog" but it does not stop the majority of web admins in the world from using Apache versus another web server Smilie
I have a home server that hosts various things for myself and friends. It wasn't much but it happily ran multiple different websites/forums/wiki via Apache, some MMO, a bunch of databases, some file storage, folding@home, and much more besides.

When one of my hosted sites wanted to move to wordpress, I needed to upgrade the memory fourfold, the CPU several generations, to accommodate one instance.

There exists tutorials and mods all over the internet for making Wordpress less of a burden, I'm skeptical they'd exist if it didn't waste resources.

I won't mince words. Wordpress is a pig.
 

6 More Discussions You Might Find Interesting

1. News, Links, Events and Announcements

The Development of the C Language

LINK The Development of the C Language http://cm.bell-labs.com/cm/cs/who/dmr/chist.html By: Dennis M. Ritchie Bell Labs/Lucent Technologies Murray Hill, NJ 07974 USA Paper History of C Language Development. B to C to BCPL (Ansi Standard). Check it out. This paper studies its evolution &... (0 Replies)
Discussion started by: killerserv
0 Replies

2. UNIX for Dummies Questions & Answers

Best development language to monitor the unix server

Hi, I am supposed to create the website to perform some monitoring and management activities on unix server. Activities includes cpu usage,displays currently runing processes,deleting files on the server and so on. Please tell which is best web based language(.net or java) to develop... (6 Replies)
Discussion started by: S_venkatesh
6 Replies

3. Programming

How is a new Web Development language written ?

I'm wondering how programmers develop new Web Development languages because I want to learn how everything begins from the start. Let's say I'm planning to write a new language for the Web. How do I do this? Is there anyone who knows about the way Web Development languages first appear ? I'm asking... (1 Reply)
Discussion started by: Anna Hussie
1 Replies

4. Programming

How is a new Web Development language written ?

I'm wondering how programmers develop new Web Development languages because I want to learn how everything begins from the start. Let's say I'm planning to write a new language for the Web. How do I do this? Is there anyone who knows about the way Web Development languages first appear ? I'm... (3 Replies)
Discussion started by: Anna Hussie
3 Replies

5. Web Development

Fundamental question on web development

I am just getting into web development and I want to understand it better and more theoretically. :D So by now I can create some basic websites with html, css, php, etc, but what I do not understand is how is this then projected into the world wide web or what we call the internet??? Of course... (2 Replies)
Discussion started by: vas28r13
2 Replies

6. Web Development

Top 8 Web Development Trends 2019

Top 8 Web Development Trends 2019 https://www.youtube.com/watch?v=VLm3Y7Odb74 (0 Replies)
Discussion started by: Neo
0 Replies
DBI::ProfileDumper::Apache(3)				User Contributed Perl Documentation			     DBI::ProfileDumper::Apache(3)

NAME
DBI::ProfileDumper::Apache - capture DBI profiling data from Apache/mod_perl SYNOPSIS
Add this line to your httpd.conf: PerlSetEnv DBI_PROFILE DBI::ProfileDumper::Apache Then restart your server. Access the code you wish to test using a web browser, then shutdown your server. This will create a set of dbi.prof.* files in your Apache log directory. Get a profiling report with dbiprof: dbiprof /usr/local/apache/logs/dbi.prof.* When you're ready to perform another profiling run, delete the old files rm /usr/local/apache/logs/dbi.prof.* and start again. DESCRIPTION
This module interfaces DBI::ProfileDumper to Apache/mod_perl. Using this module you can collect profiling data from mod_perl applications. It works by creating a DBI::ProfileDumper data file for each Apache process. These files are created in your Apache log directory. You can then use dbiprof to analyze the profile files. USAGE
LOADING THE MODULE The easiest way to use this module is just to set the DBI_PROFILE environment variable in your httpd.conf: PerlSetEnv DBI_PROFILE DBI::ProfileDumper::Apache If you want to use one of DBI::Profile's other Path settings, you can use a string like: PerlSetEnv DBI_PROFILE 2/DBI::ProfileDumper::Apache It's also possible to use this module by setting the Profile attribute of any DBI handle: $dbh->{Profile} = "DBI::ProfileDumper::Apache"; See DBI::ProfileDumper for more possibilities. GATHERING PROFILE DATA Once you have the module loaded, use your application as you normally would. Stop the webserver when your tests are complete. Profile data files will be produced when Apache exits and you'll see something like this in your error_log: DBI::ProfileDumper::Apache writing to /usr/local/apache/logs/dbi.prof.2619 Now you can use dbiprof to examine the data: dbiprof /usr/local/apache/logs/dbi.prof.* By passing dbiprof a list of all generated files, dbiprof will automatically merge them into one result set. You can also pass dbiprof sorting and querying options, see dbiprof for details. CLEANING UP Once you've made some code changes, you're ready to start again. First, delete the old profile data files: rm /usr/local/apache/logs/dbi.prof.* Then restart your server and get back to work. MEMORY USAGE
DBI::Profile can use a lot of memory for very active applications. It collects profiling data in memory for each distinct query your application runs. You can avoid this problem with a call like this: $dbh->{Profile}->flush_to_disk() if $dbh->{Profile}; Calling "flush_to_disk()" will clear out the profile data and write it to disk. Put this someplace where it will run on every request, like a CleanupHandler, and your memory troubles should go away. Well, at least the ones caused by DBI::Profile anyway. AUTHOR
Sam Tregar <sam@tregar.com> COPYRIGHT AND LICENSE
Copyright (C) 2002 Sam Tregar This program is free software; you can redistribute it and/or modify it under the same terms as Perl 5 itself. perl v5.8.0 2002-11-29 DBI::ProfileDumper::Apache(3)
All times are GMT -4. The time now is 09:16 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy