⚠️ Maintenance. Notice: the site is currently in maintenance mode, so the amount of available material is temporarily limited.

About SocketForge

SocketForge is an independent, vendor-neutral learning resource about building real-time features on the web. We focus on the parts that tutorials usually skip: what actually happens on the wire, and what breaks in production.

What we cover

The core of the site is the WebSocket protocol (RFC 6455) as used from the browser and from Node.js. Around it we touch on Server-Sent Events, long-polling fallbacks, message framing, and the operational concerns — reconnection, heartbeats, backpressure and horizontal scaling — that decide whether a real-time app survives contact with real users.

Editorial principles

  • Runnable over hand-wavy. Every example is small enough to paste into a file and run.
  • Standards first. We prefer the native platform API; frameworks are mentioned, not assumed.
  • Honest about trade-offs. There is no single right answer for reconnection or scaling — we lay out the options.
  • No tracking. The site ships static HTML, CSS and a few kilobytes of vanilla JavaScript. No analytics, no third-party scripts beyond a web font.

Who writes it

The guides are written and reviewed by a small group of backend and frontend engineers who have shipped real-time systems — chat, collaborative editors, live dashboards and multiplayer prototypes. Drafts are tested against current browsers and an LTS release of Node.js before publication.

While the site is in maintenance mode the catalogue is intentionally small. New material is staged and will be published incrementally as the work completes.

License

Article text is available under CC BY 4.0. Code snippets are released under the MIT license — copy them into your projects freely.

О проекте SocketForge

SocketForge — независимый, вендоронейтральный образовательный ресурс о создании real-time возможностей в вебе. Мы делаем акцент на том, что обычно пропускают в туториалах: что на самом деле происходит «на проводе» и что ломается в продакшене.

О чём мы пишем

Ядро сайта — протокол WebSocket (RFC 6455) в применении из браузера и из Node.js. Вокруг него мы затрагиваем Server-Sent Events, фолбэки на long-polling, формирование сообщений и эксплуатационные вопросы — переподключение, heartbeat, backpressure и горизонтальное масштабирование, — от которых зависит, переживёт ли real-time приложение встречу с реальными пользователями.

Редакционные принципы

  • Запускаемое вместо абстрактного. Каждый пример достаточно мал, чтобы вставить его в файл и запустить.
  • Сначала стандарты. Предпочитаем нативный API платформы; фреймворки упоминаются, но не подразумеваются.
  • Честно о компромиссах. Нет единственно верного ответа про переподключение или масштабирование — мы раскладываем варианты.
  • Без слежки. Сайт отдаёт статический HTML, CSS и несколько килобайт чистого JavaScript. Никакой аналитики и сторонних скриптов, кроме веб-шрифта.

Кто пишет

Руководства пишет и рецензирует небольшая группа backend- и frontend-инженеров, выпускавших real-time системы — чаты, совместные редакторы, живые дашборды и мультиплеерные прототипы. Черновики проверяются на актуальных браузерах и LTS-версии Node.js перед публикацией.

Пока сайт в режиме обслуживания, каталог намеренно небольшой. Новые материалы подготовлены и будут публиковаться постепенно по мере готовности.

Лицензия

Текст статей доступен по CC BY 4.0. Фрагменты кода — под лицензией MIT, свободно копируйте их в свои проекты.