Hello! A bit of an odd one. I'm a web developer / app developer (using Node / Mongo / React Native).I do most of my development locally on my laptop. In bigger projects, webpack sometimes takes 30 - 40 seconds to rebuild on every save change.On other projects, it feels like Node slugs along when I'm looping through a table of 7.5m users and processing their data.And finally, when compiling a React Native project to run on a simulator, sometimes it takes 5ish minutesObviously, my code could be a lot better! I'm certain that most of my optimisations could be gotten not from throwing money at the problem, but by refactoring and writing more efficient code.But I'm thinking of building a desktop PC (or hackintosh) at the moment, and I'm wondering what specs would give me the best performance.Things I'm thinking at the moment:To allow Mongo indexes to fly, I'll need a lot of RAM (my DB is about 15gb large, so I'd say at least 32gb)As Node is single-threaded, high core speed would be important.Refactoring my code to use pm2 across multiple cores (e.g. instead of processing 7.5m users on one thread, process 750k separately on 10 cores could be done simultaneously?)a GPU would have no benefit to me whatsoeverAnything I'm missing here? Does webpack and xcode/android studio compilation benefit from CPU speed or multi-threading?In short, what specs should I be looking for for top-end local server + app development?
Submitted January 15, 2020 at 09:47PM by jascination
No comments:
Post a Comment