Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Pirates Use Flask, the Navy Uses Django. Parent comment
1
> 2. How much RAM, CPU cores, etc. does each application server have?
Using an m3.large ec2 instance so 2 vCPUs and 7.5 GiB ram (https://aws.amazon.com/ec2/instance-types/#m3)
> 3. How many database servers?
1 m3.xlarge ec2 instance running PostgreSQL with 4 vCPUs and 15GiB ram. Make sure you tune Postgres because defaults won't use all the resources available.
> 4. Which web server are you using?
nginx (http://nginx.com/)
My main config: https://gist.github.com/alanhamlett/09c95d1be18aa50dd3fb
My site config: https://gist.github.com/alanhamlett/712ff3d39131f7fdbba2
> 5. Which WSGI server are you using?
uWSGI (https://uwsgi-docs.readthedocs.org/en/latest/)
> 6. What are the configuration settings for your WSGI server (mainly the ones related to number of processes, threads, etc.)
My uWSGI site ini file (at /etc/uwsgi/enabled/wakatime.ini): https://gist.github.com/alanhamlett/f495a240de3013300563
My uWSGI main init file (at /etc/init/uwsgi.conf): https://gist.github.com/alanhamlett/e57b6b6fdaf3124fe29d
There are no comments on this comment yet.
1
> 2. How much RAM, CPU cores, etc. does each application server have?
Using an m3.large ec2 instance so 2 vCPUs and 7.5 GiB ram (https://aws.amazon.com/ec2/instance-types/#m3)
> 3. How many database servers?
1 m3.xlarge ec2 instance running PostgreSQL with 4 vCPUs and 15GiB ram. Make sure you tune Postgres because defaults won't use all the resources available.
> 4. Which web server are you using?
nginx (http://nginx.com/)
My main config: https://gist.github.com/alanhamlett/09c95d1be18aa50dd3fb
My site config: https://gist.github.com/alanhamlett/712ff3d39131f7fdbba2
> 5. Which WSGI server are you using?
uWSGI (https://uwsgi-docs.readthedocs.org/en/latest/)
> 6. What are the configuration settings for your WSGI server (mainly the ones related to number of processes, threads, etc.)
My uWSGI site ini file (at /etc/uwsgi/enabled/wakatime.ini): https://gist.github.com/alanhamlett/f495a240de3013300563
My uWSGI main init file (at /etc/init/uwsgi.conf): https://gist.github.com/alanhamlett/e57b6b6fdaf3124fe29d