Best Practice: Walmart Mobile node.js setup – An insight into how hapi.js is used at Walmart

It should learn from the professionals. Recently I came across a very interesting article published by Walmart – the giant, that uses Node.js. What is interesting in its solution they use framework hapi.js (I encourage you to familiarize yourself with this framework on I encourage you to read the article coming from their side:

“.. We run multiple server processes in two data centers. Each process listens on two ports, one for HTTP and one for HTTPS. HTTPS is terminated by Apache prior to reaching node.js. HTTP goes directly from the client to node.js (through a master load balancer). We do not use clusters. We slice our physical servers into thin virtual machines running SmartOS, each with about 3GB of memory designed for a single node.js process.

Our node.js servers are hapi.js servers using the composer functionality and plugins architecture. We have three sets of plugins loaded: mobile web front end experience (single page app), legacy API reverse proxy, and monitoring.

We also serve original node.js services off another server zone which runs closed source plugins using hapi. ..” (article comes from Wallmart github site)

more on Wallmart page article

May 4th, 2016

  • I loved as much as you’ll receive carried out right here.
    The sketch is attractive, your authored material stylish.
    nonetheless, you command get got an nervousness over that you wish be delivering the following.

    unwell unquestionably come further formerly again as exactly the same nearly a
    lot often inside case you shield this increase..

  • Woah! I’m really digging the template/theme of the site.
    It’s simple, yet effective. A lot of times it’s challenging to have that “perfect balance”
    between superb usability and appearance. I have to admit you’ve done a superb job using this type of.
    Additionally, the blog loads super quick for me on Internet explorer.
    Excellent Blog!.

  • Yesterday, while I was at work, my sister stole my iPad and tested to see
    if it can survive a 30 foot drop, just so she can be a
    youtube sensation. My apple ipad is now destroyed and she has 83 views.

    I know this is completely off topic but I had to share
    it with someone!.

  • I believe the admin of the site is truly working hard in support of his site,
    for the reason that here every data is quality based stuff..

  • Generally I don’t read article on blogs, but I would like to say that this write-up very compelled me to try and do it! Your writing style has been amazed me. Thanks, very nice post..