You are optimizing for the wrong things.
Your app is a$1 are 20 people going to use it or 20 million?
How do you know that it won’t be 20 million? Did you plan for it to suck?
Now that we have established that either your app sucks, so it won’t ever go over the free quota. Or you have decide it won’t suck and will, we can talk about what really matters. Overall price beyond free.
If you use the in-instance memory if you get enough traffic to have 2 instance, the info won’t be there. That seems like a flaw in your plan.
Memcache isn’t guaranteed but with a tiering strategy could save you money over all.
I don’t have all your answers right away, but think about what you need, and how your app will grow
Brandon Wirtz |
| |||
| ||||
Instances Die when they reach memory limit, when they get bored, when they reach an age limit, when GAE has network issues and changes routing.
There is no way to force always serve to the same instance, so when the scheduler decides you need 180 instances and you only need 1 (and only billed for one) you can suddenly have a 1 in 1/180 chance of getting a new instance.
To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine/-/o_dXNqLF1Y4J.
--
You received this message because you are subscribed to the Google Groups "Google App Engine" group.
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.
>Instances Die when they reach memory limit. What kind of memory usage are we talking about here do you have a link
You are on F1 Instances if you are running on a free app so 128m
>when they get bored OK hense the idea of a cronJob to ping it...
What if you have a user, and you ping and cause a second instance to Spin up? You might run out of free quota.
>when they reach an age limit. So an instance in use could be terminated and a new one started at random times ? Is this documented ?
Nope, but if you check a big apps instances you won’t find many that are as old as the last code update.
>so when the scheduler decides you need 180 instances and you only need 1 What do you mean by this scheduler deciding to create 180 instances of my app ?
The task scheduler that scales up and down your app sometimes goes wonky, you only pay for in use instances but I often have 40+ instances when I’m only using 4.
>I know what I am talking about is a bit of a hack but can this work ? I had a look at memcache but for some reasons I don't think it can serve me...
Memcache does almost exactly what you were asking about. But It also mysteriously resets at any given moment with out warning. You can go “Write to memcache” and have the next line be “read from memcache” and your entity could be gone. Not often, but it can happen.
But 500 instances all share memcache so if you say Value=X they will all know it to be true instantly.
>10 000 api calls in 24h before the quota was
Look at the costs per million write/reads. The number of calls a single user will make per day. Life of the user. Are you cash positive? Or Cash negative?
You can fix a lot of things, but if that number is the wrong direction you will lose money over time.
Doing the metrix i got with every read/write operation to BigTable to 10 000 api calls in 24h before the quota was excided. thats 50 calls per 24h for 200 users... Its a geo/social app so 30 to 50 call per user per day would be the average...
Ads.
Sell the users information.
Get to critical mass, pocket the money, go out of business before the money runs out.
Well when you think of an app providing a service and the only source of income being the selling of the app and runing the service cost money, in the end you will lose money so what do you do ?
>. I get at least $9/mo of satisfaction out of being able to point at a website and say "I did that", even if the community isn't self-sustaining.
I like you Jeff. You remind me of me only NICER. (and with better code)
The last option is probably the best bet.
Seriously though, you're developing an app that needs a backend
service, you sell for $1, and you only hope to get 1000 users? On one
hand I respect the realistic goal/view, but the *first* thing I'd do
is aim a little higher. (not meant as an insult)
>
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.