Comments (11)
Hi Ricardo,
The breaking change you have in mind sounds good to me, thanks for checking.
from faraday.
It looks like update-table
's implementation right now is very throughput-specific, including mapping the update call on a series of throughput increase steps and returning the last one executed.
Is there a reason for this? I'm going through the referenced page but don't see a reason why the update request would be executed in steps, only the explanation for the decrease limit in a 24 hour period.
from faraday.
Was the case previously that large throughput increases needed manual steps. Not sure if that's still the case or not. If not, that code's vestigial and can be removed.
from faraday.
Perfect. I'll see about removing it and running some tests against an actual live instance, since I've read some remarks that the local instance disregards throughput settings (it referred to global secondary indexes, but I expect is a general characteristic).
from faraday.
Ahh yes, limits like that would only apply to a live cloud instance. Not sure if this particular limit still exists though.
from faraday.
No problem, I'll test. If the limits no longer exist then things would be much simpler, since I can just unify all the table updates - otherwise it'd be best to keep separate update-table
and update-table-throughput
functions.
from faraday.
Testing against a live cloud instance, I can get the update to throughput to apply in a single step. Will prune that old code.
from faraday.
Just confirming: that's for a large increase, yes? I.e. more than 2x or 4x the previous value?
from faraday.
Correct, tried it going from {:read 1 :write 1} to {:read 16 :write 16} without stepping. No error and update returned the expected values
; First increase
{:lsindexes nil,
:gsindexes nil,
:name :temp_table_1450109809826,
:throughput
{:read 16,
:write 16,
:last-decrease nil,
:last-increase #inst "2015-12-14T16:16:58.340-00:00",
:num-decreases-today 0},
:prim-keys {:artist {:key-type :hash, :data-type :s}},
:size 0,
:status :active,
:item-count 0,
:creation-date #inst "2015-12-14T16:16:49.943-00:00",
:indexes nil}
; Second increase
{:lsindexes nil,
:gsindexes nil,
:name :temp_table_1450109809826,
:throughput
{:read 256,
:write 256,
:last-decrease nil,
:last-increase #inst "2015-12-14T16:17:03.542-00:00",
:num-decreases-today 0},
:prim-keys {:artist {:key-type :hash, :data-type :s}},
:size 0,
:status :active,
:item-count 0,
:creation-date #inst "2015-12-14T16:16:49.943-00:00",
:indexes nil}
from faraday.
Great, happy to see that they've removed that limit- thanks for picking up on this.
from faraday.
Closing along with #80
from faraday.
Related Issues (20)
- CI integration HOT 5
- Remove support for `:expected` HOT 3
- attribute_not_exists not respected consistently HOT 3
- Support for Streams HOT 8
- missing ScanIndexForward option with far/scan HOT 1
- Request: custom keywordization routine HOT 3
- Is the scan function safe for large tables? HOT 7
- Upgrade to 1.11.16+ of aws-sdk-java for task-level IAM role support in AWS ECS HOT 9
- Add support for DynamoDB Transactions HOT 6
- Upgrade to 1.11.459 of aws-sdk-java for management of On Demand tables
- Upload all doc versions to http://taoensso.github.io/faraday/{version}
- Porting to AWS SDK v2 HOT 16
- missing page-size/max-result-size option with query HOT 1
- Support empty strings HOT 4
- not listing tables HOT 14
- Setting `region` in client-opts causes ClassCastException
- String index names cause type error HOT 3
- Local docker example from readme only with `-p 8000:8000` arg HOT 1
- Possibly confusing dependencies found HOT 3
- FYI: have pushed some superficial changes HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from faraday.