Event logging and statistics server using node.js, redis and lua