October Node.js monthly meetup
Details
Hi Node developers!
Agenda:
18:00 - Gathering, mingling, pizza and beers
18:30 - Let's go CPU intensive with Node.js 10 worker threads
Node 10 comes with a new module called worker threads which allows us to create threads.
What are worker threads? Why do we need them and how is it different from current Node.js solution such as process forking
We will compare the differences between the different solutions and show some cool examples
By Daniel Krom, Principal engineer @Palo Alto Networks
19:10 - Enrich your Node.js testing portfolio - advanced testing techniques
We're going to discuss why the mainstream testing techniques (unit, integration, e2e) might fall short sometime and present 5 modern and useful alternatives
Why is this important? The vast majority of node.js testing tutorials deal only with unit or integration tests. While this is aligned with common best practices (e.g. the traditional testing pyramid), new voices doubt whether those are the right match for many projects, mostly because of their complexity and low ROI. As a result, new testing techniques emerge and provide an attractive alternative. In this session, we will discuss how to choose the right testing strategy for a project and demonstrate a handful of modern and fascinating techniques like property-based testing, consumer driven contacts (pact), component testing and more.
Important pre-requisites: We're going to compare some advanced (and neat) testing tools with the basics - it's recommended that you will make yourself familiar with the fundamentals of software testing: unit test, integration test, test-driven-development and the testing pyramid. Here are some suggested tutorials:
- https://martinfowler.com/bliki/TestPyramid.html
- https://codeburst.io/javascript-unit-testing-using-mocha-and-chai-1d97d9f18e71
- https://medium.freecodecamp.org/test-driven-development-what-it-is-and-what-it-is-not-41fa6bca02a2
By Yoni Goldberg
Yoni is an independent Node.js architect consultant who works with customers in USA and Israel. Among his hobbies are writing about Node.js best practices in his blog and debugging node application using console.log. Read more about Yoni here: www.goldbergyoni.com
19:50 - Raffle to two tickets to Cloud Native Day
https://www.cloudnativeisrael.com/
Or you can buy tickets with 15% discount here:
https://en.xing-events.com/tw/OpenDevCloud/mtp15
20:00 - Going out to Sputnik bar on 122 Allenby st.
Get to know the Node.js Israel community :)
*** Please send proposals to guyguyon@gmail.com
*** The meetup will be held in Hebrew
