With today's rapid growth of web applications that communicate
frequently with their server, using a compact data format could save
plenty of bandwidth and possibly increase responsiveness slightly.
JSON is itself a pretty compact data format, but Protocol Buffers
would be many times smaller -- especially when there's numeric data
and/or many fields involved.
Considering that it's not that uncommon to see applications
communicating with the server several times per minute (some even do
it every few seconds), I can certainly see the benefits of Protocol
Buffers outweighing the performance lost on the client side.
Regards,
Andreas
On Jul 9, 8:09 pm, "Kenton Varda" <
ken...@google.com> wrote:
> On Wed, Jul 9, 2008 at 12:40 AM, jlar <
jesper.webm...@gmail.com> wrote:
>
> > Hi people,
>
> > Great to see Protocol Buffers (PB) released into the wild. Would you
> > consider PB useful as a substitute for JSON (and XML) for client-
> > server communication in AJAX applications? And in that case are you
> > considering developing a JavaScript API for PB?
>
> Check out this thread:
>
>
http://groups.google.com/group/protobuf/browse_thread/thread/8d815fc7...