Page 1 of 3 123 LastLast
Results 1 to 15 of 33

 

Thread: How long to Parse a data feed?

  1. #1
    Registered User

    Status
    Offline
    Join Date
    Nov 2006
    Posts
    55
    Thanks
    0
    Thanked 0 Times in 0 Posts


    Hi
    Ive had a new site developed by a programmer and he has set up a programme to grab the data feed and then parse this data into the correct headings and fields etc. The process seems to be taking forever, one retailer with over 300,000 products as been running for about 5 days now! im not a programmer myself so im not in a position to query this with the person who has done the site, he says there is nothing to speed this process up and I just have to be patient. Has anybody else experienced this length of time to parse a datafeed?
    Thanks

  2. #2
    Mogga's Avatar
    Chocaholic

    Status
    Offline
    Join Date
    Aug 2003
    Location
    Oldham
    Posts
    8,449
    Thanks
    518
    Thanked 228 Times in 176 Posts
    5 days?

    I'd go as far to say (and I'm not technical) its broken.
    --
    Gifts -/ wine,vouchers/Chocolate -/Garden
    Got a bingo site? Want a link. Get in touch.

  3. #3
    Tom
    Registered User

    Status
    Offline
    Join Date
    May 2005
    Posts
    238
    Thanks
    0
    Thanked 4 Times in 4 Posts
    Hehe 5 days No I would say that is a little bit long really. It may be that the script has been coded to go slow and be 'nice' to your server. Which is a very good idea as it can reduce the stress you're placing by inserting so many rows. But 5 days is a bit long I think! How is the script made do you know? PHP? Is it using a CSV file or XML?

    I'd get back to the guy and ask for details.

  4. #4
    Registered User

    Status
    Offline
    Join Date
    Feb 2005
    Posts
    58
    Thanks
    1
    Thanked 8 Times in 7 Posts
    I'd go as far to say that if it's taking more than a couple of minutes its broken :-)

  5. #5
    Registered User

    Status
    Offline
    Join Date
    Nov 2006
    Posts
    55
    Thanks
    0
    Thanked 0 Times in 0 Posts
    From what I can tell the site is php and the datafeed is a csv file

  6. #6
    Typing with both fingers.

    Status
    Offline
    Join Date
    Aug 2003
    Location
    Allt Y Coed Farm, North Pembrokeshire
    Posts
    4,123
    Thanks
    247
    Thanked 198 Times in 157 Posts
    Maybe it sends an email to someone and they type the data in manually

    Na 5 days sounds ages infact thats far too long considering you should be updating your datafeeds on a daily basis.

    Ta

  7. #7
    Registered User

    Status
    Offline
    Join Date
    Nov 2006
    Posts
    55
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Is it just that it can be done quicker but the server wont allow it unless I pay more money?

  8. #8
    Registered User

    Status
    Offline
    Join Date
    Apr 2007
    Location
    Manchester
    Posts
    236
    Thanks
    0
    Thanked 3 Times in 3 Posts
    To be brutally honest, it sounds like you need to be finding yourself a new developer. No developer worth their salt would accept a relatively small task lasting 5 days and simply tell the client 'to be patient'.

    Parsing 300,000 items from a feed shouldn't take more than 5 minutes, even for a badly optimised script running on a shared server.

  9. #9
    Registered User

    Status
    Offline
    Join Date
    Feb 2005
    Posts
    58
    Thanks
    1
    Thanked 8 Times in 7 Posts
    Put it this way, it you had say a Woolworths feed, then you could use the following code to load it into a MYSQL database and it would take a couple of minutes tops.

    LOAD DATA INFILE 'myfilename'
    INTO TABLE mytablename
    FIELDS TERMINATED BY ',' OPTIONALLY ENCLOSED BY '"'
    LINES TERMINATED BY '\n'

    regards,
    David

  10. #10
    Tom
    Registered User

    Status
    Offline
    Join Date
    May 2005
    Posts
    238
    Thanks
    0
    Thanked 4 Times in 4 Posts
    To be fair to the developer here it might not be their fault. You might just have to get a host that will allow you to upload more data, quicker. It can take quite a bit of to process large files and insert into mysql especially if they are over 50mb.

    Saying that I would expect 5 mins rather than 5 days

    What kind of hosting have you got? Is it a shared server?

  11. #11
    Registered User

    Status
    Offline
    Join Date
    Nov 2006
    Posts
    55
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Yes it is a shared server, he said that only way to make it quicker would be to move the site to its own dedicated server. "The script uses both PHP and Linux commands to download and extract a ZIP file allowing the unzipped CSV file to be processed into the MySQL database" this is apparently the way its being dealt with at the moment!

  12. #12
    DavidCartlidge's Avatar
    Registered User

    Status
    Offline
    Join Date
    Oct 2005
    Posts
    441
    Thanks
    6
    Thanked 16 Times in 14 Posts
    Quote Originally Posted by rayneham View Post
    "The script uses both PHP and Linux commands to download and extract a ZIP file allowing the unzipped CSV file to be processed into the MySQL database" this is apparently the way its being dealt with at the moment!
    Nothing wrong with that - ask him why it takes 5 days and not 5 minutes.

  13. #13
    lethal0r's Avatar
    Registered User

    Status
    Offline
    Join Date
    Dec 2005
    Posts
    201
    Thanks
    16
    Thanked 5 Times in 5 Posts
    doing something like that will or SHOULD only take hours not days.

    its probably more your server than the coder - if they can code something like that then im sure they know what theyre doing.

  14. #14
    Registered User

    Status
    Offline
    Join Date
    Nov 2006
    Posts
    55
    Thanks
    0
    Thanked 0 Times in 0 Posts
    From what the programmer as told me the script goes through every entry checking that its not a duplicate entry, he says they used to use the code as described above and that it would work really quick but give messy results in the fields!

  15. #15
    tbp
    Registered User

    Status
    Offline
    Join Date
    Dec 2006
    Posts
    1,998
    Thanks
    0
    Thanked 22 Times in 22 Posts
    There is definately something wrong, as I mentioned in the other thread about this.

    Even on a shared server, doing duplicate checking, it should not take 5 days!

    Something is wrong with the code, it must be incredibly inefficient! With code there are a number of different ways of getting the same job done. All the ways "work", but some take much longer than other ways.

    If you want to pm me with more details, and possibly send the file over, i`ll take a quick look and give you specific advice.

Page 1 of 3 123 LastLast


Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. The Good Feed Guide (For Merchants)
    By clint45 in forum Programming
    Replies: 18
    Last Post: 07-01-09, 10:54 PM
  2. Lxdirect Updated Data Feed
    By LxDirect James in forum Commission Junction
    Replies: 2
    Last Post: 14-07-05, 10:57 AM
  3. Lxdirect Updated Data Feed
    By LxDirect James in forum Affiliate Window & buy.at
    Replies: 0
    Last Post: 30-06-05, 02:00 PM
  4. Product Data Feed System
    By paidonresults in forum Paid On Results
    Replies: 20
    Last Post: 22-12-04, 10:21 AM
  5. Data Feed - What do you need?
    By SillyJokes in forum Affiliate Marketing Lounge
    Replies: 13
    Last Post: 26-09-03, 10:36 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
To Top

Content Relevant URLs by vBSEO 3.5.0 RC2