energystorm51 / Multi-Threaded-Network-Server-for-Pattern-Analysis

A high-performance multi-threaded network server capable of managing incoming connections, processing text data, and analysing patterns within the data.
0 stars 1 forks source link

Multithreaded Analysis #9

Closed energystorm51 closed 1 month ago

energystorm51 commented 1 month ago

After each line is added, the server checks if it contains the specified search pattern. If a match is found, this triggers additional actions to record the occurrence.

Acceptance criteria:

  1. Create a new pointer next_frequenct_search for each node that links to the next line that contains the search pattern. This allows for efficient retrieval and analysis of the lines later on. 
  2. Maintain a counter for each book to track the frequency of lines that contain the search pattern.
  3. Output to console {rank} --> Book: {book_title}, Pattern: "{search_pattern}", Frequency: {frequency_count}.