Zaphod
07-30-2011, 12:43 PM
Brian, I'm wondering about how big a feed might get, even after mysql compress. If you try to compress and insert a value greater than the max size of the field then I imagine that the sql insert will fail. That's not so bad, it just means that the cache failed on insert.. which just means that it won't be there when you look for it again, and you'll have to pull a fresh feed from the API. The sad part is that this means that you'll never cache the biggest feeds haha :)
I'm wondering... is there a major performance hit in using MEDIUMBLOB instead of a BLOB? I think a BLOB tops out at 65k but a MEDIUMBLOB goes to nearly 17 megs... 17 megs is WAY bigger than a feed is likely to get :D but it could easily get over 65k compressed. I wish there was a SLIGHTLYLARGERBLOB that would to to 200k :p
I know you're busy, but I figured you would likely know more about this than anybody else I know. If there are Gods of MySQL, then you're their prophet :D
I'm wondering... is there a major performance hit in using MEDIUMBLOB instead of a BLOB? I think a BLOB tops out at 65k but a MEDIUMBLOB goes to nearly 17 megs... 17 megs is WAY bigger than a feed is likely to get :D but it could easily get over 65k compressed. I wish there was a SLIGHTLYLARGERBLOB that would to to 200k :p
I know you're busy, but I figured you would likely know more about this than anybody else I know. If there are Gods of MySQL, then you're their prophet :D