Node.js: serious business - Pedro Franceschi - RuPy Brazil 2013

11 Dec 2013 · 46 min
45:47

In this RuPy Brazil 2013 talk, Pedro Franceschi shares the story of building a high‑volume payment platform (Pagar.me) with Node.js. He starts by describing the market gap in Brazil for a developer‑friendly payment API and the technical requirements of the service: high I/O, low CPU, strict security, uptime, and scalability. He explains why Node.js was chosen over traditional thread‑based servers, detailing the event‑loop, V8, and libuv stack that enable non‑blocking I/O. He contrasts Node’s strengths with its drawbacks—callback hell, JavaScript quirks, single‑process limits, and the need for robust error handling. The talk then moves to practical engineering decisions: using modules, async libraries, Mocha testing, and a Google style guide; a hybrid data‑store architecture (MySQL for relational transaction data, MongoDB for non‑relational client data, Elasticsearch for fast indexing and search); and a deployment pipeline built around Git, Strider CI, and PM2 for zero‑downtime reloads and clustering. Monitoring and alerting are covered with Pingdom, PagerDuty, Librato dashboards, and public status pages. He concludes with lessons learned: Node.js excels at I/O‑bound workloads but is not a silver bullet, and disciplined coding, testing, and observability are essential for production success.

Chapters

More from Pedro

youtube.com

He's Built The First Full-Time AI CEO

6mo ago
youtube.com

How Brex signed a $5.15B Deal in ~40 Days

8mo ago
youtube.com

Fundador da Brex fala ao CNN Money sobre venda de R$ 5,15 bi à Capital One | FECHAMENTO DE MERCADO

8mo ago
youtube.com

Capital One to Pay $5.15 Billion for Fintech Brex

8mo ago
youtube.com

How Brex Is Preparing for the Next Phase of Fintech

1y ago
youtube.com

The Agentic Commerce Revolution is here - but it's not what you think! (Brex CEO Pedro Franceschi)

1y ago
youtube.com

Brex founder Pedro Franceschi on the one question CEOs should constantly ask themselves

1y ago
youtube.com

Pedro Franceschi explains why Brex doesn’t hire “people managers” anymore

1y ago
youtube.com

Brex 3.0: Inside the Radical Turnaround with Pedro Franceschi

1y ago
youtube.com

We developed 'best in class' enterprise travel expense solution, says Brex CEO on Navan partnership

2y ago
youtube.com

No Priors Ep. 75 | With Co-Founder and CEO of Brex Pedro Franceschi

2y ago
See all content