Calculate instance hours

69 views
Skip to first unread message

Didin Jamaludin

unread,
Apr 8, 2012, 8:24:16 PM4/8/12
to google-a...@googlegroups.com

Hi all,

How to calculate instance hours? is that depends on how many users accessing the apps?

Thanks,
Didin

Richard Watson

unread,
Apr 9, 2012, 3:43:37 PM4/9/12
to google-a...@googlegroups.com
Depends on various things. How you've structured your data, how efficiently you serve it, how many users, etc.

Didin Jamaludin

unread,
Apr 9, 2012, 10:10:53 PM4/9/12
to google-a...@googlegroups.com

In case I have entity contains 20 fields and 1million record accessed by 100 users at the same time to put and get 1 record of each. How to calculate it?

--
You received this message because you are subscribed to the Google Groups "Google App Engine" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine/-/yHXyV1LFG6QJ.
To post to this group, send email to google-a...@googlegroups.com.
To unsubscribe from this group, send email to google-appengi...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.

Richard Watson

unread,
Apr 10, 2012, 4:00:27 AM4/10/12
to google-a...@googlegroups.com
Query performance depends on the amount of entities returned for a given query and how big each entity is. It's independent of the total dataset size.  If users are fetching the same data, you can cache it. If entities are typically returned together, you can build another entity containing all the data for one query (for example, today's top-10 blog posts) so you only return one entity.

You can use up many instances serving 100 users or you can use one instance serving those users - depends entirely on how well you write the app. So start writing a test app that fetches a few entities and get a handle on how the datastore operates, and how to improve performance.

On Tuesday, April 10, 2012 4:10:53 AM UTC+2, didinj wrote:

In case I have entity contains 20 fields and 1million record accessed by 100 users at the same time to put and get 1 record of each. How to calculate it?

Reply all
Reply to author
Forward
0 new messages