Ask HN: what are the two best technical decisions you made for your startup?
Looking back on your startup and its progress so far, what are the two best technical decisions you've made? Did you know they would have such a dramatic impact?
I'll start the ball rolling:
1. Linode - its flexibility has helped us keep costs seriously low without sacrificing power or scalability.
2. Memcached - using it various places instead of database access helped us turn a beast of a ~12second algorithm into a sub-400ms beauty.
I suspected they'd both be pretty cool but didn't realise quite how insanely fast memcache would be.
5 comments
[ 5.2 ms ] story [ 19.6 ms ] threadUsed web-service based architecture; small independent modules, each with a light json-rpc based API.
2. AWS - enough said.
Prawn: A maaaaaaaaaaaaaaajor pain point for me in developing my desktop version, and developing unrelated web apps for my day job, was laying out documents properly to be printed. Prawn makes it absurdly easy. For added goodness, throw in ImageMagick and you can turn the PDFs into GIFs for essentially no extra work.
* Amazon Web Services
1. Using PHP rather than Rails or Django. It meant having to hand-code simple things like form handling, but resulted in a peppy site that can handle sudden spikes in traffic. The initial investment in writing boilerplate and laying out the code has really paid off now that I need to tune and add features.
2. Sphinx. Made the site searchable with minimal configuration, and allowed me to move certain queries out of MySQL without having to set up caching. It's nice to have caching as a luxury to make the site even snappier, rather than an essential prerequisite for usability.
People have to pay to use our site, and the main thing that sets us apart from our many free competitors is speed, speed, speed. That fact has loomed large over our technical choices.