6 points · by evilswan · 15y ago · 15 comments
Will be RESTful with JSON data exchange. Linux on EC2.
Other than that - what would you say would be the best route for:
- Low system overhead - Fast performance - Low resource usage - Scalability to multiple appservers (eventually)
Ruby on Rails? Pyton / Django? PHP on a framework?
Or doesn't it matter?
With this setup, you can easily throw more DB instances in the pool to grow with your needs. The frontend should be able to handle as many requests as needed (especially Node which has VERY lightweight threads, I hear). You'll just need to reduce the turnaround time via the queue.
Your real pain point is going to be your back end. If immediate consistency isn't important, run a job queue with works in the back end hitting some kind of fast access nosql and have a worker whose job it is to write to a mysql or postgress store. raid the ebs volumes and keep a monolithic volume sister box to take snapshots off. you can have the entire environment scripted and repeatable.
Going to hit the backend every transaction as its very stateful so minimal caching can be possible.
Unknown on growth! Hope for the best, I want to take 1000 r/sec on an EC2 instance.
http://www.mongodb.org/display/DOCS/How+does+concurrency+wor...
Or does that only apply if "safe mode" is on, rather than fire-and-forget unverified writes?