Skip to content

fix: Investigate and Resolve Slow Fetching from Backend API #64

@JustinhSE

Description

@JustinhSE

Overview

The versify app is experiencing significant delays or failures when fetching k-means cluster results from our Python backend API. This issue is causing poor user experience and needs to be addressed urgently. We need to investigate the entire pipeline from the frontend request to the backend processing and response to identify and resolve bottlenecks.

Tasks

  1. Analyze Frontend API Call Implementation

    • Review the existing code for API calls to the Python endpoint
    • Check for proper error handling and timeout settings
    • Verify if requests are being made efficiently (e.g., not over-fetching)
  2. Backend API Performance Analysis

    • Investigate the Python backend to identify slow operations
    • Check if the k-means algorithm implementation is optimized
  3. Caching Strategy (up for discussion)

    • Implement caching for frequently requested k-means results

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions