A high-performance backend service built with Rust, gRPC, Redis, and PostgreSQL.
# For macOS brew install postgresql redis protobuf
git clone https://github.com/rikulauttia/gRPC-Redis-Postgres-Engine.git cd gRPC-Redis-Postgres-Engine
# Create .env file cp .env.example .env # Edit .env with your configuration
cargo install sqlx-cli sqlx migrate run
docker compose up --build
Sends a message to a specific user. Request (MessageRequest):
-user_id: string - Unique identifier of the user
-message: string - Content of the message
Response (MessageResponse):
-status: string - Status of the operation
Example using grpcurl:
grpcurl -d '{"user_id": "123", "message": "Hello"}' \ -plaintext localhost:50051 \ messaging.MessagingService/SendMessage
Run performance tests using ghz:
ghz --insecure \ --proto ./proto/service.proto \ --call messaging.MessagingService.SendMessage \ -d '{"user_id": "123", "message": "test"}' \ -n 1000 \ -c 50 \ '[::1]:50051'
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4