News for hackers. Stuff that matters.
Re:Show HN: GameOfCoins.de – Virtual Cryptocurrency Trading by drakmail on Wednesday September 13, 2017 @05:22PM (#15242822)
Sqlite in production? Seriously? And Python 2.7... Move to 3.x and PostgreSQL at least ;-)

PS. Nice idea

Re:Show HN: GameOfCoins.de – Virtual Cryptocurrency Trading by eralpb on Wednesday September 13, 2017 @05:25PM (#15242848)
I didn't know Python3 offers better performance to be honest, but Sqlite is a real ordeal for this t2.micro now ;)

(Switched to PostgreSQL in a hot-change fashion!)

Re:Show HN: GameOfCoins.de – Virtual Cryptocurrency Trading by silly_giraffe on Wednesday September 13, 2017 @07:10PM (#15243604)
SQLite can handle a lot more than people think. The SQLite website uses it for production (https://www.sqlite.org/whentouse.html)
Re:Show HN: GameOfCoins.de – Virtual Cryptocurrency Trading by StavrosK on Wednesday September 13, 2017 @10:15PM (#15244522)
It can handle a lot of reads, but you'll have problems with multiple concurrent writes (at least with Python). I run read-heavy production websites on SQLite just fine, though.
Re:Show HN: GameOfCoins.de – Virtual Cryptocurrency Trading by stefantheard on Wednesday September 13, 2017 @05:30PM (#15242892)
How much do you pay for your t2.micro?
Re:Show HN: GameOfCoins.de – Virtual Cryptocurrency Trading by olegkikin on Wednesday September 13, 2017 @05:37PM (#15242960)
It's $9.50/month. Quite a lot of money for 1GB RAM, 1 vCPU.

https://aws.amazon.com/ec2/instance-types/t2/

Re:Show HN: GameOfCoins.de – Virtual Cryptocurrency Trading by egeozcan on Wednesday September 13, 2017 @05:39PM (#15242970)
It doesn't make sense if you are not orchestrating them heavily, really.
Re:Show HN: GameOfCoins.de – Virtual Cryptocurrency Trading by olegkikin on Wednesday September 13, 2017 @05:46PM (#15243020)
Even if you do, if you need lots of power, just get a cheap powerful VPS or even dedicated.

AWS advantage is infinite redundancy, you can fully automate failing servers. But it looks like you have to pay around 10X for that.

Re:Show HN: GameOfCoins.de – Virtual Cryptocurrency Trading by egeozcan on Wednesday September 13, 2017 @05:50PM (#15243048)
I think we are saying the same thing :)
Re:Show HN: GameOfCoins.de – Virtual Cryptocurrency Trading by fazkan on Wednesday September 13, 2017 @05:38PM (#15242962)
how did you come to know which stack, the app is using..
Re:Show HN: GameOfCoins.de – Virtual Cryptocurrency Trading by binora on Thursday September 14, 2017 @02:48AM (#15245496)
Re:Show HN: GameOfCoins.de – Virtual Cryptocurrency Trading by eralpb on Wednesday September 13, 2017 @06:04PM (#15243159)
I had the Debug mode on, which gives MANY information about the stack and all that :)
Re:Show HN: GameOfCoins.de – Virtual Cryptocurrency Trading by fazkan on Thursday September 14, 2017 @09:52AM (#15247973)
this makes sense...but still he knows which database you are using. I dont think debug errors give that information. Or does it???
Re:Show HN: GameOfCoins.de – Virtual Cryptocurrency Trading by askz on Thursday September 14, 2017 @01:33PM (#15250347)
With Django debug toolbar or even flask debug toolbar, you can have this can of information.
Re:Show HN: GameOfCoins.de – Virtual Cryptocurrency Trading by drakmail on Thursday September 14, 2017 @02:52PM (#15251252)
It does