sq/libsq/core/oncecache/example/hrsystem
Neil O'Toole 3df79308a9
profiling (#400)
* oncecache refinement
* pprof
2024-02-23 05:35:13 -07:00
..
testdata #353 Diff performance (#399) 2024-02-20 16:26:45 -07:00
cache.go profiling (#400) 2024-02-23 05:35:13 -07:00
db.go #353 Diff performance (#399) 2024-02-20 16:26:45 -07:00
hrsystem_test.go #353 Diff performance (#399) 2024-02-20 16:26:45 -07:00
hrsystem.go #353 Diff performance (#399) 2024-02-20 16:26:45 -07:00
README.md #353 Diff performance (#399) 2024-02-20 16:26:45 -07:00
stats.go #353 Diff performance (#399) 2024-02-20 16:26:45 -07:00

hrsystem: oncecache example

hrsystem contains a oncecache example. It is a simple staff directory backed by a pretend DB. It uses oncecache to reduce DB calls.

One of the key things that hrsystem demonstrates is cache entry propagation across a composite cache.