Welcome!

Java IoT Authors: Yeshim Deniz, Zakia Bouachraoui, Elizabeth White, Pat Romanski, Liz McMillan

Related Topics: @DevOpsSummit, Java IoT, Microservices Expo, Linux Containers

@DevOpsSummit: Blog Feed Post

Node.js in Retail | @DevOpsSummit #DevOps #Docker #Microservices

According to w3techs.com, Node.js usage has gone up 241 percent in the last year alone

How Node.js Revolutionized the Retail Space
By Omed Habib

In a crowded world of popular computer languages, platforms and ecosystems, Node.js is one of the hottest. According to w3techs.com, Node.js usage has gone up 241 percent in the last year alone. Retailers have taken notice and are implementing it on many levels. I am going to share the basics of Node.js, and discuss why retailers are using it to reduce page load times and improve server efficiency. I’ll talk about similar developments such as Docker and microservices, and look at several companies implementing these technologies. I’ll also discuss how mobile computing is changing buyer behavior and expectations.

Distributed Devices
I believe one of the main reasons retail stores and related businesses are embracing Node.js is due to its ability to build data-intensive apps that can run in real time across a spectrum of distributed devices. Also, its performance is much faster for high-traffic applications than other traditional languages, such as Java. As consumers continue to shop more from their mobile devices, these factors are increasingly important. Bob Sherwin, a senior marketing director at Wayfair LLC, told Internet Retailer magazine that only a year ago customers would research products on their handset, but make the actual purchase from their desktop computer or tablet. Now they are comfortable making purchases right from their smartphone, increasing the need for stronger support from the web APIs these devices interface with.

Mobile Sales Growing Fast
These changes in buying behavior on mobile devices are leading retailers to re-evaluate their approach to mobile marketing. Mobile sales are growing fast — Goldman Sachs estimates that worldwide commerce sales on mobile devices will reach $415 billion in 2016, rising to $626 billion in 2018. Experts expect mobile sales to continue growing at a furious pace because they are currently expanding at twice the rate of e-commerce sales. However, these numbers only reflect actual purchases. When research and browsing time is factored in, mobile’s role in retail sales takes on even greater impact.

Node.js on the Rise
Node.js strengths in retail include:

  • The ability to handle many connections at the same time, which reduces operating costs.
  • Hundreds of thousands of modules currently available in the official Node.js package manager, which makes it easy for developers to build apps quickly rather than starting from scratch each time.
  • Its ability to use resources on the server as they are needed, reducing its footprint considerably.
  • Its efficiency and the way it increases productivity gains. Node.js is a natural for agile development as it only needs one-third to one-half the lines of code to complete a job.
  • Its speed. Node.js is built on Google’s JavaScript V8 runtime engine. Google made V8 available to other projects when they made the code open source.
  • The fact that it allows developers to test different options quickly. When Netflix was trying to figure out the best way to let Sony Playstation 3 users download movies, they came up with four different interfaces for testing. The interface that won was not even a favorite of the programming team.

Retailers and related companies using Node.js include:

  • LinkedIn. LinkedIn was an early Node.js evangelist. They abandoned Ruby on Rails for Node.js back in 2011. Today, the entire stack is driven by Node.js. Speeds improved up to 20 times, and server count was reduced from 30 to three.
  • Uber. Uber completely changed their web layer to Node.js to improve efficiency and create a better experience for customers and partners. Node.js replaced a LAMP stack with PHP and MySQL. PHP did not scale well and produced unacceptable bugs — there were errors like double-dispatching which sent two cars to one customer. They decided to separate the business logic from the dispatch system that operated in real time. Node.js was selected to bring the system up to date and be able to handle more connections efficiently.
  • Groupon. Groupon was another high profile e-commerce company who left Ruby on Rails behind for Node.js. Was it worth it? They noticed page load times improved 50 percent and are now able to develop new features quicker.

Supplementing Node.js to Node.js
Node.js is just one of several rapidly developing technologies that retailers are using. Docker, microservices, and agile development are also high on the list for retail and e-commerce companies.

  • Docker. Docker is an open-source project that packages an app and its dependencies in a container.
  • Microservices. Microservices is a process of building a large app as a system of small, modular services. Each microservice has a business purpose and uses simple methods to communicate with other services.
  • Agile Development. Developing software through cross-functional teams using continuous improvement and rapid planning and implementation.

For example, here are examples of retailers and sales-oriented companies who have used these technologies.

  • Shopify. Shopify implemented Docker to make their data centers more adaptable and easier to maintain. Shopify primarily relied on Ruby on Rails to handle thousands of requests per second spread over 1,700 cores. However, as Docker’s popularity began to expand, Shopify considered it for several benefits, including scaling up several servers quickly to handle traffic surges, using spare capacity in server farms for heavy-duty operations, and the ability for several containers to do different work on the same hardware with no interference.
  • Salesforce. Agile development is not new, but more companies are in the process of improving their agile methods. Twitter and Salesforce are two high-profile companies that rely on agile development for shorter cycle times, reduced bottlenecks and increased productivity. The key is self-organized teams with dedicated resources who can continually iterate their approach. They work under principles such as minimal work-in-progress and continuously releasable products that rely on automation to help keep everything lean.

