Skip to content

Use of the local cache and optional APCu#675

Merged
Fraenkiman merged 1 commit intoflatpressblog:masterfrom
Fraenkiman:Use-of-the-local-cache-and-optional-APCu
Oct 4, 2025
Merged

Use of the local cache and optional APCu#675
Fraenkiman merged 1 commit intoflatpressblog:masterfrom
Fraenkiman:Use-of-the-local-cache-and-optional-APCu

Conversation

@Fraenkiman
Copy link
Collaborator

  • fileio core
  • entries core

Note for this development stage:

     Load scenario: 3,000 posts × 5 comments.
     Search (search.php) touches most entries and dominates memory.
     Peak calculation:
       fp:io:*
          3,000 × ~1.93 KiB + 15,000 × ~0.52 KiB ≈ 13.3 MiB
       fp:entry:parsed:* (TTL 600 s, e.g. after search)
          3,000 × ~1.98 KiB ≈ 6.0 MiB
       Plugins/Smarty/other: ~2–3 MiB
     Worst-case simultaneously ≈ 21–23 MiB < 32 MiB; headroom ≈ 9–11 MiB covers fragmentation.
     Note: APCu is a shared pool per FPM pool (apc.shm_size), not per child process.

- fileio core
- entries core

Note for this development stage:
     Load scenario: 3,000 posts × 5 comments.
     Search (search.php) touches most entries and dominates memory.
     Peak calculation:
       fp:io:*
          3,000 × ~1.93 KiB + 15,000 × ~0.52 KiB ≈ 13.3 MiB
       fp:entry:parsed:* (TTL 600 s, e.g. after search)
          3,000 × ~1.98 KiB ≈ 6.0 MiB
       Plugins/Smarty/other: ~2–3 MiB
     Worst-case simultaneously ≈ 21–23 MiB < 32 MiB; headroom ≈ 9–11 MiB covers fragmentation.
     Note: APCu is a shared pool per FPM pool (apc.shm_size), not per child process.
@Fraenkiman Fraenkiman merged commit 2724087 into flatpressblog:master Oct 4, 2025
3 checks passed
@Fraenkiman Fraenkiman deleted the Use-of-the-local-cache-and-optional-APCu branch December 21, 2025 19:53
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