{"repo":"justanotherbyte/imoog","free":true,"listed":false,"github":"https://github.com/justanotherbyte/imoog","clone":"git clone https://github.com/justanotherbyte/imoog.git","description":"A database-based CDN node supporting PostgreSQL and MongoDB backends.","language":"Python","stars":12,"topics":["cdn","asyncio","python","content-delivery-network","uvicorn","hypercorn","postgresql","mongodb","asyncpg","motor"],"license":"GPL-3.0","category":"databases-storage","readme_excerpt":"&nbsp; imoog A database-based CDN node supporting PostgreSQL and MongoDB backends. Ubuntu host guide by Digital Ocean. A simple to use database-based deployable CDN node for hobbyist developers who wish to have their own CDN! Setup --- - Clone this repo via this command: git clone https://github.com/justanotherbyte/imoog - Go into the imoog/settings.py file and adjust your settings. Examples for both database drivers have been provided in the file. - Install a production asgi server of your choice. The 2 I recommend are hypercorn and uvicorn . Installing their base packages will suffice. - To automatically install the respective dependencies, please run pip install -r requirements.txt in the directory where you wish to store your node. - It is recommended to house the imoog folder within another folder, as there are other files that come with this repo, that are not housed within the imoog folder. Running your ASGI server --- Hypercorn Uvicorn Please keep in mind that both Uvicorn and Hypercorn support running applications through the Unix Domain Socket (UDS) protocol rather than the Transmission Control Protocol (TCP). The choice is yours. On another note, keep in mind that the amount of workers you have will only affect performance if your machine's CPU core count supports it. Else, increasing the worker count will not be helpful at all. To read more about sockets and which protocol will be the right one for you, please refer to this article: https://www.digitalocean.com/co","default_branch":null,"files":null,"tree":[],"storefront":"/r/justanotherbyte","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/justanotherbyte/imoog/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}