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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T12:21:02+00:00 2026-05-21T12:21:02+00:00

I’m working on a voting application in GAE, and I would like to be

  • 0

I’m working on a voting application in GAE, and I would like to be able to support a very large number of voters (say 100,000). I’m concerned about being able to do this without hitting the cap on the entity size or any other limitations. Here is the relevant parts of my entity relationship:

class Election(db.Model):
    tmp_voters = db.StringListProperty(default = "")

class Voter(db.Model):
    election = db.ReferenceProperty(Election, collection_name = "voters")

While the user is editing an election, I put the list of voter email addresses in a StringListProperty called tmp_voters. Just before the election is started, I create a Voter entity for each voter, and each Voter entity has a reference to the Election entity.

It seems that for a large number of voters, tmp_voters will cause the Election entity to exceed the limit. Is that right? How do I fix that? Would using a blob be a good fix?

Will having a large number of Voter entities, each of which reference the Election entity, ever cause the Election entity to be too big? I.e., does adding a reference to the Election entity increase the size of the Election entity?

Any other limitations I should be concerned about with a very large number of voters? (other than quotas)

  • 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-21T12:21:03+00:00Added an answer on May 21, 2026 at 12:21 pm

    Adding a reference to an entity in another entity has no effect whatsoever on the referenced entity, except that the automatically-generated backreference query will return one more result.

    It’s unclear to me what tmp_voters is for, but yes, if that ListProperty gets too big you will have problems, although probably not with entity size; a ListProperty can only have something like 5000 entries and you’re not going to use 1 MB of space to hold 5K email addresses.

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

Sidebar

Related Questions

I would like to count the length of a string with PHP. The string
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
I would like to run a str_replace or preg_replace which looks for certain words
I would like my Web page http://www.gmarks.org/math_in_e-mail.txt on my Apache 2.2.14 server to display
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
I've got a string that has curly quotes in it. I'd like to replace
I am trying to render a haml file in a javascript response like so:
I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
I am writing an app with both english and french support. The app requests

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.