/lynxchan/ - LynxChan
The best engine you will ever shitpost with.
Keep threads on-topic.
Installation video tutorial
Vichan migration script
Max Message Length:
Don't show location
Make sure I have a block bypass
Drag files to upload or click here to select them
Max File Size:
File Limit Per Post:
Remember to follow the
Was the RAM cache a mistake?
01/02/2018 (Tue) 08:43:20
Can someone explain me the rationale behind the RAM cache? Intuitively, it feels wrong to (re)implement caching of GridFS files because GridFS/MongoDB already performs some sort of caching in the background. The main benefit seems to be the non-preemptive caching strategy (JIT), which is a big win, but could have been easily achieved without an additional cache layer.
01/02/2018 (Tue) 12:05:56
Concurrency and performance.
Gridfs became unstable with JIT removing and reading at the same time, causing corrupted caches. Up to 1.8 that wasn't an issue since cached files would only be removed after a newer version was stored.
And the new implementation was able to serve 5x more requests.
Delete only files
Delete media (Actually removes the saved files from the server, standard file deletion only removes the reference to the selected posts)
Captcha(Used for reporting and bans by board staff):