This repository hosts the Master Connect Program (MCP) for the YaCy Grid, a peer-to-peer search engine. The MCP acts as a broker, providing access to assets, messages, and databases for
The YaCy Grid is a peer-to-peer search engine's second-generation implementation, composed of micro-services communicating through a shared data persistence infrastructure. The MCP acts as a broker, providing HTTP servlets for accessing assets, messages, and databases. YaCy Grid microservices connect to the MCP to utilize these services. The MCP also acts as a router, enabling services to learn direct connections to the infrastructure components.
The MCP supports external services like FTP for asset storage, RabbitMQ for messaging, and Elasticsearch for database operations. However, it can also function independently using built-in MapDB for databases and message storage, and a local directory for assets.
The default port for the MCP is 8100, with other services using ports from 8200 to 8900 and 10100 to 10200. Installation involves cloning the repository, building with Gradle, and running. Configuration is done via a config.properties
file. The API can be tested using curl
commands for writing messages and assets.
yacy/yacy_grid_mcp
January 30, 2017
March 15, 2025
Java