pancakes

MicrostockGroup Sponsors


Author Topic: Outage and 503 Update  (Read 7466 times)

0 Members and 1 Guest are viewing this topic.

Istock News

« on: September 25, 2007, 11:52 »
0
Thank you for your support during this trying time. We realize how frustrating the site stability issues are. Like you, we rely on the site for our design needs, income and pretty much every social interaction we have throughout the day.

Please don"t take our silence on the topic as being ignorant to the problem. There are 60+ people working on this issue here at iStock HQ. It"s without a doubt, our top priority. I would also like to personally apologize to all of you as this is ultimately my fault for not seeing this issue coming and planning accordingly. This Summer we added a lot of new hardware in preparation for the September rush. We received way more traffic than expected. Our new hardware doesn"t really seem to have helped. It appears as though we"re reaching the upper limits of what MySQL can do, which is leading us to re-architect large portions of the site in short periods of time. For those who are a little more technical, the basic problem occurring with MySQL is messy recoveries from locked queries. This is generally what is causing the 503 errors. We work constantly to optimize queries, but most recently the entire technical staff has been pitching in to solve this situation.

We will try more diligently to keep you informed about new releases, code pushes and changes. We are positive that we"re making progress. There are code releases several times per day and a couple more coming today. With some luck and your support, the problems will be solved shortly.

      


« Reply #1 on: September 25, 2007, 12:02 »
0
I will try to be nice and alleviate the problem a little by not checking my stats every 20min :)

I wonder how much traffic is due to contributors just playing around (forums,...)


« Reply #2 on: September 25, 2007, 12:31 »
0
I haqve wondered that as well . I suppose if it would help to ease the load on the entire system,IS's it folks would shut the forums down. But, not being an IT expert myself, this is purely speculation on my part. Hope it is all resolved soon!

« Reply #3 on: September 25, 2007, 12:42 »
0
iStockphoto is trying to make MySQL the scapegoat.  That is just plain ridiculous.  For a database to be the bottleneck is extremely rare.  Usually the application code is the problem (which is my bet in this case as well).  They still refuse to take ownership of this problem and want to move the blame elsewhere.

Google, Yahoo, and Wikipedia all use MySQL and all of them are WAY larger and don't have these issues.  Why is that?

« Reply #4 on: September 25, 2007, 12:51 »
0
Google, Yahoo, and Wikipedia all use MySQL and all of them are WAY larger and don't have these issues.  Why is that?
Maybe it has something to do with accounting/bookkeeping/transactions - the sites you mentioned aren't retail outlets.

« Reply #5 on: September 25, 2007, 13:05 »
0
Google, Yahoo, and Wikipedia all use MySQL and all of them are WAY larger and don't have these issues.  Why is that?

Maybe it has something to do with accounting/bookkeeping/transactions - the sites you mentioned aren't retail outlets.


IS is trying to blame MySQL for not being able to handle the amount of transactions that they have.  Here is the exact quote from IS: "We ran up against a known bug in mySQL 5 (which is what the site runs on). We simply can't process any more transactions per second."

To a database, a transaction is a transaction is a transaction.  A database doesn't know (or care) whether you are buying, selling, storing info, seeking info, etc.  To a database, it really doesn't matter whether you are storing text, numbers, currency, images, sound, signatures, etc. It's still all a transaction.

It's the application that discerns the difference in what is being stored in the database (via the business rules layer of an n-tier system).

Google and Yahoo definitely have WAY more transactions than IS, yet their implementation of MySQL doesn't seem to have these issues.

Thus, the obvious conclusion is that it is not the database, but it is their application code that is the problem.

BTW, both Google and Yahoo do have sales transactions.  Check out Google Products (http://www.google.com/products) or Yahoo Shopping (http://shopping.yahoo.com/).

« Reply #6 on: September 25, 2007, 13:48 »
0
I wonder how much traffic is due to contributors just playing around (forums,...)


Shutterstock seems to do things differently, we go to a different site to check stats and play on the forum.  In my brief experience at SS, there hasn't been any of these monstrous troubles the others eventually stumble into that I've noticed.  I wouldn't be surprised if contributors spend more time than purchasers on these sites.

« Reply #7 on: September 25, 2007, 16:40 »
0
Did they hire FT programmers?  :)

Regards,
Adelaide

« Reply #8 on: September 25, 2007, 16:58 »
0
Google, Yahoo, and Wikipedia all use MySQL and all of them are WAY larger and don't have these issues.  Why is that?

Maybe it has something to do with accounting/bookkeeping/transactions - the sites you mentioned aren't retail outlets.


IS is trying to blame MySQL for not being able to handle the amount of transactions that they have.  Here is the exact quote from IS: "We ran up against a known bug in mySQL 5 (which is what the site runs on). We simply can't process any more transactions per second."

