• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

Dion Almaer

Software, Development, Products

  • @dalmaer
  • LinkedIn
  • Medium
  • RSS
  • Show Search
Hide Search

Delivering Hapi-ness

May 2, 2013 Leave a Comment


There is something very happy about delivery the 1.0.0 of a product isn’t there? I am very excited for the node team in Walmart Labs, as they just got to push the button on v1.0 of our API server framework for node.

Extraction

This is a 1.0 that has been coming very deliberately. One of the attributes of a great framework seems to be extracting it from a real product. Hapi has come from a couple of different products, and has been powering various projects at Walmart Labs and beyond. Originally, it’s job was to be a world class API server, which is where its heart is.

Plugins

You will see features that make it very easy for teams to plugin different API endpoints in a composable manner. This is particularly great if you have different teams iterating on different endpoints, but is also nice to manage in general. Hapi also goes beyond APIs, as we have the need to serve web experiences as well as JSON.

The plugin API itself is a relatively recent addition to hapi, and I think it has turned out very nicely.

Out in the open

Hapi has been developed in the open from day one. There are no internal forks of the project, or issue trackers. What you see on GitHub is what you get. It is clear how to contribute and there is much rigor around the process. Hapi is an equal opportunity framework, so come join us 🙂

Engineering Rigor

Speaking of that rigor, endpoint services development needs to be solid as a rock. That means that the foundation itself has to tough as nails. The team take this really seriously, and you will quickly notice how solid the tests are. One prerequisite for incoming code changes are that they keep test coverage at 100%. Having watched this team do their thing over the last year I have been so impressed by Eran’s leadership and the entire teams performance.

If you are building APIs and want to do so in node, hapi could be for you. The performance has been fantastic, and rich features such as advanced caching are available via simple configuration.

For example, we run into the case where we have an orchestration server that sits in front of many downstream endpoints. Some of those endpoints are third parties that we don’t have control over. Thanks to catbox, we can tell the system something like:

“Try to get something refresh, but if a result doesn’t come back in 800ms and we have the data in cache (which is not stale… as in isn’t older than 1 hour say) then send back the copy, and then when the result does come in update the cache.”

The Hapi-ness Advantage

I have been reading a lot about happiness, via books such as The Happiness Advantage. It feels great to have a win-win-win by developing our core framework in the open. We have seen great input from the open source community that has resulted in a better project.

Congrats to the team on the 1.0 release. It feels good to be hapi.

Share this:

  • Twitter
  • Facebook

Reader Interactions

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Primary Sidebar

Twitter

My Tweets

Recent Posts

  • Generative AI: It’s Time to Get Into First Gear
  • Developer Docs + GenAI = ❤️
  • We keep confusing efficacy for effectiveness
  • The holy grail of a Web SDK
  • The rise of the extensible app platforms

Follow

  • LinkedIn
  • Medium
  • RSS
  • Twitter

Tags

3d Touch 2016 Active Recall Adaptive Design Agile Amazon Echo Android Android Development Apple Application Apps Artificial Intelligence Autocorrect blog Bots Brain Calendar Career Advice Cloud Computing Coding Cognitive Bias Commerce Communication Companies Conference Consciousness Cooking Cricket Cross Platform Deadline Delivery Design Desktop Developer Advocacy Developer Experience Developer Platform Developer Productivity Developer Relations Developers Developer Tools Development Distributed Teams Documentation DX Ecosystem Education Energy Engineering Engineering Mangement Entrepreneurship Exercise Family Fitness Founders Future GenAI Gender Equality Google Google Developer Google IO Habits Health HR JavaScript Jobs Jquery Kids Stories Kotlin Language Leadership Learning Lottery Machine Learning Management Messaging Metrics Micro Learning Microservices Microsoft Mobile Mobile App Development Mobile Apps Mobile Web Moving On NPM Open Source Organization Organization Design Pair Programming Paren Parenting Path Performance Platform Platform Thinking Politics Product Design Product Development Productivity Product Management Product Metrics Programming Progress Progressive Enhancement Progressive Web App Project Management Psychology Push Notifications pwa QA Rails React Reactive Remix Remote Working Resilience Ruby on Rails Screentime Self Improvement Service Worker Sharing Economy Shipping Shopify Short Story Silicon Valley Slack Software Software Development Spaced Repetition Speaking Startup Steve Jobs Study Teaching Team Building Tech Tech Ecosystems Technical Writing Technology Tools Transportation TV Series Twitter Typescript Uber UI Unknown User Experience User Testing UX vitals Voice Walmart Web Web Components Web Development Web Extensions Web Frameworks Web Performance Web Platform WWDC Yarn

Subscribe via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Archives

  • January 2023
  • September 2022
  • June 2022
  • May 2022
  • April 2022
  • March 2022
  • February 2022
  • November 2021
  • August 2021
  • July 2021
  • February 2021
  • January 2021
  • May 2020
  • April 2020
  • October 2019
  • August 2019
  • July 2019
  • June 2019
  • April 2019
  • March 2019
  • January 2019
  • October 2018
  • August 2018
  • July 2018
  • May 2018
  • February 2018
  • December 2017
  • November 2017
  • September 2017
  • August 2017
  • July 2017
  • May 2017
  • April 2017
  • March 2017
  • February 2017
  • January 2017
  • December 2016
  • November 2016
  • October 2016
  • September 2016
  • August 2016
  • July 2016
  • June 2016
  • May 2016
  • April 2016
  • March 2016
  • February 2016
  • January 2016
  • December 2015
  • November 2015
  • October 2015
  • September 2015
  • August 2015
  • July 2015
  • June 2015
  • May 2015
  • April 2015
  • March 2015
  • February 2015
  • January 2015
  • December 2014
  • November 2014
  • October 2014
  • September 2014
  • August 2014
  • July 2014
  • June 2014
  • May 2014
  • April 2014
  • March 2014
  • February 2014
  • December 2013
  • November 2013
  • October 2013
  • September 2013
  • August 2013
  • July 2013
  • June 2013
  • May 2013
  • April 2013
  • March 2013
  • February 2013
  • December 2012
  • November 2012
  • October 2012
  • September 2012
  • August 2012

Search

Subscribe

RSS feed RSS - Posts

The right thing to do, is the right thing to do.

The right thing to do, is the right thing to do.

Dion Almaer

Copyright © 2023 · Log in