Search results for "node"

Showing 221-231 of 258 results

Asynchronous JavaScript: From Callback Hell to Async and Await

Asynchronous programming used to be a challenge even for seasoned professionals, leading to aptly named phenomena like Callback Hell.

In this article, Toptal JavaScript Developer Demir Selmanovic explains how async functions took us out of purgatory and why you should be using them.

6-minute readContinue Reading
Demir Selmanovic

Demir Selmanovic

How to Create a Simple Python WebSocket Server Using Tornado

The threaded model and global interpreter lock has always been in the way of Python handling thousands of concurrent long-lived connections. Modern web frameworks, such as Tornado, use non-blocking network I/O to make Python feasible for implementing WebSocket servers.

In this article, Toptal engineer Jongwook Kim walks us through the process of implementing a simple WebSocket-based web application in Python using the Tornado web framework.

8-minute readContinue Reading
Jongwook Kim

Jongwook Kim

GraphQL vs. REST: A GraphQL Tutorial

You might have heard about the new kid around the block: GraphQL. If not, GraphQL is, in a word, a new way to fetch APIs, an alternative to REST.

10-minute readContinue Reading
Amaury M

Amaury M

One-click Login With Blockchain: A MetaMask Tutorial

Online users are becoming increasingly resistant to traditional email/password registration processes. One-click social logins via Facebook, Google, or GitHub are better, but they come with data privacy trade-offs.

This article introduces a one-click, cryptographically-secure login flow using MetaMask, with all data stored on the app’s own back-end.

13-minute readContinue Reading
Amaury M

Amaury M

JavaScript Promises: A Tutorial With Examples

Promises are a hot topic in JavaScript, and you should definitely get acquainted with them. They are not easy to wrap your head around, it can take a few articles, and a decent amount of practice to comprehend them. Aim of this article is to help you understand Promises, and nudge you to get more practice using them.

9-minute readContinue Reading
Balint Erdi

Balint Erdi

World-class articles, delivered weekly.

By entering your email, you are agreeing to our privacy policy.

How to Deploy Django on Heroku: A Pydantic Tutorial, Part 3

Heroku makes deployment—and redeployment—incredibly simple. Explore Heroku’s Django hosting in this tutorial, and see for yourself.

9-minute readContinue Reading
Arjaan Buijk

Arjaan Buijk

Persisting Data Across Page Reloads: Cookies, IndexedDB and Everything In-Between

Modern web browsers offer a number of different APIs and mechanisms to storing data on the client-side. But are all of these options created equal?

In this article, Toptal engineer Stephen Villee demystifies the various client-side storage options available in modern web browsers and explains how each of these can play a role in storing session data on the client-side.

13-minute readContinue Reading
Stephen Villee

Stephen Villee

Scaling Scala: How to Dockerize Using Kubernetes

Are you a Scala developer hoping to scale your application in the cloud? If so, meet Kubernetes, a cluster manager for Docker applications. Developed by Google, it’s the latest in new open source tools making major waves.

In this article, Toptal Freelance Software Engineer Michele Sciabarra guides us through a step-by-step tutorial on how to take a generic Scala application and implement Kubernetes and Docker to launch multiple instances of the application.

11-minute readContinue Reading
Michele Sciabarra

Michele Sciabarra

Developing a Bioinformatics Database for Disulfide Bonds Research

The Protein Data Bank (PDB) bioinformatics database is the world’s largest repository of experimentally-determined structures of proteins, nucleic acids, and complex assemblies. All data is gathered using experimental methods such as X-ray, spectroscopy, crystallography, NMR, etc. This article explains how to extract, filter, and clean data from the PDB to make it suitable for further analysis.

25-minute readContinue Reading
Viktor Bojović

Viktor Bojović

Spring Batch Tutorial: A Practical Guide to Scalable Batch Processing

Spring Batch keeps a long-running job from starting over when it fails. This tutorial builds a chunk-oriented customer report with Spring Boot and Java 21, then proves the job restarts safely.

30-minute readContinue Reading
Alexey Saenko

Alexey Saenko

How I Made Porn 20x More Efficient With Python Video Streaming

Porn is a big industry. There aren’t many sites on the Internet that can rival the traffic of its biggest players.

And juggling this immense traffic is tough. To make things even harder, much of the content served from porn sites is made up of low latency live streams rather than simple static video content. But for all of the challenges involved, rarely have I read about the developers who take them on. So I decided to write about my own experience on the job.

7-minute readContinue Reading
Toptal emblem

Toptal Talent Network Experts

World-class articles, delivered weekly.

By entering your email, you are agreeing to our privacy policy.

Join the Toptal® community.