My notes on the Q&A after the keynotes are a bit rougher, so I’ll summarize.
Guido asked when they would open source their (really cool sounding) built system. Greg said that the build system, like a lot of the stuff they use doesn’t make a whole lot of sense if you aren’t running on top of their google platform. Later in the Q&A Greg noted that when they perpare bits of code for release as open source the software usually gets better in the process. They also have some people working on untangling some bits from the google platform for release, so keep an eye on code.google.com
Someone brought up Boost.Python, which is said to handle templated C++ code better. Greg was unaware of it, but they seem quite happy with SWIG for exposing C++ code to Python.
Someone else wanted to know if they used Python for network monitoring and SNMP. Greg said that the ops guys keep a close watch on the traffic and that he usually has to inform them in advance when he needs to transfer “big” files.
Alex Martelli, who starts working at Google in 3 days, wanted to know how SWIG dealt with templated code. It’s not great, but there are ways to get around simple templating.
Another audience member wanted to know what Greg thought was missing from Python and what could be done about it, and how google dealt with programmers that feel more comefortable in c++ or Java. The first question was answered by the fact that they hired Alex. It was also interesting to learn that they run Python 2.2 on their servers. They would like to upgrade to 2.3, but that’ s a non-trivial task. Each engineering team decides what language they work in, and that’s not a huge problem because they make use of SWIG to cover the C++/Python bridge and they make extensive use of RPC so that it doesn’t matter what language each little bit is written in.
When asked about how many engineers work at Google, Greg pointed to the public numbers, but wasn’t able to break it down further. A couple hundred perhaps.
Google uses a derivative of Bugzilla for their bug tracking, but they would like something better, and are investigating other options.
Everyone seems to equate Python with slow, but that hasn’t really been a problem with Greg or Google. When eShop got bought by Microsoft a lot of Python code was rewritten in ASP/COM and the resulting code was slower than Python.
When asked about the total number of lines of code written in various languages, Greg reckoned that there were probably more lines of C++ than anything else, followed by Python and then Java (Blogger is written in Java).
David Asher asked Greg about a patch to Python 1.4 a few years back and how that might be useful in the future with multiprocessors becoming so popular. Back in 1996 Greg patched Python 1.4 to remove the global interpreter lock and keep track of things that needed to be locked in other ways. His patches worked great on a single processor machine, 2 processors was a bonus, but once you got to 3-4 processors it was slower. He hasn’t run in to trouble with the global interpreter lock at google.
Google doesn’t have debugging tools per se, but they do extensive logging (Greg likes “print”) and have good tools to analize those logs.
Greg’s work projects include code.google.com as well as some internal stuff. For fun he works on Subwiki (in Python of course) along with the ton of other projects that he’s worked on over the years.
They didn’t use an off the shelf web application framework for code.google.com, they built on top of the Google http server written in c++. GMail was written in C++ not Python.
When asked how they stage, Greg said that they can route a small amount of traffic (say 1%) to “Canary Servers”. If these servers don’t fall over, they can slowly pump more traffic to the new version but can easily and quickly set a previous version as the live version.
Comments
34 responses to “Q&A With Greg Stein”
e28a6fba6989…
e28a6fba698925ea81f5…
This weblog seems to get a great deal of visitors. How do you get traffic to it? It offers a nice unique twist on things. I guess having something useful or substantial to give info on is the most important thing.
This may be the other point you shouldn’t notice touching on if this was not important to me.
I have to point out that I don’t agree with some of the things you say however I have to come to terms with and agree that you have built a terrific info site!!!
Thanks for the helpful info! I would not have discovered this myself!
very good \o/
hey this is awesome and then again here is another great resource, please check it out and lmk your feedback when you can,thanks a lot. i appreciate ya.
More good stuff!
I should say it is my first time viewing your site. Now this is the kinda of stuff i like to read about. Good website. I just finished mine and i was looking for some ideas and you gave me a few. Great read!
You made a number of nice points there. I did a search on the topic and found the majority of persons will consent with your blog.
Really and as I have not realized earlier
Is there something wrong with the sidebar? Looks wrong to me.
For most people experiencing a divorce, the weight of emotional concerns can blur the practical issues that surface in every marriage dissolution. Finding the RIGHT attorney is vital in this process.
pUZVaK
This weblog seems to recieve a great deal of visitors. How do you promote it? It gives a nice individual spin on things. I guess having something real or substantial to post about is the most important factor.
can u trade me that rotom from greatencounters i have ever rotom ever made except that one
glorious work man, preserve writing the identical manner
Unquestionably fascinating concept for me .
Will you post some far more ? coz i need to follow ur twitter or facebook
Keep up the great job bro.Your content is basically tremendous and i honestly loved browsing it.Waiting for some additional fine posts like this from you with the coming days.
I’m tech savvy but shoot i didnt even know about this! solid information.
WONDERFUL Post.thanks for share..more wait .. …
continue with the the good work on the site. I appreciate it. Could use some more frequent updates, but i’m sure you got more or better stuff to do like we all do. =p
kinda liked the article you published . it just isn’t that easy to find great posts toactually read (you know.. really READ and not simply browsing through it like a zombie before going somewhere else), so cheers mate for not wasting any of my time! 😉
I agree with your article. Can I quote this piece of writing on my blog?
Thanks for the new blog sharing. It can be honestly a time made version. I love the content material shared.
Not every person will agree, but I presume you make a decent point.
Seriously? Is post an attempt at a joke? I must be missing a thing right here…
You made a few good points there. I did a search on the matter and found most folks will consent with your blog.
cheap tory burch shoes …
Saletoryubrchon.com provide good quality and best price for cheap tory burch shoes products, there offer tory burch boots,tory burch sandals,tory burch flats,tory burch handbangs sale, tory burch wallets for free shipping. …
cheap tory burch shoes …
Tory Burch is developing faster and faster.Tory Burch Boots become more and more fashional.More and more people prefer to wear shoes like this.Tory Burch is an attainable, luxury, lifestyle brand defined by classic American sportswear with an eclectic …
i’ve checked this site a couple of times now and i have to tell you that i find it quite great actually. it’ll be nice to read more in the future! =)
Magnificent site. Lots of useful information here. I’m sending it to some friends ans also sharing in delicious. And certainly, thanks for your sweat!
really enjoyed the post you wrote actually. it just isn’t that easy to find good posts to read (you know really READ and not just browsing through it like a zombie before going to yet another post to just ignore), so cheers mate for really not wasting any of my time! 😀
I have been examinating out some of your posts and i must say pretty clever stuff. I will definitely bookmark your website.