Skip to content

docs: add Node.js concurrency and semaphore questions#44

Merged
splincode merged 8 commits into
mainfrom
agent/nodejs-concurrency-questions
Jul 22, 2026
Merged

docs: add Node.js concurrency and semaphore questions#44
splincode merged 8 commits into
mainfrom
agent/nodejs-concurrency-questions

Conversation

@splincode

@splincode splincode commented Jul 21, 2026

Copy link
Copy Markdown
Member

Что изменено

  • вопросы добавлены прямо в существующую страницу src/pages/nodejs/index.md;
  • новый блок расположен после базового вопроса про worker_threads, перед разделом npm и package scripts;
  • добавлены вопросы про concurrency и parallelism, worker_threads, child_process, cluster, shared memory, race condition и Atomics;
  • добавлен рабочий пример CPU-bound задачи в Worker Thread;
  • добавлен асинхронный semaphore для ограничения Promise-задач;
  • добавлен учебный counting semaphore между Worker Threads через SharedArrayBuffer, Atomics.compareExchange, Atomics.wait и Atomics.notify;
  • перечислены типичные ошибки и production-ограничения.

Проверка

  • npm run format:check — успешно;
  • npm run build — успешно;
  • в итоговом diff изменен только src/pages/nodejs/index.md.

@splincode
splincode marked this pull request as ready for review July 22, 2026 13:33
@splincode
splincode merged commit ef55ebe into main Jul 22, 2026
1 check passed
@splincode
splincode deleted the agent/nodejs-concurrency-questions branch July 22, 2026 13:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant