内容简介:
本书是一本散文集。作为一名资深Java程序设计师,作者用清新自然的笔触记录下自己学习、工作生活中的所见所思。书中收录的文章内容贴近程序员的生活,令读者产生强烈共鸣。此外,书中部分文章也以轻松的风格介绍了学习Java技术时的一些常见问题,并介绍了一些优秀的Java书籍,能够帮助读者兴趣盎然地学习Java技术。
本书适合于Java程序员、专业软件开发者、程序设计爱好者阅读。
再版序:
九年前,当我开始学习Java时,我没有想到这个语言以后会为我带来比赛冠军的荣耀;六年前,当时我就读台湾清华大学资讯工程研究所,和同伴组成的团队得到第一届Java比赛的冠军时,我没有想到这个荣耀以后会为我带来与O’Reilly出版社的合作关系;五年前,当我开始在台湾O’Reilly网站开辟Sleepless in Java专栏时,我没有想到这个专栏的文章以后会集结成册出版;两年前,当Sleepless in Java一书在台湾出版时,我没想到这本散文杂记类的书,以后能够在大陆出版,毕竟这本书的内容牵涉到许多台湾的时事,并大量使用台湾特有的流行语汇。一年前,当Sleepless in Java在大陆出版简体版时,我并没有想到书会畅销,只怕书卖不好,出版社负责人会从此把我列为票房毒药,拒绝往来。而今天,我发现这本书的简体版卖得很好,甚至要修订再版了!
很多事情的发展不是当初所能预料的。我不算是一个处心积虑往上爬的人,我只是做我想做的事,但是老天爷显然对我不错,我做的许多事,几年后都会有一些不错的成果出来。更棒的是,有许多人喜欢我。这些年来,收到许多读者朋友的鼓励,虽然未能一一回复,但我对每一个读者都心存感激。
同本书简体版第一版一样,所有的稿酬仍然捐赠给北京希望工程,以为失学儿童教育之用,捐赠的相关事项仍委由出版社代为处理。我希望藉此提醒大家,我们都是幸福的人,世界上仍然有许多不幸的人需要我们带给他们希望。IT技术人不一定要唯利是图,汲汲营营于私利,我们也可以很感性、很博爱。而在我们付出的同时,我们的心灵会更富有。
对于简体版的再版,我要感谢出版社所有同仁的努力促成,也要特别谢谢周筠姐亲自参与编辑,为许多台湾的词汇加上大陆的注释,以方便大陆读者的阅读理解。希望在我们的努力之下,让大家都喜欢这本书。
Learn the tricks of the trade so you can build and architect applications that scale quickly--without all the high-priced headaches and service-level agreements associated with enterprise app servers and proprietary programming and database products. Culled from the experience of the Flickr.com lead developer, Building Scalable Web Sites offers techniques for creating fast sites that your visitors will find a pleasure to use.Creating popular sites requires much more than fast hardware with lots of memory and hard drive space. It requires thinking about how to grow over time, how to make the same resources accessible to audiences with different expectations, and how to have a team of developers work on a site without creating new problems for visitors and for each other.Presenting information to visitors from all over the world Integrating email with your web applications Planning hardware purchases and hosting options to have as much as you need without breaking your wallet Partitioning and distributing databases to support large datasets and simultaneous transactions Monitoring your applications to find and clear bottlenecks* Providing services APIs and using services from other providers to increase your site's reach and capabilitiesWhether you're starting a small web site with hopes of growing big or you already have a large system that needs maintenance, you'll find Building Scalable Web Sites to be a library of ideas for making things work.