Find Jobs
Hire Freelancers

Optimization PHP Script to reduce MySQL load

$100-200 USD

已关闭
已发布将近 19 年前

$100-200 USD

货到付款
Autosurf script that is written on PHP and runs on MySQL server. After using the script for a couple of months with more than 5,000 users, realised that the script is not very efficient in utilizing my server's resources. Have a dedicated 2.6 Xeon and 2GB of RAMS, yet my script is hitting the limits. Causing page time outs, MySql service to stop/hang. Urgently need to optimize the script to reduce the server load. Think the script is poorly written and not closing sql connections as I'm not a programmer myself. Attached is the entire script for those interested in taking up this project. Description of the autosurf script: Users sign up as a user. Users have to surf up to 50 sites a day to earn credits to advertise their own sites and also earn some money. Users run '[login to view URL]'. There's a 20 sec timer (javascript) that will rotate randomly to the next site on the database. What happens here is each time the timer runs out to 0, it will update the database that the user have surfed 1 site, credits the user by 1 credit, reads the database to pull out a new site for the user to view, and deduct the site owner's credits by 1. This goes on until the user hits 50 credits, then the script will compute the user's earnings for that day and updates the appropriate table fields. Thinking to change the script to updates the database once every 5 or 10 sites (configurable by me). Also to store sites to be viewed on a local cache or cookie so that it will read from the local machine instead of the database every 20 seconds. Feel free to comment or ask me any questions. ## Deliverables 1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. 2) Deliverables must be in ready-to-run condition, as follows (depending on the nature of the deliverables): a) For web sites or other server-side deliverables intended to only ever exist in one place in the Buyer's environment--Deliverables must be installed by the Seller in ready-to-run condition in the Buyer's environment. b) For all others including desktop software or software the buyer intends to distribute: A software installation package that will install the software in ready-to-run condition on the platform(s) specified in this bid request. 3) All deliverables will be considered "work made for hire" under U.S. Copyright law. Buyer will receive exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site per the coder's Seller Legal Agreement). ## Platform Runs on apache web server, PHP and MySql with a bit of javascript.
项目 ID: 3818937

关于此项目

14提案
远程项目
活跃19 年前

想赚点钱吗?

在Freelancer上竞价的好处

设定您的预算和时间范围
为您的工作获得报酬
简要概述您的提案
免费注册和竞标工作
14威客以平均价$111 USD来参与此工作竞价
用户头像
See private message.
$85 USD 在5天之内
5.0 (14条评论)
4.9
4.9
用户头像
See private message.
$85 USD 在5天之内
4.8 (23条评论)
4.1
4.1
用户头像
See private message.
$170 USD 在5天之内
4.8 (12条评论)
4.0
4.0
用户头像
See private message.
$127.50 USD 在5天之内
5.0 (11条评论)
3.1
3.1
用户头像
See private message.
$93.50 USD 在5天之内
5.0 (13条评论)
2.7
2.7
用户头像
See private message.
$104.55 USD 在5天之内
0.5 (2条评论)
0.2
0.2
用户头像
See private message.
$100.30 USD 在5天之内
5.0 (2条评论)
0.0
0.0
用户头像
See private message.
$127.50 USD 在5天之内
0.0 (0条评论)
0.0
0.0
用户头像
See private message.
$170 USD 在5天之内
0.0 (0条评论)
0.0
0.0
用户头像
See private message.
$85 USD 在5天之内
0.0 (0条评论)
0.0
0.0
用户头像
See private message.
$110.50 USD 在5天之内
0.0 (0条评论)
0.0
0.0
用户头像
See private message.
$85 USD 在5天之内
0.0 (0条评论)
0.0
0.0
用户头像
See private message.
$127.50 USD 在5天之内
0.0 (0条评论)
0.0
0.0
用户头像
See private message.
$85 USD 在5天之内
0.0 (1条评论)
0.8
0.8

关于客户

MALAYSIA的国旗
Malaysia
5.0
1
会员自6月 4, 2005起

客户认证

谢谢!我们已通过电子邮件向您发送了索取免费积分的链接。
发送电子邮件时出现问题。请再试一次。
已注册用户 发布工作总数
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
加载预览
授予地理位置权限。
您的登录会话已过期而且您已经登出,请再次登录。