Find Jobs
Hire Freelancers

Performance improvement and php code on a google maps project

$30-5000 USD

Cancelled
Posted over 12 years ago

$30-5000 USD

Paid on delivery
Analyze and improve performance of an php/mysql google maps application. With growing data to display on screen current application has become too slow reading from the Mysql database and updating the map, almost to a point of nothing is being displayed at all. You must therefore be able to analyse the current use of the MYSQL database and update/improve the performance of the php database searches. Furthermore the coding must be improved. See below Other information I see that in the index page, it tries to load all data from place and multimedia, which comes to about 11000+ records. I dont think this is going to workout any ways. The map mashup uses very old google implementation. ...no sql abstraction or framework is used, whole of the code is handwritten. With a lot of places having checking affected_rows after issuing a select query. Normally we check the num_rows (mysql_num_rows) after issuing a select query. and check mysql_affected_rows after an update to make sure the update went through. Further information: in the [login to view URL] ( which is loaded to show the main page ), the tables place and multimedia are joined with a short_name ( as far as i remember, need to check back ) and no other constraints and an order by also. This will load the mysql system to use a table scan and eventually use a file sort. Also all the tables you provided were either MyISAM or InnoDB, could not find any ndbcluster tables, means the application does not use cluster facilities, and sits on a single db node, which worsens the problems. And in the [login to view URL] itelf, a javascript parseable string with delimiters like '++++/@@@' are created and passed to the onload event of the body, creating about 350KB single string to be parsed using javascript. In such cases I normally use php function json_encode ([login to view URL]), and pass the json string to javascript such that parsing can be real low memory intensive. But for google maps where we are adding points which are clickable to show messages or popups, much lighter would be to create an xml file with the kml dtd and let google handle rendering of the marks. Finally: -Code updated to newest API -Cluttering on map added/allowed
Project ID: 3699254

About the project

2 proposals
Remote project
Active 12 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
2 freelancers are bidding on average $925 USD for this job
User Avatar
See private message.
$850 USD in 14 days
4.6 (113 reviews)
7.7
7.7
User Avatar
See private message.
$1,000.45 USD in 14 days
5.0 (2 reviews)
2.2
2.2

About the client

Flag of DENMARK
Skanderborg, Denmark
5.0
41
Payment method verified
Member since Nov 12, 2004

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)
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.