Node.js shines, since it can be rapidly reconfigured and will adapt quickly to high-demand environments. Just as they have with other newer architecture design-patterns, like Docker and microservices, I soon expect to see more retailers using Node.js. We are now living in a high-traffic world, so retailers that can meet customer needs quickly and efficiently will garner more sales and profits in the process.

The post How Node.js Revolutionized the Retail Space appeared first on Application Performance Monitoring Blog | AppDynamics.

More Stories By AppDynamics Blog

In high-production environments where release cycles are measured in hours or minutes — not days or weeks — there's little room for mistakes and no room for confusion. Everyone has to understand what's happening, in real time, and have the means to do whatever is necessary to keep applications up and running optimally.

DevOps is a high-stakes world, but done well, it delivers the agility and performance to significantly impact business competitiveness.

IoT & Smart Cities Stories
In his general session at 19th Cloud Expo, Manish Dixit, VP of Product and Engineering at Dice, discussed how Dice leverages data insights and tools to help both tech professionals and recruiters better understand how skills relate to each other and which skills are in high demand using interactive visualizations and salary indicator tools to maximize earning potential. Manish Dixit is VP of Product and Engineering at Dice. As the leader of the Product, Engineering and Data Sciences team at D...
Dynatrace is an application performance management software company with products for the information technology departments and digital business owners of medium and large businesses. Building the Future of Monitoring with Artificial Intelligence. Today we can collect lots and lots of performance data. We build beautiful dashboards and even have fancy query languages to access and transform the data. Still performance data is a secret language only a couple of people understand. The more busine...
Nicolas Fierro is CEO of MIMIR Blockchain Solutions. He is a programmer, technologist, and operations dev who has worked with Ethereum and blockchain since 2014. His knowledge in blockchain dates to when he performed dev ops services to the Ethereum Foundation as one the privileged few developers to work with the original core team in Switzerland.
René Bostic is the Technical VP of the IBM Cloud Unit in North America. Enjoying her career with IBM during the modern millennial technological era, she is an expert in cloud computing, DevOps and emerging cloud technologies such as Blockchain. Her strengths and core competencies include a proven record of accomplishments in consensus building at all levels to assess, plan, and implement enterprise and cloud computing solutions. René is a member of the Society of Women Engineers (SWE) and a m...
Andrew Keys is Co-Founder of ConsenSys Enterprise. He comes to ConsenSys Enterprise with capital markets, technology and entrepreneurial experience. Previously, he worked for UBS investment bank in equities analysis. Later, he was responsible for the creation and distribution of life settlement products to hedge funds and investment banks. After, he co-founded a revenue cycle management company where he learned about Bitcoin and eventually Ethereal. Andrew's role at ConsenSys Enterprise is a mul...
Whenever a new technology hits the high points of hype, everyone starts talking about it like it will solve all their business problems. Blockchain is one of those technologies. According to Gartner's latest report on the hype cycle of emerging technologies, blockchain has just passed the peak of their hype cycle curve. If you read the news articles about it, one would think it has taken over the technology world. No disruptive technology is without its challenges and potential impediments t...
If a machine can invent, does this mean the end of the patent system as we know it? The patent system, both in the US and Europe, allows companies to protect their inventions and helps foster innovation. However, Artificial Intelligence (AI) could be set to disrupt the patent system as we know it. This talk will examine how AI may change the patent landscape in the years to come. Furthermore, ways in which companies can best protect their AI related inventions will be examined from both a US and...
Bill Schmarzo, Tech Chair of "Big Data | Analytics" of upcoming CloudEXPO | DXWorldEXPO New York (November 12-13, 2018, New York City) today announced the outline and schedule of the track. "The track has been designed in experience/degree order," said Schmarzo. "So, that folks who attend the entire track can leave the conference with some of the skills necessary to get their work done when they get back to their offices. It actually ties back to some work that I'm doing at the University of San...
When talking IoT we often focus on the devices, the sensors, the hardware itself. The new smart appliances, the new smart or self-driving cars (which are amalgamations of many ‘things'). When we are looking at the world of IoT, we should take a step back, look at the big picture. What value are these devices providing. IoT is not about the devices, its about the data consumed and generated. The devices are tools, mechanisms, conduits. This paper discusses the considerations when dealing with the...
Bill Schmarzo, author of "Big Data: Understanding How Data Powers Big Business" and "Big Data MBA: Driving Business Strategies with Data Science," is responsible for setting the strategy and defining the Big Data service offerings and capabilities for EMC Global Services Big Data Practice. As the CTO for the Big Data Practice, he is responsible for working with organizations to help them identify where and how to start their big data journeys. He's written several white papers, is an avid blogge...