azure cosmosdb very expensive [closed] - azure

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about programming within the scope defined in the help center.
Closed 5 years ago.
Improve this question
Can someone explain how I can configure Azure cosmosDB to not be so expensive? 30€ for 3 days??
It's a small test environment with very few users.
In the backend, I only see that it will cost some cents ...
Here is my Cost overview:
I have around 18 collections but all are only kbits big.
It the backend database for the js cms : http://keystonejs.com/
Example scaling for one collection in azure:

The problem is that you are billed by collection. So even if you use only a little storage space and you make only a couple of requests, you have to pay the minimum RU per document collection.

You created 18 collections, meaning you have 18 billable database constructs. And with the lowest-cost collection starting at roughly 20 Euro per month (about 5 Euro per 100 RU per month, minimum 400 RU), the math works out: You basically created an environment with 400*18=7200 RU. Perhaps just use fewer collections to reduce your cost footprint (note: collections have no rules around documents being homogeneous). You could use a single collection, since you have such a low amount of data.
EDIT FEB 2018 - note: with database-level RUs (a feature added a few months after the OPs question was posted), the cost model would be very different. 18 collections would be able to share an 1800RU database-level allocation (the minimum is 400RU, up to 4 collections, then 100RU per additional collection). With database-level RU, the cost of an 18-collection configuration would start at 25% of the original cost, based on 400RU per collection.

Related

Warehouse Management System overview program [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
Good morning SO people,
First a bit of general information:
I work in a warehouse with goods we manage with a WMS system which I operate. This program is on a VPN thats hosted in Switserland while i'm in Holland.
I get also orders in this program through an EDI. I gather groups of orders together to create a full truck. After that they are picked by the warehouse. and stored until it's ready to be loaded.
As the WMS program is just as stated a WMS program and not designed to have an overview of which good are ready to be loaded with which reference at which dock etc, we've created an excel 2010 table which has the following information:
Customer, Truck destination, dock loading, time to be ready, time ready, truck name, additional info, number of colli, Picked today?, load today?, wms groep number and scan-out list.
The above information is entered in the table for each truck and we keep an excelfile for each week which has 7 sheets for each day. I keep track each day what we have picked that day and which have been loaded or not. Because of preformance tracking, this needs to be almost perfect. If an order has been picked today the "picked today?"-flag will be set, and if it has been loaded than the "loaded today"-flag will be set. If the goods are picked, but not loaded that day, that row will be copied to the next day with the "Picked today?"-flag set to false.
In this manner we have an overview what goods needs to be picked and which are still waiting to be loaded. So that we dont loose track of any goods
I now this is a lot of information, but I believe this helps in solving my problem.
The problem is as follows:
I'm not the only one in this excel sheet. Each day around 6 people have this file open to either actively edit and save very often (like me and my colleague) or the truck planner who check regularly how far we are. They only do saves
As such we have the file open in "Shared"-mode which you all know is bugged. We get a lot of "File in use"" errors when saving.
Also, searching for a list of trucks to one destination in this manner can't be done, since there are multiple excel files. We can track day to day, but thats about it.
Also preformance over a period is out of the question. Or we have to keep track of the performance per week in a extra excelfile.
So my question now is:
Do you guys know any program out there which can do all this, or otherwise has most of the same functionality. Which stores all data in the same database. Also multiuser functionality and per user read-only access would be a nice addition.
Also Office 365 Co-authoring is not an option. My internet through the VPN isn't very fast and the cells need to be editted fast to keep the warehouse process from stopping (Time is money etc)
I do have experience with programming in Delphi, so I could in theorie create my own databse program (After a year of programming), but why re-invent the wheel, right ?
Thank you very much for reading this long tekst, and I hope someone can help me.
And if you have any questions or need clarification, feel free to ask
Your question will probably be closed since this is not a programming question. (See What can I ask about here?), but an easy answer based on the requirements (basic, typical database functionality) and the fact that this is a programming site:
Microsoft Access can do everything you want.
If co-authoring is a problem then don't co-author or improve your network connection, or else any database's performance will be impacted.

How is the pricing setup for Azure DocumentDB? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about programming within the scope defined in the help center.
Closed 6 years ago.
Improve this question
Recently, Azure DocumentDB came out of preview and is available in General.
I wanted to know how the pricing is set if I have a DB with Two separate collections in it? Currently, the Pricing Calculator doesn't show Document DB in it.
Say S1 pricing is $25/month and I have one database with two collections on S1.
So will I be charged:
a) $25, since I have one database
b) $50, since I have two collections
I had a hard time getting information on how the DocumentDB pricing works. After lots of emails and support requests, I found that the pricing is based on per collection basis.
So, if I have a DB with say two collections in it and each with a performance tier of S1 i.e., $25/month.
Then, I will be charged
$25 x 2 = $50
In case, you go higher on the performance, say one of the collection was set for S2 and one remained in S1 then the pricing will go as
$50 + $25 = $75
Also, note that you will be billed the flat rate for each hour the unit exists, regardless of usage or if the unit is active for less than an hour.
For example, if you create a unit and delete it 5 minutes later, your bill will reflect a charge for 1 unit hour.
For more FAQ on DocumentDB, you can check the FAQ section in this link.

