|
|
|
|
|
by onur
5070 days ago
|
|
The main point of my blog post was to show our positive experience by using something new to build something new. I'm not talking about renewing your existing backend, changing your perfect PHP implementation to Node.js, I'm talking about our story of choosing a platform for our new project and suggesting people out there to be open to trying new platforms according to their needs. I know the feeling, I did the same before. I have used PHP for projects that I had better alternatives for, just because it felt comfortable and hassle-free. In our case we have tried several other platforms/languages and the best fit was Node.js for us. “Do the research, be a developer not just an X language developer” would probably sum up my whole point. |
|
1) persistant connections, we deal with massive concurrency and remote connections to just about anything external (even on same network) could be saturated and overwhelmed so quickly
2) pseudo-caching data in the background, things like game configuration etc we just keep loading over and over on an interval so wherever possible we just have whole mongo collections and db tables sitting there in ram always fairly fresh
3) mirroring our application-wide redis cache locally on each server in the background so whenever we do get a cache hit it's insanely fast
These are probably the coolest things I found moving our analytics api to nodejs.