abde6cb59e7150c41cb0d6bf8f215513260c7ca9
Introduce an asyncio.Semaphore(1) and a run_in_executor method in BaseMapper, wrapping synchronous table operations (find_one, exists, count, upsert) to prevent blocking the event loop. Add a loop property returning the current event loop.
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
60.6%
HTML
19%
JavaScript
17.1%
CSS
3.2%