Find Jobs
Hire Freelancers

Develop a web cache for a generic MySQL-driven site containing 1.14 million rows

$30-250 USD

Completed
Posted over 11 years ago

$30-250 USD

Paid on delivery
My website is based on a generic (NOT WordPress or other systems!) social network script. Every day it includes about 1,000 new rows to its' main MYSQL table. Since the site now contains 1,143,749 rows, it is beginning to slow down. I need someone who can create the following caching system for the site: 1. the general URL structure of an individual post is: http://~site~.com/stories/2134183/[login to view URL] The respective entries in the MySQL table to create this URL are: - `story_id` int(11) - `story_title` varchar(255) 2. I want to limit the cache to entries in the MySQL database up to a certain number. The above post has the number 2134183, so if I set this limit to "1500000", the HTML pages of all stories with a `story_id` up to 1500000 should be cached on the server's HDD the first time they have been requested from the internet. 3. There must be an option to manually and/or periodically clear the cache. 4. Due to the large number of rows/stories, it may be required to store the generated cache files in different folders. These folders could be created based on their story_id. For example, the cache could have a structure from "/000/001" to "/999/999" where each folder contains a maximum of 1,000 files. The cached HTML file of the above example (story_id = 2134183) would then be: /002/134/rewritten_story_title.html. 5. Based on the story_id of a requested URL, the caching system must determine whether the story is retrieved from the cache or if it is to be created from the entry in the MySQL database. I want to mention here again that this is NOT a WordPress/Drupal/Joomla based site but a generic site. Other solutions like NGINX do also not work with this site. Consequently, some code needs to be included in the respective file(s) ("[login to view URL]" and/or "[login to view URL]").
Project ID: 4066812

About the project

4 proposals
Remote project
Active 11 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
Hello Sir, Please check PMB
$100 USD in 2 days
5.0 (84 reviews)
5.8
5.8
4 freelancers are bidding on average $125 USD for this job
User Avatar
Let me do it.
$150 USD in 1 day
4.8 (39 reviews)
5.8
5.8
User Avatar
Hi I can do this project implementing a file based caching or(if you have multiple servers, I can do memcached).
$50 USD in 3 days
0.0 (0 reviews)
0.0
0.0
User Avatar
We can give an elegant and professional 3D touch. I'll deliver the best results because I believe in building long-term relationship with my clients. I am eagerly waiting for your response.
$200 USD in 10 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of VIETNAM
Singapore, Vietnam
5.0
56
Payment method verified
Member since Oct 27, 2010

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759) & Freelancer Online India Private Limited (CIN U93000HR2011FTC043854)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.