Broker Server Traffic Distribution for Online Lottery Crash Prevention
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
The existing online lottery systems are prone to crashing due to increased traffic during lottery jackpots, which can prevent ticket purchases and deter players from buying tickets online in the future.
Innovation Solution
A lottery system that includes node servers and a broker server to redirect clients to less busy servers, distributing traffic and preventing crashes, with the broker server allocating clients to node servers based on factors like traffic load, geographic location, and account type, ensuring some clients can still purchase tickets even if a node crashes.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Device complexity
If a single agent server handles all online lottery ticket purchases, then the system is simple to manage, but the server crashes under high traffic during jackpots
Solution Approach 1:
The system divides the single agent server into multiple node servers (first node server, second node server, etc.) that handle lottery ticket purchases independently. This segmentation distributes the traffic load across multiple servers, preventing any single server from crashing under high traffic conditions while maintaining system simplicity through modular architecture.
2Ease of operation
If traffic is concentrated on one server, then server allocation is simple, but ticket purchase reliability decreases during high traffic periods
Solution Approach 1:
A broker server is introduced as an intermediary between clients and node servers. The broker server receives client requests, determines which node server is currently least busy, and redirects clients to appropriate servers. This maintains simple server operation while significantly improving ticket purchase reliability during high traffic periods by dynamically balancing load.
Solution Approach 2:
The system implements dynamic server allocation where the broker server continuously monitors node server status and redirects clients to the least busy server at any given moment. This dynamic approach ensures optimal distribution of traffic across node servers, maintaining high purchase success rates even during jackpot periods with intense traffic.
3Reliability
If multiple node servers are used with broker server redirection, then system reliability improves during high traffic, but system complexity increases
Solution Approach 1:
Each node server is designed to be universal and capable of handling all types of lottery ticket purchase requests independently. The broker server provides a unified interface for client redirection. This multi-functionality allows the system to scale reliably by adding more node servers without increasing the complexity of individual server operations, as each server performs the same core functions.
Data Source
AI summary
The present invention relates to a lottery system for redirecting an online lottery client to impede crashing owing to increased traffic during a lottery jackpot. The system includes node servers including a first node server and a second node server. A broker server indicates to the first node server that the second node server is allocated to the client so that the first node server can redirect the client to the second node server to distribute traffic among node servers and impede crashing.


