Open stemount opened 3 years ago
... there is also an idea where we could connect cloutbot to a GitHub repository and use it as a flat file DB, there may not even be a need for a relational database at all.
(This could be an epic ORM hack where a custom flat file driver is made for github)
Redis might also be a nice idea as we only need ID => Reputation
... there is also an idea where we could connect cloutbot to a GitHub repository and use it as a flat file DB, there may not even be a need for a relational database at all.
@stemount, I'm using the github file db with manual AXIOS requests from nodejs, as a heroku backend. I don't have any complaints about the performance 👍🏻
... there is also an idea where we could connect cloutbot to a GitHub repository and use it as a flat file DB, there may not even be a need for a relational database at all.
@stemount, I'm using the github file db with manual AXIOS requests from nodejs, as a heroku backend. I don't have any complaints about the performance 👍🏻
Hi @ujjwal-kr How did you find our community? :-)
Yes, I think a flat file database would be great, I am wondering how it would scale though to commit every single reputation change e.g. is a 1,000,000 commit Git repo (of really minor changes to a flat file DB) vs committing more changes in a diff every 5-10mins would be?
To keep all the solutions in check, we need to decide what ORM is used so we can support
sqlite3
,postgres
,mysql
etc.