BoxLang: Our new JVM Dynamic Language made by Ortus! Check it out: https://www.boxlang.io

Issues

Select view

Select search mode

 
25 of 25

Debugger Storage is Neither Cluster Nor Thread Safe

Description

Currently cbDebugger stores all debugger history in a single cache entry, which is appended to and shrunk to the max number off profilers on every single request.

This is not thread-safe, when any concurrency is present, and creates significant problems when using a distributed cache because of

1. The potentially massive profile array storage being pulled and set on every request
2. Attempts to to the above from another instance can result in loss of data integrity on what is placed or maintained with any concurrency.

Suggest migrating profile storage to multiple entries and using a wildcard cache key lookup to assemble them. This will allow for smaller payloads, and make cache reaping more efficient.

Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Priority

Sentry

Created August 26, 2024 at 4:31 PM
Updated August 26, 2024 at 8:55 PM

Activity

Show:

Luis MajanoAugust 26, 2024 at 8:55 PM

Yes noted, we have another branch with different approaches. For now, it’s not mean for production tracking.

Flag notifications