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 7944237
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T00:29:39+00:00 2026-06-04T00:29:39+00:00

I basically want to know how GAE has implemented its indexing, I’m familiar with

  • 0

I basically want to know how GAE has implemented its indexing, I’m familiar with indexing such as B+ trees and wonder if e.g. the filter() method uses a B+ tree for its implementation? Can I see this implementation in the appengine code for the SDK since it is Open Source? Is the get() and get_by_id() functions implemented using hashing to make it O(1)`Is the filter function O(log(n)) since one might think it uses a B+ tree where lookups are O(log(n))?

Thanks for any insight

  • 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-06-04T00:29:40+00:00Added an answer on June 4, 2026 at 12:29 am

    the long answer is my talk from a few years ago: Under the Covers of the Google App Engine Datastore. you’ll also be interested in the Bigtable paper and Megastore paper.

    the short answer is, query filtering is implemented via both single-property and multi-property (aka composite) indices. the query planner picks one or more to scan and merge densely, ie all or almost all scanned index rows correspond to a valid result for the query. details in my talk.

    get() is implemented as a bigtable single row lookup. it’s somewhere between O(1) and O(log(n)), with small constant factors since the log(n) part usually happens entirely in memory. details in the bigtable paper.

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

Sidebar

Related Questions

Basically, I just want to know if its possible to use Nhibernate to migrate
I basically want to know what the system's input language is currently on (for
Basically, I want to know what is best to avoid future problems and confusions
I am new to networking. I just basically want to know whether we can
Basically I want to know how many people have tweeted a link to a
I'm using ABS, and I basically just want to know if there is any
I have an iframe setup within a page and basically want to know whether
Basically I want to know if a given nodes children are visible in a
Basically I want to know why as.Date(200322,format=%Y%W) gives me NA . While we are
Basically i want to know if the visual studio IDE and/or compiler in 2010

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.