Comments (5)
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.
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.
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.
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.
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)
- bug: LocalStack ignores the region when using AWS .NET SDK for SNS HOT 5
- bug: Step Functions fails to execute nested maps HOT 2
- bug: CDKMetaData failing to delete in CFN HOT 2
- bug: API Gateway works with GET HTTP integration method for Lambda Proxy, when it should only be POST HOT 3
- bug: parity issue in secretsmanager when peforming tags operation
- bug: Cloudformation doesn't support Fn::GetAtt dot.notation HOT 3
- bug: Aurora Global DB -- Secondary Cluster Promotion HOT 5
- enhancement request: Create / Delete named shadows for things in IoT core.
- bug: Handling States.DataLimitExceeded as custom Error HOT 1
- enhancement request: Cloudfront Hot Code Reloading
- enhancement request: Additional Logging Configuration Flags HOT 1
- bug: StepFunctions: SecondsPath in Wait state throws error HOT 1
- bug: Lambda layers are not working properly; cannot add them via terraform, nor view their version or description when added via UI HOT 4
- SQS trigger lambda not in expected schema format
- LocalStack doesnt validate DynamoDb action HOT 3
- bug: Localstack Glue is missing support for Postgres and Redshift JDBC driver HOT 6
- Native Transcribe support for aarch64 HOT 7
- bug: The TimestampPath parameter does not reference a valid ISO-8601 extended offset date-time format string HOT 1
- bug: EC2 instance is not created
- bug: s3 - `PersistedS3ObjectStore.open() got an unexpected keyword argument 'mode'` HOT 3
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 localstack.