Conversation Resource Deallocation System for Chatbot Throughput
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Maintaining inactive conversations in chatbot systems unnecessarily consumes computing resources, reducing system throughput and preventing these resources from being allocated to other conversations or processes.
Innovation Solution
A conversation resource deallocation system (CDS) that monitors conversation activity, deallocates resources when a predefined timeout period is exceeded, and reallocates these resources to support other conversations or processes.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Stability of the object's composition
If computing resources are allocated to maintain inactive conversations, then conversation continuity is preserved, but system throughput is reduced
Solution Approach 1:
The system performs preliminary actions by setting timeout periods and monitoring conversation activity levels before resources are fully allocated. When a conversation becomes inactive beyond the timeout period, the system proactively deallocates resources in advance, preventing wasted computational resources while maintaining conversation continuity for active users.
Solution Approach 2:
The system implements a mechanism to discard resources allocated to inactive conversations after a timeout period and recover these resources for allocation to new active conversations. This ensures that computing resources are not permanently tied up in inactive sessions, thereby maintaining high system throughput.
2Reliability
If computing resources are allocated to inactive conversations, then user session maintenance is ensured, but resource utilization efficiency is reduced
Solution Approach 1:
The system dynamically adjusts resource allocation based on conversation activity status. Resources are allocated to maintain user sessions for active conversations but are deallocated when conversations become inactive beyond the timeout period. This dynamic approach ensures reliable session maintenance for active users while improving resource utilization efficiency by releasing resources from inactive sessions.
Solution Approach 2:
The system continuously monitors conversation activity and uses this feedback to determine when to maintain or deallocate resources. When a conversation exceeds the timeout period without activity, the system receives feedback that triggers resource deallocation, thereby maintaining reliable session management for active users while optimizing resource utilization efficiency.
3Productivity
If timeout period is extended to maintain more conversations, then conversation retention increases, but resource waste increases
Solution Approach 1:
The system allows flexible configuration of timeout period parameters to balance conversation retention with resource waste prevention. By adjusting the timeout parameter, administrators can optimize the balance between maintaining active conversations and releasing resources from inactive ones, preventing resource waste while ensuring adequate conversation retention for user needs.
Data Source
AI summary
System, method, and various embodiments for conversation resource deallocation system are described herein. An embodiment operates by initiating a conversation between a chat bot and a user device, allocating a plurality of resources to maintain the conversation, and generating both a state entry and master entry for the conversation in a storage system, whereby the state entry is associated with a timeout period for the conversation. A first list of all master entries and a second list of master entries for which a corresponding one of the state entry is retrieved. A third list of the master entries for which the timeout period has expired is generated based on the first and second lists. Based on the third list, it is determine that the conversation has exceeded the timeout period, and the resources are deallocated.


