Coder Social home page Coder Social logo

Comments (4)

tmitchel2 avatar tmitchel2 commented on July 2, 2024

Yes exactly, you need to modify getTableConfig method. Can I ask why you need different profiles / configuration? Not that it's wrong, just that I would like to make it work for all cases with a single config and most likely a max value...

from dynamodb-lambda-autoscale.

chriskinsman avatar chriskinsman commented on July 2, 2024

The biggest one is min/max for each grouping of tables. The only other issue is whether it should be read, write or both.

from dynamodb-lambda-autoscale.

tmitchel2 avatar tmitchel2 commented on July 2, 2024

So for min I think 1 is adequate because obviously lower is better in terms of cost and the provisioner will never provision less than you need (unless you change the default settings. Potentially a massive spike and throttles could be avoided but I've included functionality to cover most of those cases also. Please let me know if you think of a scenario that I missed..

For max yes I can see that definitely as being a requirement but you could either just lump it and put a high number across the board to keep things simple (it's not going to use it just because it's able to) or maybe use the default config as a prototype, clone it and then just modify the max values using a map of table name to max value..?

from dynamodb-lambda-autoscale.

chriskinsman avatar chriskinsman commented on July 2, 2024

Realized the groupings also have different scale characteristics in terms of how quickly they ramp up and/or down. Just going with multiple files for now I think.

from dynamodb-lambda-autoscale.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.