Have a look into our latest blog post about how the different configuration options of GraphHopper can be used to optimize your deployment in production: Host Your Own Worldwide Route Calculator With GraphHopper - GraphHopper Directions API
If you have questions - let me know!