
Security News
Software Engineering Daily Podcast: Feross on AI, Open Source, and Supply Chain Risk
Socket CEO Feross Aboukhadijeh joins Software Engineering Daily to discuss modern software supply chain attacks and rising AI-driven security risks.
github.com/ease-lab/vSwarm/benchmarks/aes
Advanced tools
The AES benchmark use the AES128 algorithm to encrypt a certain message string. As we are using the aes gRPC protocol for this benchmark the message will be the plaintext_message variable. If you do not specify a plaintext_message a default plaintext_message is taken. You can change the default plaintext_message with the argument default-plaintext.
AES requires a secret key for encryption. The functions use a default key but you can specify your own by passing it with the key argument to the function. See source code for more details.
The same functionality is implemented in different runtimes, namely Python, NodeJS and golang.
The detailed and general description how to run benchmarks local you can find here. The following steps show it on the aes-python function.
make all-images or make pull.docker-compose -f yamls/docker-compose/dc-aes-python.yaml up
./tools/bin/grpcurl -plaintext localhost:50000 helloworld.Greeter.SayHello
# build the invoker binary
cd ../../tools/invoker
make invoker
# Specify the hostname through "endpoints.json"
echo '[ { "hostname": "localhost" } ]' > endpoints.json
# Start the invoker with a chosen RPS rate and time
./invoker -port 50000 -dbg -time 10 -rps 1
The detailed and general description on how to run benchmarks on knative clusters you can find here. The following steps show it on the aes-python function.
make all-images or make pull.kn service apply -f ./yamls/knative/kn-aes-python.yaml
http:// we'll call $URL. Replace any instance of $URL in the code below with it../test-client --addr $URL:80 --name "Example text for AES"
# build the invoker binary
cd ../../tools/invoker
make invoker
# Specify the hostname through "endpoints.json"
echo '[ { "hostname": "$URL" } ]' > endpoints.json
# Start the invoker with a chosen RPS rate and time
./invoker -port 80 -dbg -time 10 -rps 1
This Benchmark supports distributed tracing for all runtimes. For the general use see vSwarm docs for tracing locally and with knative.
FAQs
Unknown package
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
Socket CEO Feross Aboukhadijeh joins Software Engineering Daily to discuss modern software supply chain attacks and rising AI-driven security risks.

Security News
GitHub has revoked npm classic tokens for publishing; maintainers must migrate, but OpenJS warns OIDC trusted publishing still has risky gaps for critical projects.

Security News
Rust’s crates.io team is advancing an RFC to add a Security tab that surfaces RustSec vulnerability and unsoundness advisories directly on crate pages.