START A PETITION 25,136,189 members: the world's largest community for good
START A PETITION
x
Aug 3, 2010

My employer runs WordPress to power the Healthy and Green Living section of our web site. The blog serves spikes of dozens of pageviews per second. We use HyperDB to send read queries to a few slave databases.

One day, I found that replication was falling further and further behind, mostly because of updates to wp_options.  These writes were contending with reads for the MyISAM table lock on the slave. Because MySQL prioritizes writes higher than reads, it reduced our read concurrency to roughly one thread:

Imported from external blog

Visibility: Everyone
Tags: , , ,
Posted: Aug 3, 2010 8:39pm
Jun 9, 2010

Care2 has an interest in animal-themed captchas, so I evaluated Captcha the Dog.  I think I have found a vulnerability, at least in the image recognition component, which I believe is the meat of the puzzle.

Imported from external blog

Visibility: Everyone
Tags: , , ,
Posted: Jun 9, 2010 8:56am
Dec 18, 2009

At Care2, our main repository had 120,000 files and a 2.4 GB CVS checkout. CVS was mostly working with some hacks to run faster on our huge repository. But I wanted more out of version control.

The biggest issue was that merging didn't work well. Sometimes adding or removing files on a branch would have an unexpected result after merging to trunk. And it was difficult to merge to and from trunk multiple times. I know, I know, you can tag branches at just the right place to track what's been merged already... but I'd rather not.

We also relied on file lists to speed up CVS operations.  File lists help by restricting CVS commands to a carefully maintained list of files that were actually touched on a feature branch. But we ran into intermittent problems when the file list database got moved or access was accidentally revoked. The file lists were good at speeding up CVS but greatly increased the complexity and fragility of our development process, so I was eager to leave them behind.

Our two main reasons for ditching CVS were, in a nut shell:

  • Cumbersome merging
  • Slow performance on our large repository

With those reasons in mind, and I set out to find a replacement.

Imported from external blog

Visibility: Everyone
Tags: , , ,
Posted: Dec 18, 2009 9:22pm
Sep 20, 2009

At work we have a large CVS repository.  By large, I mean 120k files, 2.5GB checkout.  Most things work fine, and we've evolved some techniques to deal with operations that would otherwise be slow.

Things that work well:

  • Committing a small list of files
  • Updating your whole working copy, since we only expect to do so once daily
  • Updating a small list of files to get someone's recent changes

Things that didn't work well:

  • Scanning your working copy for things you forgot to checkin
  • Branching, because if you do the naive thing, you have to wait for the CVS to branch the whole repository
  • When using tags the naive way, for example for marking a release and deploying it, again because CVS has to walk the whole tree

While we never quite addressed the first problem, we do pretty well at making sure CVS never has to walk the whole tree.

Imported from external blog

Visibility: Everyone
Tags: , , ,
Posted: Sep 20, 2009 7:16am
Aug 15, 2009

Speaker Ann Zeise shares her own success with web publishing as a way to earn money while homeschooling. In short, she recommends finding a topic you are passionate about, researching it, and publishing what you find on the Web. She then details how to monetize this valuable content using advertizing services such as Google AdSense.

Imported from external blog

Visibility: Everyone
Tags: , , ,
Posted: Aug 15, 2009 3:18pm
Aug 11, 2009

Speaker David Albert builds a metaphor for the journey to setting ourselves free in homeschooling: we must dismantle our inner school, brick by brick, smashing with a sledgehammer the assumptions we have about how learning must work.

Imported from external blog

Visibility: Everyone
Tags: , , ,
Posted: Aug 11, 2009 9:41pm
Aug 8, 2009

Speaker John Young describes how his family and mentors, and all our ancestors, used storytelling as an essential household activity to engage people.  Storytelling teaches youngsters how to soak up details in their surroundings that were essential to survival, but it has appeal to all ages.  And the format of the talk is, of course, a quilt of stories.

Imported from external blog

Visibility: Everyone
Tags: , , ,
Posted: Aug 8, 2009 12:03pm
Jun 5, 2009

TD Ameritrade sticks out in my inbox as one of the biggest spammers I do business with. Well, it turns out they are not actually spammers themselves; they just leaked my email address. Not much more, I hope. And what I get in return? Not much.

Imported from external blog

Visibility: Everyone
Tags: , , ,
Posted: Jun 5, 2009 5:58am
Jun 3, 2009

At work, we use CVS to manage code, but I want something better: Git.  The git-cvsimport tool can do efficient incremental updates from CVS into Git — just what you need if you want to work in Git while your team's primary VCS is CVS.  But git-cvsimport is based on cvsps, and cvsps is a dead project.  And worse still, it segfaults on my employer's repository.  Enter cvs2git.

Imported from external blog

Visibility: Everyone
Tags: , , ,
Posted: Jun 3, 2009 8:13pm
Jun 2, 2009

TD Ameritrade sticks out in my inbox as one of the biggest spammers I do business with. Well, it turns out they are not actually spammers themselves; they just leaked my email address. Not much more, I hope. And what I get in return? Not much.

Imported from external blog

Visibility: Everyone
Tags: , , ,
Posted: Jun 2, 2009 5:58am

 

 Next >
 
Content and comments expressed here are the opinions of Care2 users and not necessarily that of Care2.com or its affiliates.

Author

Marcel C.
, 2
Redwood City, CA, USA
Shares by Type:
All (80) | Blog (78) | Alert (1) | Message (1)
Marcel's Tags:
first, share, oak, blog, rss, acorns
SHARES FROM MARCEL'S NETWORK
Aug
17
(0 comments  |  discussions )
\\nHi, this is a video. Not a good one:\\r\\n\\r\\nvideo:htt p://www.youtube.com/watch ?v=q574sEVCZAE\\r\\n\\r\\ nLike it?\\n
Mar
25
(1 comments  |  discussions )
That\\\'s right! Now you can embed videos in your Shares. This is done using the same trick as in groups. If you put this in your share:    video:{URL TO THE VIDEO YOU WANT TO SHARE}it will show up in your share as an embedded video. We c...
(2 comments  |  discussions )
\\n\\nI\\\'m happy to announce an update to the Green Star functionality. Something many of you have been requesting for years! We all love giving (and getting!) Green Stars. But a missing piece has always been the ability to tell a member *why* you\\...
Jan
21
(2 comments  |  discussions )
\\nIf you\\\'re an active user of C2NN you\\\'ve probably noticed a dramatic increase of \\\"spammy\\\" stories being submitted lately. They never make the Front Page (because nobody notes them), but for those of us who spend time in Newly Submitted reading th...
Jul
31
(0 comments  |  discussions )
I have had the amazing opportunity to be a part of the Care2 Flugtag team over the last couple of months and it is now reaching its incredibly dynamic conclusion on Saturday up in Portland. If you do not know what I am talking about, and even if you d...
Jul
22
(0 comments  |  discussions )
Dominic Renda IMDB STARmeter: 717% since last week\\nBuzz on IMDB http://www.imdb.com/name/ nm2387689/\\n
Dec
30
(2 comments  |  discussions )
They say that spending time with the relatives over the holidays has it’s ups and downs. This video demonstrates that this is true. Literally.\\nhttp://www.y outube.com/watch?v=xXN2uv MRr8s\\nFront seat: Uncle Buzz and myself. Back seat: the nieces ...
(0 comments  |  discussions )
At Natalie’s school, they have an activity period every day and they gt to choose what activity they want to do. These activities range from academic things, like science and reading, to arts and crafts, like painting and weaving, to physical ac...
Dec
22
(0 comments  |  discussions )
Natalie’s birthday bash was hosted at the Redwood City Bowl. It was wild. It was Crazy. there was pizza. There was cake. There was a dance-off. Oh, and there was bowling.See all the birthday pics!And then I let Shayna and Becky use my camera&hel...
(0 comments  |  0 discussions )
Here’s a summary of all of the Costa Rica postings we did over the last couple of months:\\n\\nCosta Rica: Getting There…\\nCosta Rica: Tortuguero\\nCosta Rica: The Green Sea Turtles by Night\\nCosta Rica: Tortuguero - Part 2\\nCosta Rica: Tortuguer...