Find Jobs
Hire Freelancers

Cron database query and page building script

$100-300 USD

已完成
已发布大约 16 年前

$100-300 USD

货到付款
My first project here. However I've used other freelance sites before. I have a gallery directory script that diplays a listings of links on the output pages. Right now the output pages work like this; I create a list of keywords in the admin area. For each keyword, the script will create a [login to view URL] script. When a surfer visits [login to view URL] page, it will query the database, find gallery links with description that matches the keyword string and displays them. It also creates spanning pages i.e. [login to view URL], [login to view URL], etc depending on how many gallery records in the database that matches the keyword string. There are templates and settings in the admin to customize how the output pages looks and max spanning pages. Also to prevent the [login to view URL] pages from querying the database everytime a surfer visits the page, all [login to view URL] pages caches itself in a text file for a certain amount of time. So when someone visits any [login to view URL] page, it first checks to see if there is a current cache, if there is, then it will just display the cache version and doesn't need to query the database. If there is no cache or if the cache has already expired, it will query the database, display the output results, and cache itself for a specific amount of time (Currently 6 hours). Here is the problem: Although the cache works, when there are lots of records in the database, I mean 100,000 or above, it takes a long time to query the database, cache itself, and display results. Of course if a [login to view URL] page has already been cached it displays the output pages pretty fast because it doesn't have to query the database. I need to have the cache expire because that way output pages and results are constantly updated and fresh when I add new records to the database. Here is what I need: I need a cron script that I can run daily (or any amount of time) to do one of the following depending on what would be the best solution. 1. Query the database, use the template files and settings, and build all [login to view URL] including all spanning pages as static pages. I would run the cron daily and everytime it runs it will overwrite any existing [login to view URL] output pages and build new static pages. That way I can have fresh output pages daily, and it won't load slow to the surfers since it doesn't have to do any database queries. Or 2. A cron script that will visit all [login to view URL] pages and have them cache itself. I would have to run this cron script every 6 hours when caches expires. That way the [login to view URL] pages doesn't have to wait for a surfer to visit it to cache itself. I prefer to have the first option. The cron script has to be coded in a way so that it doesn't overload the server when building the output pages, because I will probably have over 1000 keywords and 25 spanning pages for each keyword. So it will be building over 25,000 pages daily. Private Message me if you have any questions before bidding. Thanks!
项目 ID: 215083

关于此项目

8提案
远程项目
活跃16 年前

想赚点钱吗?

在Freelancer上竞价的好处

设定您的预算和时间范围
为您的工作获得报酬
简要概述您的提案
免费注册和竞标工作
颁发给:
用户头像
Hi, please, check your PM
$100 USD 在0天之内
5.0 (327条评论)
7.5
7.5
8威客以平均价$100 USD来参与此工作竞价
用户头像
Can be done. Escrow payment is required before i start working on the project. Regards.
$100 USD 在5天之内
5.0 (133条评论)
5.9
5.9
用户头像
Please check PMB!!
$100 USD 在5天之内
5.0 (16条评论)
5.1
5.1
用户头像
Hi! plz see PMB. Regards, DiggitalBrains
$100 USD 在3天之内
5.0 (30条评论)
5.0
5.0
用户头像
Hi, please check PM, thanks
$100 USD 在2天之内
5.0 (7条评论)
3.0
3.0
用户头像
HI. Please check pmb
$100 USD 在5天之内
5.0 (2条评论)
2.4
2.4
用户头像
I can prepare this script. Please see some details in private message also. Thank you.
$100 USD 在1天之内
0.0 (0条评论)
0.0
0.0
用户头像
I hope that I can help you. Escrow is request. Thanks.
$100 USD 在7天之内
0.0 (0条评论)
0.0
0.0

关于客户

UNITED STATES的国旗
Los Angeles, United States
5.0
44
付款方式已验证
会员自6月 14, 2007起

客户认证

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