comment server implemented in python to host comments on lbry
Find a file
2019-05-21 07:54:52 -04:00
config Adjusts logger & stops database frop dropping tables on each DDL startup 2019-05-21 07:29:01 -04:00
lbry_comment_server Reorganizes imports 2019-05-21 07:54:52 -04:00
schema Adjusts logger & stops database frop dropping tables on each DDL startup 2019-05-21 07:28:21 -04:00
tests Reorganizes imports 2019-05-21 07:54:52 -04:00
README.md Reorganizes imports 2019-05-21 07:54:52 -04:00
requirements.txt Reorganizes imports 2019-05-21 07:54:52 -04:00

LBRY Comment Server v2

This is a rewrite & update of the server written by myself and Grayson Burton here

A lot of the design is more or less the same with the original, except this version focuses less on performance and more on scalability.

Rewritten with python because it's easier to adjust and maintain. Instead of doing any multithreading, this implementation just delegates a single database connection for write operations.

The server was originally implemented with aiohttp and uses aiojobs for scheduling write operations. As pointed out by several people, Python is a dinosaur in comparison to SQLite's execution speed, so there is no sensibility in multi-threading from the perspective of the server code itself.

The schema for