EP57: How ChatGPT works technically

This week’s system design refresher:


Postman’s 2023 State of the API survey is open (Sponsored)

The biggest, most comprehensive survey on APIs is open for a fourth year, with new questions on monetization, generative AI, and more. Take the survey and share how you work with APIs, the challenges you’re overcoming, and what you see for the future of APIs (plus there are prizes, including a PS5, Steam Deck, and Amazon gift cards).

Take the survey


How ChatGPT works technically

We attempted to explain how it works in this video. We will cover:


18 Key Design Patterns Every Developer Should Know

No alternative text description for this image

Patterns are reusable solutions to common design problems, resulting in a smoother, more efficient development process. They serve as blueprints for building better software structures. These are some of the most popular patterns:


Netflix Tech Stack - Part 1 (CI/CD Pipeline)

diagram

Thanks, Xiong Wang, for putting it together!


We plan to develop detailed illustrations of tech stacks used by various companies for educational purposes. If you would like to contribute to this project, kindly complete the short survey. All responses will be kept anonymous. Thank you for your help.

Share the tech stack you know here: https://lnkd.in/eiEbH7tX


How does Docker work?

A comparison of Docker-based and non-Docker-based development is shown below.

diagram

With Docker, we can develop, package, and run applications quickly:

🔹 The developers can write code locally and then build a Docker image and push it to a dev environment. In this way, the development work is shared within the team. The tests are run automatically in the dev environment.

An image is a read-only template with instructions for creating a Docker container. We use a Dockerfile to define the steps to create the image and run it.

🔹 The above process can run incrementally when bugs are found or improvements are needed.

🔹 When dev testing is complete, the Docker image is pushed to the production environment (often on the cloud).

Compared with traditional development without Docker, Docker is quite lightweight and fast, because only the changed part of Dockerfile is rebuilt every time we make a change.

Over to you: Where are Docker images stored?


Join the ByteByteGo Talent Collective

If you’re looking for a new gig, join the collective for customized job offerings from selected companies. Public or anonymous options are available. Leave anytime.

If you’re hiring, join the ByteByteGo Talent Collective to start getting bi-monthly drops of world-class hand-curated engineers who are open to new opportunities.

Featured job openings

X1 Card: Engineering Leader - Card Platform (United States, remote)

X1 Card: Software Engineer, Infrastructure (United States, remote)

(catch) Health: Senior Frontend Engineer, React + Typescript (United States, remote)