To a database, a transaction is a transaction is a transaction.  A database doesn't know (or care) whether you are buying, selling, storing info, seeking info, etc.  To a database, it really doesn't matter whether you are storing text, numbers, currency, images, sound, signatures, etc. It's still all a transaction.

It's the application that discerns the difference in what is being stored in the database (via the business rules layer of an n-tier system).

Google and Yahoo definitely have WAY more transactions than IS, yet their implementation of MySQL doesn't seem to have these issues.

Thus, the obvious conclusion is that it is not the database, but it is their application code that is the problem.

BTW, both Google and Yahoo do have sales transactions.  Check out Google Products (http://www.google.com/products) or Yahoo Shopping (http://shopping.yahoo.com/).



i don't know much about programing things but i heard someone say before (perhaps it was on here somewhere) that this is the same problem friendster  ran into a little while ago... maybe someone else has more info  ???

« Reply #9 on: September 25, 2007, 18:58 »
0
To a database, a transaction is a transaction is a transaction.  A database doesn't know (or care) whether you are buying, selling, storing info, seeking info, etc.  To a database, it really doesn't matter whether you are storing text, numbers, currency, images, sound, signatures, etc. It's still all a transaction.

It's the application that discerns the difference in what is being stored in the database (via the business rules layer of an n-tier system).

Google and Yahoo definitely have WAY more transactions than IS, yet their implementation of MySQL doesn't seem to have these issues.

Thus, the obvious conclusion is that it is not the database, but it is their application code that is the problem.

BTW, both Google and Yahoo do have sales transactions.  Check out Google Products (http://www.google.com/products) or Yahoo Shopping (http://shopping.yahoo.com/).


You don't do distributed databases do you? I don't know how to explain their situation (messy recoveries from locked queries) to people that don't have com sci degrees because it is a graduate level computer science topic, but lets just say that when it comes to databases, a transaction isn't a transaction, isn't a transaction (especially on distributed databases).

Trust me when I tell you that the problem would be with MySQL, which is why I'm pissed! This is a problem they should have seen coming and should have migrated to Oracle. MySQL is not meant for this type of application at this size.

As an iStock exclusive I'm pissed that iStock didn't see this coming because it obviously means they didn't hire anyone with a graduate degree in computer science which should be mandatory for a large company that has a mission critical database. Here is what I would call an executive summary of the differences.
http://iheavy.com/node/51
 

« Reply #10 on: September 25, 2007, 19:02 »
0
i don't know much about programing things but i heard someone say before (perhaps it was on here somewhere) that this is the same problem friendster  ran into a little while ago... maybe someone else has more info  ???
Yeah, that was me. Friendster ran into this exact problem. If someone wants a technical explanation just p.m. me.

« Reply #11 on: September 26, 2007, 01:39 »
0
Yingyang0...  I totally agree and seriously can't believe something the size of ISP would be silly enough to go for a freeware program like MYSQL and not going for something more robust from the start...even SQL would have been a better option!

The few thousand dollars saved for not buying licenses required...has well and truly been lost.

JC

« Reply #12 on: September 26, 2007, 02:31 »
0
i don't know much about programing things but i heard someone say before (perhaps it was on here somewhere) that this is the same problem friendster  ran into a little while ago... maybe someone else has more info  ???
Yeah, that was me. Friendster ran into this exact problem. If someone wants a technical explanation just p.m. me.

ah yes.. now i remember. thanks for the post in this thread as well.

« Reply #13 on: September 26, 2007, 05:10 »
0
i don't know much about programing things but i heard someone say before (perhaps it was on here somewhere) that this is the same problem friendster  ran into a little while ago... maybe someone else has more info  ???
Yeah, that was me. Friendster ran into this exact problem. If someone wants a technical explanation just p.m. me.

Yes, you are correct.  Friendster did run into the same problem - poor implementation of technology.

« Reply #14 on: September 26, 2007, 07:15 »
0
Trust me when I tell you that the problem would be with MySQL, which is why I'm pissed! This is a problem they should have seen coming and should have migrated to Oracle. MySQL is not meant for this type of application at this size.

As an iStock exclusive I'm pissed that iStock didn't see this coming because it obviously means they didn't hire anyone with a graduate degree in computer science which should be mandatory for a large company that has a mission critical database.

well, i think all of that is pretty obvious from the ongoing problems they've had since i've been with them, including the implementation (if you can call it that) of the whole disambiguation thing.

all of that points to exactly why i will never be exclusive with them

« Reply #15 on: September 26, 2007, 16:58 »
0
To a database, a transaction is a transaction is a transaction.  A database doesn't know (or care) whether you are buying, selling, storing info, seeking info, etc.  To a database, it really doesn't matter whether you are storing text, numbers, currency, images, sound, signatures, etc. It's still all a transaction.

It's the application that discerns the difference in what is being stored in the database (via the business rules layer of an n-tier system).

Google and Yahoo definitely have WAY more transactions than IS, yet their implementation of MySQL doesn't seem to have these issues.

Thus, the obvious conclusion is that it is not the database, but it is their application code that is the problem.

BTW, both Google and Yahoo do have sales transactions.  Check out Google Products (http://www.google.com/products) or Yahoo Shopping (http://shopping.yahoo.com/).


You don't do distributed databases do you? I don't know how to explain their situation (messy recoveries from locked queries) to people that don't have com sci degrees because it is a graduate level computer science topic, but lets just say that when it comes to databases, a transaction isn't a transaction, isn't a transaction (especially on distributed databases).

Trust me when I tell you that the problem would be with MySQL, which is why I'm pissed! This is a problem they should have seen coming and should have migrated to Oracle. MySQL is not meant for this type of application at this size.

As an iStock exclusive I'm pissed that iStock didn't see this coming because it obviously means they didn't hire anyone with a graduate degree in computer science which should be mandatory for a large company that has a mission critical database. Here is what I would call an executive summary of the differences.
http://iheavy.com/node/51
 


You might want to stick with what you know, instead of trying to make believe that you understand the technical intricacies of a large database application.

If you read iStock's confession today (which is available @ http://www.istockphoto.com/forum_messages.php?threadid=57849), then you will see that they have run into a problem with MySQL because of a poorly designed architecture.  From IS's own confession: "Can we continue to grow indefinitely with MySQL? Absolutely. We have looked at how other large sites using MySQL have re-architected to handle much larger loads than iStock currently gets. We can see how this would fit into our system - but we cannot re-architect / rebuild the system over night."

The good news is that they finally fessed up:  Their application design is not scalable.

The bad news is that they are one step behind.  This means that this holiday season will give them LOTS of problems, which will probably lose them lots of customers (both contributors and buyers).

It's definitely not a good time to be an exclusive.  I'll bet that many exclusives are making plans on distributing their images, because IS couldn't distribute the load.  It just goes to show that "you shouldn't put all of your eggs (or in this case images) in one basket".

« Reply #16 on: September 26, 2007, 18:14 »
0
You might want to stick with what you know, instead of trying to make believe that you understand the technical intricacies of a large database application.
If you read iStock's confession today (which is available @ http://www.istockphoto.com/forum_messages.php?threadid=57849), then you will see that they have run into a problem with MySQL because of a poorly designed architecture.  From IS's own confession: "Can we continue to grow indefinitely with MySQL? Absolutely. We have looked at how other large sites using MySQL have re-architected to handle much larger loads than iStock currently gets. We can see how this would fit into our system - but we cannot re-architect / rebuild the system over night."

Wow, do you have a degree in computer science? Have you worked on large database apps? I did my masters dissertation on distributed graphics rendering (and I used MySQL) before giving up on computer science and going to law school. My question for you is do you actually know about large scale databases or are you just arguing for the fun of it?

About your quote, did you read all the paragraphs above that? The reason for this mornings crash? The 45 minute recover time, that's because MySQL still doesn't have hotbackups or automatic point in time recovery like Oracle or MS SQL. The locking problems wouldn't have occurred on Oracle or MS SQL since they both have row-level locking while MySQL has limited row-level locking, but mainly table-level.

Here is the quote that counter acts what you quoted: "Then there are solutions that promise huge returns, but would require re-architecting the entire system; rewriting a very large portion of the code and database queries while deploying a new server infrastructure. There were reasons why these approaches were not taken seven years ago when the company was starting - with 5 people running a hobby site on a second hand server."

Then the most important one"I am not going to tell you here which approach we are taking - except to say that we are looking forward to growing the site ten times, fifty times, five hundred times the size of what we are today." They wouldn't have said this if they were going to stick with MySQL. Yes iStock would have to rewrite a lot of code because Oracle databases have slightly different calls and many features would have to be completely rewritten to take advantage of the unique features of the large database systems.

If you feel like continuing to argue then I will write a detail technical explanation for you. In the mean time I'll be considering canceling my exclusive contract.

Edit: Oh, and lastly. "To a database, a transaction is a transaction is a transaction" is a complete misstatement since a view is different from an insert, which is different than a deletion. Not to mention MySQL is a database system without proper transactions.

« Last Edit: September 26, 2007, 19:03 by yingyang0 »


 

Related Topics

  Subject / Started by Replies Last post
Temporary Forum Outage

Started by Istock News Microstock News

0 Replies
2048 Views
Last post September 07, 2007, 14:43
by Istock News
0 Replies
2041 Views
Last post June 02, 2008, 11:30
by News Feed
2 Replies
2322 Views
Last post July 18, 2009, 19:02
by eppic
6 Replies
5242 Views
Last post September 24, 2009, 11:02
by elvinstar
27 Replies
7519 Views
Last post July 06, 2016, 05:03
by hellou

Sponsors

Mega Bundle of 5,900+ Professional Lightroom Presets

Microstock Poll Results

Sponsors