Hacker News new | ask | show | jobs
by im_cynical 2886 days ago
Currently been working on a web app for about 8 months.

Python for the backend under the argument of "build using what you know". ReactJS for frontend development because Python for frontend work I find very antiquated.

Architecture wise I'm hosted in AWS. Data is stored in MySQL and Redis. All self hosted because I'm to cheap to pay per request pricing and the overhead is very minor when done right when rolling my own

2 comments

How much RAM do you allocate to Redis?
My current indie web app is still in development so final numbers for prod are TBD. However I'm using it for

* Storing time counters on user actions (timestamp of last time a user posted/edited X, meant to be a throttling mechanism against abuse)

* Site content caching, around 20-50kb per page, each page being user generated content

Sizes will obviously vary on traction so not sure about the final numbers.

----

My last 9-to-5 employer was a very well known and my largest caching tier in Redis there was 512GB in a cluster configuration. I'm using the same server configuration and sharding logic for the indie thing, just on a smaller scale

Excuse the ignorance, but how do you tie the React in with Python? Are they 2 standalone apps that communicate RESTfully?