
Security News
Vite Releases Technical Preview of Rolldown-Vite, a Rust-Based Bundler
Vite releases Rolldown-Vite, a Rust-based bundler preview offering faster builds and lower memory usage as a drop-in replacement for Vite.
github.com/vadimgossip/tcpbsonserverreqgenerator
BSON request generator Allows to generate N requests per second for M seconds. Both parameters are set in the config.
Example:
requestGenerator:
routePerSec: 100
workTimeSec: 5
Query example:
type RouteRequest struct {
RequestType string `bson:"requestType"`
MsgId int `bson:"msgId"`
SendTime time.Time `bson:"sendTime"`
RouteDuration time.Duration `bson:"routeDur"`
}
The RouteDuration parameter is needed to emulate somehow working on the server side.
Server example: https://github.com/VadimGossip/tcpBsonServerExample
Server response example:
type RouteResponse struct {
Err string `bson:"err,omitempty"`
SendTime time.Time `bson:"sendTime,omitempty"`
RouteStartTime time.Time `bson:"routeBegin,omitempty"`
RouteEndTime time.Time `bson:"routeEnd,omitempty"`
}
When the program finishes, it generates a response of the form:
config {RoutePerSec:100 WorkTimeSec:5}
Route Request Sent 500
Route Histogramm map[200:500]
Route Request Avg Answer Duration 109.552003ms
Route Request Min Answer Duration 106.7175ms
Route Request Max Answer Duration 127.097ms
Histogram Step 100ms
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
Vite releases Rolldown-Vite, a Rust-based bundler preview offering faster builds and lower memory usage as a drop-in replacement for Vite.
Research
Security News
A malicious npm typosquat uses remote commands to silently delete entire project directories after a single mistyped install.
Research
Security News
Malicious PyPI package semantic-types steals Solana private keys via transitive dependency installs using monkey patching and blockchain exfiltration.