Does the pagespeed insight API scale for production? - pagespeed-insights

I'd like to use Google's page insight API for a product and may eventually need to make many calls. I was expecting to have a free tier and then a price per call but seems to me to be a limited quota and then I would need to ask for the quota to be raised, and I'm not sure how confident can I be on building a product around it.
Am I missing something?

Related

Azure Pay-as-you-go typical pricing

I am required to learn Azure Databricks as well as other Azure services that require something more than just the Free Trial. I don’t really have any problem doing this.
However, my question is how much can I expect to be charged monthly, weekly, etc. when strictly performing learning-related tasks?
I just want to become familiar with the services and just Azure in general, but I want to know what other people’s experiences have been. I don’t want to set up clusters on a Databricks project just to learn and figure it out and end up costing myself 50 bucks for something I’m really just testing.
Any help would be appreciated. Thanks!
You can get very far without actually paying anything, especially with the free trial. However, you can also accrue extremely high costs very quickly in pay-as-you-go. There are too many Azure Services to get any more specific within the scope of this site.
Three tips to get you started:
Use the Azure Pricing calculator for the services you want to learn to get a feeling for the costs and how they develop.
Set a budget on your subscription to avoid accidentally spending too much.
Delete your services as soon as you are done with them, even if you need to recreate them the next day. You often pay by the hour.

Azure Functions - Concurrency Issue

I'm planning a project and working through all the potential issues I might face. One that I keep running into which might be specific to my project is concurrency issues. From my understanding, Azure Functions scale when under demand which is exactly what I'm looking for but causes a problem when it comes to concurrency. Let me explain the scenario:
Http triggered Azure Function which does the below
Gets clients available credit, if zero, auto-charge clients card.
Deduct credit from the client for the request.
Processes the request and returns to the client.
Where I see an issue is getting the available credit and auto-charging card. Due to the possibility of having multiple instances of the function I might auto-charge the card multiple times and on top of that getting and deducting the credit will be affected.
I'm wanting the scaling of Azure Functions but can't figure a way around these concurrency issues. Any insight or pointers in the right direction would be very much appreciated.

Imgur API Commercial vs Free

I'm working on an app that, as one component, accesses the imgur API. I'm trying to work out if it is considered "Commercial" based on three separate possible models. As you can understand, as the sole developer, I'm just a hobby programmer and I want to know if I can build this without a heavy monthly bill from imgur.
From the imgur API doc page;
Your application is commercial if you're making any money with it (which includes in-app advertising), if you plan on making any money with it, or if it belongs to a commercial organization.
What does that mean in these scenarios:
If I'm building an application that as a component of it uses the imgur API, that is not paid for, does not have any ongoing costs, but has a Patreon/GoFundMe/KoFi account attached to it to support development, is that considered "Commercial" here?
If I build the app, but charge a flat $5 for it, and no advertisement/in-app-purchases, is this considered commercial?
If I build the app, do not charge for it, do not post ads, but accept one-off donations towards developmnent, is this considered commercial as per the above?
If I'm building an application that as a component of it uses the
imgur API, that is not paid for, does not have any ongoing costs, but
has a Patreon/GoFundMe/KoFi account attached to it to support
development, is that considered "Commercial" here?
Possibly. Donations can very well be considered a source of income. In addition, you need to look at the second part of the Imgur ToS that you quoted:
plan on making any money with it, or if it belongs to a commercial
organization.
Will the app remain free forever after a limited period of development?
If I build the app,
but charge a flat $5 for it, and no advertisement/in-app-purchases, is
this considered commercial?
Yes, this can be considered commercial. Because you're charging money for the app.
If I build the app, do not charge for it,
do not post ads, but accept one-off donations towards developmnent, is
this considered commercial as per the above?
This is very similar to the first scenario.
The important thing to understand is that there is a great deal of latitude in enforcing the ToS. This is both to ensure the convenience of users, and also to ensure that Imgur's services aren't abused. One of the statements in their ToS states something to the effect of "Don't use us as your CDN". It would seem that is what you're thinking of doing. Unless your app is for a demonstrably social/charitable purpose like curing cancer or world hunger, Imgur might just as well choose to enforce the ToS. Don't risk it. Go for a paid service (Imgur's or another).
To be really sure, one can directly contact Imgur with a link to the app and check with them.

Is Google Nearby API free to use? If so, what if you exceed 8,640,000 daily limit?

I am building a google application using google nearby and there is a possibility that I might go live on production with it. Since I couldn't find support email for google nearby, does anyone know if Google Nearby is free to use? It looks like the daily limit is 8,640,000. What happens if you exceed that limit? Is there a premium package where I could pay to obtain higher daily limit?
Secondly, does anyone know a better ultrasonic sound based communication api than google nearby?
Yes. You are right. Daily limit for Nearby APIs is 8640000. If you require more, you can apply for increase in quota. You can do this in your Google Project Console under Quotas section in Nearby API. An edit icon is provided near to daily quotas section and it will give you the option to apply for more quota limit.

Does the Nest API provide a way to get historical energy usage?

Ever since I got my Nest all I've wanted is to be able to aggregate my energy usage over a long period of time to look for patterns and mainly appease my curiosity. Sure there are the monthly usage reports, and the web and device only goes back 10 days.
Does the API expose that data, or would I need to somehow calculate it myself? I'm not seeing on the API reference anything like 'is_running'. Or is there a chance a future "Nest Data API" is going to come out?
The Nest API only provides realtime data, not historical. Nest has an online community where they accept product suggestions for future enhancements.
Their API does not give you a way to access the data.
https://developer.nest.com/documentation/api#thermostats
If you've noticed they only store 10 days of data on the thermostat anyway (supposedly). The user agreement for the API also seems to forbid developers from providing software that will aggregate the data over time. I guess for your personal use it might be OK, but you wouldn't be able to distribute it.

Resources