Git Product home page Git Product logo

Comments (5)

bentsku avatar bentsku commented on September 21, 2024 2

Hello @kunhuang3 and thanks a lot for your report! We've started working towards improving the performance of DynamoDB when streams are enabled.

Just as a note, I don't think we will be able to have the same performance as the baseline setup with no streams, because we have to execute a lot more logic to retrieve the previous version of the item and forward the data. That said, it seems from our preliminary benchmarks that we will be able to bring it much closer (around 2 times slower than without streams) than what it is currently, which from your benchmark would be around a 10x speed up.

I'll keep you updated about when the fix will be available. Thank you again for your report!

from localstack.

localstack-bot avatar localstack-bot commented on September 21, 2024

Welcome to LocalStack! Thanks for reporting your first issue and our team will be working towards fixing the issue for you or reach out for more background information. We recommend joining our Slack Community for real-time help and drop a message to LocalStack Pro Support if you are a Pro user! If you are willing to contribute towards fixing this issue, please have a look at our contributing guidelines and our contributing guide.

from localstack.

thrau avatar thrau commented on September 21, 2024

Hello @kunhuang3 ! The fix should be available in the latest docker image. Could you please give it a try? See #10415 for more details,

from localstack.

kunhuang3 avatar kunhuang3 commented on September 21, 2024

Hey @thrau Thanks for the update.
Running the benchmark in latest docker image, the performance looks good.

  • No stream: 1.8291230201721191
  • DDB stream enabled: 6.7653350830078125
  • Kinesis Data Stream: 4.290841102600098

from localstack.

bentsku avatar bentsku commented on September 21, 2024

Hi @kunhuang3, thanks for the feedback and confirming the fix improved the performance in the benchmark. Did it fix the issue you encountered in your real use-case as well?

Thank you again for providing a very detailed report with the code and results, it helped a lot to reproduce the issue and fix it.

I believe we can consider the issue closed in the meantime, but feel free to comment again if there's still anything.
Thank you again!

from localstack.

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.