I am under the impression that PrimeDice backend is written in php with a socket server in nodejs
I guess we gotta wait for stunna for comment on this
Primedice uses Node.js alongside PostgreSQL. Ember.js (front end) 100% PHP free. We are able to handle a significant amount of load with clustered servers and heavy DB optimization. We completely threw away all the problematic PHP code that was used for PD2.