Forum     

Go Back   Digit Technology Discussion Forum > Software > Open Source
Register FAQ Calendar Mark Forums Read

Open Source A place where you can talk to like-minded people about the fastest growing software movement today! Discuss anything and everything about Open Source software and Operating Systems.


Closed Thread
 
LinkBack Thread Tools Display Modes
Old 08-05-2006, 09:58 AM   #1 (permalink)
In The Zone
 
Join Date: Aug 2004
Posts: 387
Exclamation Help Me


I'm not a smart guy for this field and I need some help from the community. Right now our free image hosting site uses about 30gigs a day of bandwidth and has about 3gigs of images hosted on the server. Yesterday I installed a bandwidth recording function to use mod_rewrite to pipe all of the images through a simple php script which simply goes into the database to update the views details.

This however ended up in disaster when my host pulled it down due to causing a load average of over 60 to 100. Yep, php scripts don't work that well.

I'm left with either (1) getting a powerful dedicated to run these php scripts which I never want to do since it'll cost a fortune or (2) program something that does the same task in another programming language so that it won't cause such high serverloads.

Right now I'm wanting to go with programming a module that will work along side the web server to record all this data. But I'm not a linux programmer and know nothing about it. I'm thinking a module something like a elaboration of mod_bandwidth which works along apache or lighttpd but get it to record bandwidth data for every file not for the whole domain.

Any help will be appreciated! I'm not asking for someone to do it all for me, even the most little tip I can get is worth posting here. Even ask your friends if they can help, any help goes a long way.

Thanks everyone!

Can anybody help.
__________________
www.digizeal.org
Tech support + JAVA and Cisco dedicated subforums..
Come and check
anubhav_har is offline  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 08-05-2006, 01:31 PM   #2 (permalink)
Wise Old Owl
 
JGuru's Avatar
 
Join Date: Dec 2005
Location: Space-time continuum
Posts: 1,646
Default Re: Help Me

You are right PHP doesn't scale well with lot of workload. You can use Java (J2EE) Servlets or JSP for the same. Try it with Java and tell me.
Goodluck
JGuru is offline  
Old 08-05-2006, 01:34 PM   #3 (permalink)
In The Zone
 
Join Date: Aug 2004
Posts: 387
Default Re: Help Me

Ok thanks.. but is there a way with PHP??
__________________
www.digizeal.org
Tech support + JAVA and Cisco dedicated subforums..
Come and check
anubhav_har is offline  
Closed Thread

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


 
Latest Threads
- by topgear

Advertisement




All times are GMT +5.5. The time now is 08:43 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2