34adf19bbe97a7a0617fd7c083f912acfe3e9fb1
Replace the plain dict cache with an OrderedDict-based implementation that provides O(1) LRU eviction by re-inserting accessed items at the end. Introduce an asyncio.Lock to ensure thread-safe concurrent access during get/set operations. Enable caching by default (self.enabled = True) and add import for asyncio and OrderedDict.
Snek
Slack like chat application with focus on performance
This is a slack like chat application with focus on performance. Other slack-like applications became too heavy. My RocketChat just had an 'frontend' crash. Just an error from the system itself like it's the most normal thing in the world.
Running
At this point, there's nothing officially running but what you can do:
- Install the project:
make install - Run part of the project:
./venv/bin/python -m snek.app - Run other part of the project:
./venv/bin/python -m snek.models
Languages
Python
51.8%
HTML
28%
JavaScript
15.5%
CSS
4.6%