Skip to content

DOC-313: Kinesis: add option for a rust based mock#731

Open
jbeemster wants to merge 1 commit into
mainfrom
kinesis-rust-mock
Open

DOC-313: Kinesis: add option for a rust based mock#731
jbeemster wants to merge 1 commit into
mainfrom
kinesis-rust-mock

Conversation

@jbeemster

Copy link
Copy Markdown

No description provided.

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying localstack-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: 8f0d6b7
Status: ✅  Deploy successful!
Preview URL: https://8c236338.localstack-docs.pages.dev
Branch Preview URL: https://kinesis-rust-mock.localstack-docs.pages.dev

View logs

Future versions of LocalStack will likely default to using the `scala` engine over the less-performant `node` version currently in use.
:::

#### Rust engine

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Its hard to benchmark Scala vs Rust accurately as Scala does not adhere to API data plane limits like 1MiB/s ingress rates per shard but all of my tests show lower CPU + Memory usage and equivalent or better throughput once shards are scaled up high enough for the Rust side to really get going.


Regardless of the selected engine, you can reduce `KINESIS_LATENCY` artificial response delays from the default `500` milliseconds (or disable them entirely with `0`).

Refer to our [Kinesis configuration documentation](https://docs.localstack.cloud/references/configuration/#kinesis) for more details on these parameters.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hey @jbeemster, we don't have a /references directory in docs, curious about where you found this link?

(this looks like an old link from the v1 docs site from over a year ago)

It would be helpful to know where this old url came from, such as did you find in in search results? Want to double check if I need to update the 301s for this repo.

@quetzalliwrites

Copy link
Copy Markdown
Collaborator

tyvm for your docs contribution, @jbeemster 🌟

FYI: Not related to your work, but Peter and I are about to push a hot fix to our 301s and some of the directories in a seperate PR. Once I merge Peter's PR, I need to update your PR with the correct kinesis config doc url.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants