I don't get how you can profit from Twitters source code though. I think the configuration of its infrastructure is the larger problem. Perhaps there are some neat ideas to solve certain problems, but there are dozens of open source twitter clones already. I doubt these are worse than that with what Twitter started with, on the contrary.