Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7524429
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T03:05:35+00:00 2026-05-30T03:05:35+00:00

I’m working on a mobile app that will get data from GAE, and I’m

  • 0

I’m working on a mobile app that will get data from GAE, and I’m trying to decide between using Protocol Buffers and JDO. First off, I’m not sure how to make PBs persistent. I know it’s just a matter of the annotation tags with JDO.

I also saw this thread where they warn that PB data can’t be indexed. I’m not sure if that’s a problem for me or not, though. Is there a happy medium, like a way to use JDO for persistence, but use PB for communication?

Thanks

Edit: Sounds like the initial consideration was a bad idea, but I’m still wondering if I can get the benefit of using PBs just for transmitting data to the client. Would the overhead of converting JDO objects to PB objects for transmission to the client outweigh the benefits of PBs? Actually, it sounds like that’s exactly what happens internally on GAE, anyway, so that probably means it’s a good way to go…

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T03:05:36+00:00Added an answer on May 30, 2026 at 3:05 am

    Coming very late to the party here, but the answer is “it depends”. 😀

    1. What are your prime goals? What are you trying to achieve in the larger picture?
    2. How much data do you have? How many objects are you storing? Approximately how many bytes?
    3. Are there lots of little objects, a few large objects, or all different types?
    4. In what programming languages are you trying to use your data?
    5. What is your primary resource constraint? Are you RAM-bound, or CPU-bound, or network-bandwidth bound?
    6. What are your relationships with the vendors?

    JDO has the advantage that it’s extremely interoperable with Java up and down the line and it’s built right into the App Engine. For having it work right out of the box, that’s hard to beat.

    Protocol buffers have the advantage of being awesomely efficient and working in a lot of languages – Java, Python, C++ are supported by Google, but there’s a huge list of other languages supported by third-parties. And they’re extensible and very easy to maintain.

    As you point out, JDO objects are automatically indexed by the App Engine, it’d be hard to lose that, though you can probably build your own index quite simply.

    I frankly these days use the protocol buffer language as a data definition language, but have most things sent around as JSON – they only get converted back to protos when it comes time to store them en masse and I can get huge savings…

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

That's pretty much it. I'm using Nokogiri to scrape a web page what has
I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
We're building an app, our first using Rails 3, and we're having to build
I'm trying to decode HTML entries from here NYTimes.com and I cannot figure out
I need a function that will clean a strings' special characters. I do NOT
I'm trying to create an if statement in PHP that prevents a single post
I am using Paperclip to handle profile photo uploads in my app. They upload
I'm working with an upstream system that sometimes sends me text destined for HTML/XML
link Im having trouble converting the html entites into html characters, (&# 8217;) i
For some reason, after submitting a string like this Jack’s Spindle from a text

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.