> HAPPY NEW YEAR EVERYONE!!!! > > OK - new year, new beginnings - > > I am doing all I can to advance my own skills and improve my > services... > > Couple questions (Don't know if anyone can help with the 2nd > question and > beyond, but hey - everyone on this list is a brilliant web > guru so why not > ask right?) > > 1. Does 2 CPUs on a Windows 2k server running CF 5 > enterprise make more > sense than adding RAM? I have a Compaq 1600r server, with > 512 megs of > RAM, and one 500 mhz CPU...
As others have said doing looking at some PerfMon results would help make this decision. You might also want to consider what you're running. If this is a dedicated CF Server (no other software running) then another processor will be an overall benefit. However if your applications are doing a lot of waiting (for the database, for external resources, etc) then you may find that another processor doesn't help much (since it's idle most of the time waiting for responses). However if your CF apps are code heavy or feature quick staccato pages (lots of includes, custom tags, etc) then you should see a marked improvement with two procs. If the server is serving multiple duty (both a CF and a Database server for example) then two procs will allow each application a little "room". If this box is also a work station then two procs will make a HUGE difference in response time in multi-tasking (running both CF Server, Studio, a graphics app, etc). In the end tho' you might be surprised: you should really be able to do both for very little money. You might want to go dually AND up your RAM to a Gig. ;^) > 2. Several prospective clients want someone skilled in PHP > and MySQL... > would there be conflicts running PHP on my server alongside CF? Not at all. And both CF and PHP can happily access the same databases. > 3. If I teach myself PHP can I co-mingle PHP and CF on the same page? Nope. At least not in the way I assume you're asking. You can make CF and PHP pages work together via standard connective tech (HTTP, databases, the file system, etc) but this isn't "on the same page" (for example you might build a tool that import log files in to a database in PHP and then build the user interface for that tool in CF - both apps would access the same database). > 4. PHP - cgi version or Server API version? Pro/con In a general sense the Server API version of any app server is "better" (faster, more integrated, etc) but it really depends on the app. You might post this to a PHP group and get their opinion. For the most part however you can assume that the Server API version will be the option of choice. (Consider this as you would a native Database driver vrs an openconnectivity spec like ODBC - the native driver is almost always more performant and supports more features, but the ODBC driver will work just about all the time even in cases where the native driver can't) Good luck! Jim Davis ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm

