Implement event loop for command handling in SugarDB. #164
Labels
advanced
An advanced enhancement requiring deep knowledge of the codebase and/or a particular topic
enhancement
New feature or request
To simplify the implementation of the SugarDB engine, let's experiment with an event loop that handles requests and other events such as snapshots, expiring keys, etc.
The event loop will run in a single goroutine and will handle internal and TCP request events. The embedded API will bypass the event loop. Store access will be synchronized between embedded API calls and TCP events using a mutex.
The text was updated successfully, but these errors were encountered: