Security News
pnpm 10.0.0 Blocks Lifecycle Scripts by Default
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
artillery-engine-kinesis
Advanced tools
Load Test AWS Kinesis with Artillery.io
This Artillery plugin allows you to load test AWS Kinesis streams.
Load testing a Kinesis stream will help you answer question like "have we provisioned enough shards to be able to handle expected volume?" and "are our consumers able to handle the amount of messages that will be streamed via Kinesis?"
Take guesswork out of provisioning capacity for your Kinesis streams and make sure your consumers can scale to process incoming data.
Important: The plugin requires Artillery 1.5.8-3
or higher.
# If Artillery is installed globally:
npm install -g artillery-engine-kinesis
config.target
to the name of the Kinesis streamconfig.kinesis
:
region
- AWS region (default: us-east-1
)engine
property of the scenario to kinesis
.putRecord
in your scenario to push data to the stream.config:
target: "analytics_events"
kinesis:
region: "us-east-1"
# Emulate 10 publishers
phases:
arrivalCount: 10
duration: 1
engines:
kinesis: {}
scenarios:
- name: "Push to stream"
flow:
- loop:
- putRecord:
# data may be a string or an object. Objects
# will be JSON.stringified.
data:
eventType: "view"
objectId: "ba0ec3de-26fe-4874-a74d-b72527160278"
timestamp: 1492975372004
location: "London, UK"
- think: 1
count: 100
(See example.yml for a complete example.)
AWS_PROFILE=dev artillery run my_script.yml
FAQs
Load test AWS Kinesis with Artillery.io
The npm package artillery-engine-kinesis receives a total of 2 weekly downloads. As such, artillery-engine-kinesis popularity was classified as not popular.
We found that artillery-engine-kinesis demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.