Microhost Program Filesystem Service Discovery

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Microservice architectures present challenges in reducing the number of keystrokes required to bring systems online without introducing complexity or cost, particularly during integration with other microservices or monolithic architectures, and existing tools lack robustness in service discovery and file orchestration.

Innovation Solution

A microhost program that discovers microservices in a root directory using filesystem queries, allowing for efficient reorganization and elimination of the need for oversized router files or explicit dependency analysis, thereby reducing processing time and improving development speed.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If microservice architectures are used to enable flexible development and deployment, then adaptability and development speed are improved, but device complexity and integration costs increase

Engineering Contradiction:
Improvedevelopment flexibilityVSAvoidintegration complexity
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The system enables self-service through automated service discovery where services automatically register themselves with the file system watcher, which then autonomously detects and propagates service location information across the distributed system without requiring manual configuration or coordination between services

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The patent replaces manual service registration and dependency tracking mechanisms with an automated file system-based event-driven system. The file system watcher automatically detects changes in service locations and triggers appropriate actions, substituting complex manual orchestration with simple file system events

Inventive Principle:
Principle #28Mechanics substitution (Replace mechanical system)

2Reliability

If explicit dependency analysis and coordination mechanisms are implemented between microservices, then service discovery reliability is improved, but processing time and development overhead increase

Engineering Contradiction:
Improveservice discovery reliabilityVSAvoidprocessing time
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The file system watcher operates continuously in the background, constantly monitoring for service registration and location changes. This continuous operation eliminates the need for periodic service discovery requests or manual dependency analysis, maintaining up-to-date service information without interrupting the development workflow

Inventive Principle:
Principle #20Continuity of useful action

Solution Approach 2:

Services automatically register themselves with the file system watcher during initialization, performing the service discovery setup in advance. This preliminary registration allows the system to have service location information ready before it is actually needed, eliminating on-demand discovery overhead

Inventive Principle:
Principle #10Preliminary action

3Extent of automation

If network-based service communication is used as in Kubernetes and Docker Swarm, then service orchestration capability is improved, but communication overhead and deployment complexity increase

Engineering Contradiction:
Improveservice orchestration capabilityVSAvoidcommunication overhead
Core Design Contradiction:
Extent of automationVSEase of operation

Solution Approach 1:

The file system acts as an intermediary between services, replacing complex network-based service meshes and orchestration layers. Service location and dependency information is stored as files in a shared file system, allowing services to discover and communicate with each other through simple file I/O operations rather than complex network protocols

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

Service location information and dependencies are copied into the file system as persistent records. This creates a tangible, versionable representation of service topology that can be inspected, backed up, and reproduced, replacing ephemeral network state with persistent file-based state

Inventive Principle:
Principle #26Copying

Data Source

PatentUS11941465B2File discovery on a data storage device based on a filesystem location of microservices
Publication Date: 2024.03.26 WHITFIELD MICHAEL G
  • US11941465B2 patent drawing
  • US11941465B2 patent drawing
  • US11941465B2 patent drawing

AI summary

The present disclosure describes creating a cache of discovered directories in a filesystem stored on a data storage device wherein said cache of discovered directories describe packages that are semantically constructed as microservices, among numerous other aspects.