333gle
UW CSE 333 coursework · 2023
A C++ course project connecting HTTP parsing, sockets, a thread pool, and indexed document search. Includes tests for the server's lower-level components.
UW CSE 333 coursework. The repository includes course-provided code and indexing libraries.
View repositoryThe original search interface and captured results.
A query in the browser
The search form from the existing application screenshot.
Matching documents
Results for “hello” in the captured example. The page reports 44 matches.
helloHTTP requestServing a request
A connection is assigned to the thread pool; query handling reads the prepared index.
Implementation notes
Hand a connection to a worker.
The server opens a listening socket and dispatches accepted connections through a thread pool. Each task carries the connection and index context needed to answer a request.
Turn a query into a results page.
The HTTP layer handles file and query requests. Query processing uses index-reader libraries from earlier coursework, and the server formats matching documents for the browser.
Keep the course scope clear.
The repository includes course-provided code and static indexing libraries, plus tests for files, HTTP handling, sockets, and the thread pool.
