构建快速重定向服务器

I want to create a tracking platform but am in need of some advice. What it has to do is the following:

I'm going to use redis since it's really fast and considering the following two options since I have the knowledge to build it in that way.

  • PHP
  • NodeJS

I'm thinking that NodeJS is going to be faster but would like to know opinions of other people. Maybe I just have to learn something else to make it work even better :)

You need to have a good hosting service provider like digitalocean, amazon cloud etc. for faster redirection. PHP or NodeJS it doesn't matter much when you have a faster hosting.

I would look into HAPI server - this is a BATTLE tested node server that gives you SO many options. Express may work too but i put my trust in the HAPI server stack. Plus they have alot of great add ons and plugins.

https://hapijs.com/

Redis is also a great key value store as well - Look into CASSANDRA too

http://cassandra.apache.org/

https://redis.io/