Skip to content

Serve static from shared memory#2015

Open
turone wants to merge 10 commits into
metarhia:masterfrom
turone:static-SAB
Open

Serve static from shared memory#2015
turone wants to merge 10 commits into
metarhia:masterfrom
turone:static-SAB

Conversation

@turone
Copy link
Copy Markdown

@turone turone commented Apr 23, 2026

  • tests and linter show no problems (npm t)
  • tests are added/updated for bug fixes and new features
  • code is properly formatted (npm run fix)
  • description of changes is added in CHANGELOG.md
  • update .d.ts typings

@tshemsedinov tshemsedinov changed the title Static sab Serve static from shared memory Apr 23, 2026
Comment thread lib/cache/LimitCache.js Outdated
Comment thread lib/cache/LimitCache.js Outdated
Comment thread lib/cache/LimitCache.js Outdated
Comment thread lib/cache/LimitCache.js Outdated
Comment thread lib/cache/LimitCache.js
Comment thread lib/cache/LimitCache.js Outdated
Comment thread lib/cache/LimitCache.js Outdated
Comment thread lib/cache/LimitCache.js Outdated
Comment thread lib/cache/LimitCache.js Outdated
Comment thread lib/cache/PlacementSource.js Outdated
turone and others added 2 commits April 24, 2026 16:01
pool is not a collection of segments, it is class 
class Pool {
  constructor(limit, baseSegmentSize) {
    this.limit = limit;
    this.baseSegmentSize = baseSegmentSize;
    this.segments = new Map();
    this.emptySegmentIds = new Set();
    this.totalUsed = 0;
    this.nextSegmentId = 1;
  }

Co-authored-by: Timur Shemsedinov <timur.shemsedinov@gmail.com>
@turone turone requested a review from tshemsedinov April 25, 2026 10:21
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.

2 participants