What does Google Wallet attractive pricing really mean? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about programming within the scope defined in the help center.
Closed 7 years ago.
Improve this question
It says:"Attractive pricing: the most favorable of 5% or 1.9% + 30c (USD) per transaction is automatically applied."
Is the pricing attractive for me or for Google?
So for $1 how much will I get and how much google?
Will I get it on 5% schema(Me=95cents, Google=5cents ) or 1.9%+30c (Me=68cents, Google=32)?
It's attractive to you. Developers complained to Google that 5% charge for microtransactions (small transaction) was attractive (i.e. beneficial) to them (the developers), but that as amount increase, they don't want to pay 5% which is a lot.
So they changed their pricing to benefit you, the developers and call it "Attractive Pricing". With this new pricing, you could be charged as low as 1.9% (and not the blanket 5%) for larger amount transactions. Here's more details on this.
Via: Updates to Google Wallet for digital goods including attractive pricing and subscriptions support.
First, we’ve heard feedback from developers that 5% transaction fees
are great for microtransactions but not as attractive for larger
transactions with higher order value. To improve your experience
*selling higher priced items*, we’re introducing 1.9% + $0.30 (or local
equivalent) pricing in addition to the current 5%. Google will apply
the option that charges you the lower of the two possible transaction
*fees for that order*. Learn more and see examples of when each pricing
option will apply in the Help Center.

How to account for Sprint Planning? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about programming within the scope defined in the help center.
Closed 5 years ago.
Improve this question
We are a small group of 3 developers working on a project, using Scrum.
We are using 6 hrs/day/developer for capacity planning. My question is - if we are using 2 week Sprints and spend most of the day (5-6 hours) doing Sprint Planning, should we consider this time as part of the iteration (i.e that is why we are using 6 hr/day to account for things like this).
To me, this falls outside capacity planning as the 6 hr/day/dev is only to account for productive time doing normal things that a developer does on a daily basis....
You should do capacity planning in terms of stories. How many stories can you do this week? In this way you don't need to account for planning because it's not a story.
If your stories have sizes so different that you can't really plan sensibly without accounting for it:
estimate the stories in arbitrary "points" (basically size them one against the other) (good)
or
break your stories so they all become equally small (better)
In either case, you don't need to account for planning anywhere.
Sprint planning time should not be accounted in sprint iteration. But sprint planning should be completed in 2-3 hrs, not be done the whole day. Since you say your team is small consisting of 3 people, then ideally sprint planning should be completed within this time. So rest of the day is still available for sprint tasks.
I have tried a few different things, but here are the ideals that have worked best for me:
Think of dev work as 'closed door' costs: how long would it take if she was never distracted by emails, meetings, phone calls, lunch, beer runs, etc.
Identify, for your team, the ratio between 'closed door' costs and real life. Do your planning in 'closed door' (easier for devs to estimate) and use history to identify the ratio. This also allows you to try things out to lower the ratio (free soda/lunch delivery, email filters between 10am and 4pm, etc.)
Consider sprints as having a full day for planning, stabilization, and review. So for a two week sprint, use Day 1 for planning, Day 9 for stabilization, and Day 10 for review/retrospective.
So if you have 5 developers working 8 hours a day for a two week sprint, and you figure out that your closed door/open door ratio is 1.5, you have 5.33 closed hours * 5 devs * 7 days = 186.6 hours of work you can plan for.
If you have a strong SCRUM master (or other process leader) and push your team to have a complete definition of 'Done' (i.e. documented, tested, buddy built, and integration tested), you won't need a stabilization day, but it takes some effort to get there.
The benefit of this blended process is that you can use the open/closed ratios to understand each developers work habits (some are great estimators and have a ratio of 1, some people are pessimistic about everything and might have a ratio under 1).
No, you should not consider the sprint planning as part of the sprint iteration.
The hours the team spends during sprint planning is not considered when calculating the development team's capacity, as the time spent in this meeting does not contribute to the development of stories.

How does one find prices from Amazon's site programmatically? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
The community reviewed whether to reopen this question 1 year ago and left it closed:
Original close reason(s) were not resolved
Improve this question
So Amazon has lots of different APIs for different things, and it's hard to find the one I'm looking for.
I have a client that sells things and checks Amazon's lowest price to know where to price their things (slightly under the lowest thing there). They want functionality integrated into their inventory system that would automatically find the product's lowest price on Amazon and display that. I was wondering which AWS service is best suited to this task.
I see the Product Advertising API, and that looks like the closest thing right now. Is that so?
I don't really want to rely on a scraper when Amazon provides a programmatic interface to this information somewhere, which I know they do because many other products have this. Some say that they can just download a dump of Amazon's products and use that locally -- I'm open to that option too if anyone can point me in its direction.
Yes, the technically appropriate API is the Product Advertising API, using the ItemLookup/ItemSearch operations or the Seller* operations.
https://affiliate-program.amazon.com/gp/advertising/api/detail/main.html
I would also advise you to check the licensing agreement for this API, notably clause 4 (i).
You can use the Amazon Marketplace Web Service (api, description)
This service can group all of the available offers into ‘buckets’ and shows the lowest price from each bucket bucket.
Each bucket has a unique combination of:
Sub-Condition (New, Like New, Very Good, Good, Acceptable)
FulfillmentChannel (FBA or Merchant-Fulfilled)
ShipsDomestically (True, False, Unknown)
ShippingTime (0-2 days, 3-7 days, 8-13 days, 14 or more days)
SellerPositiveFeedbackRating (98-100%, 95-97%, 90-94%, 80-89%,
70-79%, Less than 70%, Just launched)
Someone made a really cool demo of the API here
We cannot get the entire amazon products using API.They had made certain restrictions to the usage of API such that it would be more relevant to advertising use case only.
I wrote that small python module to achieve such a task: https://github.com/iMilnb/awstools/blob/master/mods/awsprice.py
Basically, it fetches the prices from Amazon's website and convert them to a nice and parsable python dict.
I wrote two example functions that show how to use the resulting dict to dump an instance price on various terms along with a CSV converter.
There is a reply to a similar question which lists all the .js files containing the prices, which are barely JSON files (with only a callback(...); statement to remove).
Here is an exemple for Linux On Demand prices : http://aws-assets-pricing-prod.s3.amazonaws.com/pricing/ec2/linux-od.js
(Get the full list directly on that reply)

Resources