All Projects → gophercarrot → Carrot

gophercarrot / Carrot

Licence: mit
Distributed WebSocket and HTTP Load Testing Framework in Go

Programming Languages

go
31211 projects - #10 most used programming language
golang
3204 projects

Projects that are alternatives of or similar to Carrot

Sish
HTTP(S)/WS(S)/TCP Tunnels to localhost using only SSH.
Stars: ✭ 2,087 (+1359.44%)
Mutual labels:  websockets
Hprose Js
Hprose is a cross-language RPC. This project is Hprose 2.0 RPC for JavaScript
Stars: ✭ 133 (-6.99%)
Mutual labels:  websockets
Azure Signalr
Azure SignalR Service SDK for .NET
Stars: ✭ 137 (-4.2%)
Mutual labels:  websockets
Gatling Dubbo
A gatling plugin for running load tests on Apache Dubbo(https://github.com/apache/incubator-dubbo) and other java ecosystem.
Stars: ✭ 131 (-8.39%)
Mutual labels:  load-testing
Golive
⚡ Live views for GoLang with reactive HTML over WebSockets 🔌
Stars: ✭ 130 (-9.09%)
Mutual labels:  websockets
Bolt Js
A framework to build Slack apps using JavaScript
Stars: ✭ 1,971 (+1278.32%)
Mutual labels:  websockets
Signalw
Even simpler and faster real-time web for ASP.NET Core.
Stars: ✭ 125 (-12.59%)
Mutual labels:  websockets
React Native Signalr
Use SignalR with React Native
Stars: ✭ 141 (-1.4%)
Mutual labels:  websockets
Rfc6455
I/O agnostic WebSocket Protocol
Stars: ✭ 133 (-6.99%)
Mutual labels:  websockets
Http
An opinionated framework for scalable web 🌎
Stars: ✭ 136 (-4.9%)
Mutual labels:  websockets
Weewx Belchertown
A clean and modern weewx skin with real time streaming updates, forecast data and interactive charts. View it in action at BelchertownWeather.com
Stars: ✭ 131 (-8.39%)
Mutual labels:  websockets
Tk Http
Full featured HTTP and Websockets library for rust/tokio
Stars: ✭ 132 (-7.69%)
Mutual labels:  websockets
Actix Web
Actix Web is a powerful, pragmatic, and extremely fast web framework for Rust.
Stars: ✭ 12,723 (+8797.2%)
Mutual labels:  websockets
Huobi
火币的行情交易的python实现
Stars: ✭ 129 (-9.79%)
Mutual labels:  websockets
Shadowreader
Serverless load testing for replaying website traffic. Powered by AWS Lambda.
Stars: ✭ 138 (-3.5%)
Mutual labels:  load-testing
Websocket Nats
An in-browser websocket client for NATS, a lightweight, high-performance cloud native messaging system
Stars: ✭ 125 (-12.59%)
Mutual labels:  websockets
Tacks
Real-time multiplayer sailing game, in your browser
Stars: ✭ 134 (-6.29%)
Mutual labels:  websockets
Vex
vex is a small PHP app that sends some load to a web application
Stars: ✭ 142 (-0.7%)
Mutual labels:  load-testing
Graphqlws
Implementation of the GraphQL over WebSocket protocol in Go.
Stars: ✭ 139 (-2.8%)
Mutual labels:  websockets
Osc Js
OSC library for Node.js, Electron, Chrome Apps, Webpages or any other JS application. It comes with a customizable Plugin API for WebSocket, UDP or bridge networking
Stars: ✭ 135 (-5.59%)
Mutual labels:  websockets

Carrot

Distributed WebSocket and HTTP Load Testing Framework in Go

Highly Concurrent Load Testing Framework

Setup

Properly setup $GOPATH

Fetch Dependencies

go get github.com/gorilla/websocket
go get github.com/wcharczuk/go-chart

Fetch Carrot

go get -v github.com/gophercarrot/carrot

Running

Go to $GOPATH/go/src/github.com/gophercarrot/carrot and run

go run cmd/main.go

Config at Run time

go run main.go -host=example.com -protocol=wss -htime=40 -request=5000 -wtime=1 -htime=30 -path=/somepath

wtime -> number of seconds to wait before writing to websockets
htime -> number of milliseconds to wait before creating new websocket connection

Parameters in main.go

currentTest := &carrot.Base{"example.com", "wss", 1000, msg, 2, 30}

wss -> protocol use 'ws' for localhost
1000 -> number of requests
msg -> payload to send
2 -> number of seconds to wait before writing to websockets
30 -> number of milliseconds to wait before creating new websocket connection

After stats you should see screenshot which can be looked at http://localhost:8900/latency

ScreenShot

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].