От час насам разглеждам един сайт, на който попаднах случайно докато програмирах гууглирайки :)
Както всеки би могъл да предположи, в името му има кафе: http://javawhat.com
По интересното не е името а съдържанието му естествено.
Отидох на Articles и о манна небесна :)
Сайта съдържа препратки към най ранообразни и полезни ( не само java ориентирани ) статии.
Ето няколко примера:
- Building Multithreaded Java Applications
- PostgreSQL Performance Tuning
- Performance Anti-Patterns in Database-Driven Applications
- The Best Continuous Integration Tools
- Unit testing with JUnit and EasyMock
- Build faster Web applications with caching
- Open source Java projects: Java Caching System
- Dependency injection with Guice
- Distributed computing with Linux and Hadoop
- Automated code reviews with Checkstyle (2 parts)
- Using Fulltext Indexes in MySQL (2 parts)
- Spring MVC Fast Tutorial
- Developing a Spring Framework MVC application step-by-step
- Server load balancing architectures (2 parts)
Това са само някои от по свежите и по интересни статии, на които попаднах.
Надявам се да си намерите полезни статии... :)
Показват се публикациите с етикет Performance and Scalability. Показване на всички публикации
Показват се публикациите с етикет Performance and Scalability. Показване на всички публикации
вторник, 1 септември 2009 г.
вторник, 22 юли 2008 г.
Protocol Buffers - Google's Data Interchange Format
Protocol buffers are Google's language-neutral, platform-neutral, extensible mechanism for serializing structured data – think XML, but smaller, faster, and simpler. You define how you want your data to be structured once, then you can use special generated source code to easily write and read your structured data to and from a variety of data streams and using a variety of languages – Java, C++, C#, Python and Perl.
It is used everyone inside Google.
The initial version Proto1 was developed in Google starting in early 2001.
Proto2 is a complete rewrite, though it keeps most of the design and uses many of the implementation ideas from Proto1. Some features have been added, some removed. Most importantly, though, the code is cleaned up and does not have any dependencies on Google libraries that have not yet been open-sourced...
...
Do we write hand-coded parsing and serialization routines for each data structure? Well, we used to. Needless to say, that didn't last long. When you have tens of thousands of different structures in your code base that need their own serialization formats, you simply cannot write them all by hand.
Instead, we developed Protocol Buffers. Protocol Buffers allow you to define simple data structures in a special definition language, then compile them to produce classes to represent those structures in the language of your choice. These classes come complete with heavily-optimized code to parse and serialize your message in an extremely compact format. Best of all, the classes are easy to use: each field has simple "get" and "set" methods, and once you're ready, serializing the whole thing to – or parsing it from – a byte array or an I/O stream just takes a single method call...
...
And, yes, it is very fast – at least an order of magnitude faster than XML.
Links:
http://google-opensource.blogspot.com/2008/07/protocol-buffers-googles-data.html
http://www.infoq.com/news/2008/07/google-protocol-buffers
http://code.google.com/apis/protocolbuffers/
Етикети:
.Net,
Architecture,
Distributed Programming,
Google,
Java,
News,
Performance and Scalability,
Ruby,
SOA,
WS
Абонамент за:
Коментари (Atom)