traces

package
v0.0.0-...-4b70f63 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 12, 2024 License: MIT Imports: 20 Imported by: 0

README

SessionFactory Performance Report

This package benchmarks the performance of the SessionFactory class and its dependencies. It compares Metastore and KMS access patterns with different cache configurations.

The source code for this package is derived from the package of the same name in the Mango Cache project. See NOTICE for copyright and licensing information.

Traces

Name Source
Glimpse Authors of the LIRS algorithm - retrieved from Cache2k
Multi2 Authors of the LIRS algorithm - retrieved from Cache2k
OLTP Authors of the ARC algorithm - retrieved from Cache2k
ORMBusy GmbH - retrieved from Cache2k
Sprite Authors of the LIRS algorithm - retrieved from Cache2k
Wikipedia WikiBench
YouTube University of Massachusetts
WebSearch University of Massachusetts

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Provider

type Provider interface {
	Provide(ctx context.Context, keys chan<- interface{})
}

func NewCache2kProvider

func NewCache2kProvider(r io.Reader) Provider

NewCache2kProvider returns a Provider which items are from traces in Cache2k repository (https://github.com/cache2k/cache2k-benchmark).

func NewStorageProvider

func NewStorageProvider(r io.Reader) Provider

NewStorageProvider returns a Provider with items are from Storage traces by the University of Massachusetts (http://traces.cs.umass.edu/index.php/Storage/Storage).

func NewWikipediaProvider

func NewWikipediaProvider(r io.Reader) Provider

func NewYoutubeProvider

func NewYoutubeProvider(r io.Reader) Provider

func NewZipfProvider

func NewZipfProvider(s float64, num int) Provider

type Reporter

type Reporter interface {
	Report(Stats, options)
}

func NewReporter

func NewReporter(w io.Writer) Reporter

type Stats

type Stats struct {
	RequestCount             uint64
	KMSOpCount               uint64
	KMSEncryptCount          uint64
	KMSDecryptCount          uint64
	MetastoreOpCount         uint64
	MetastoreLoadCount       uint64
	MetastoreLoadLatestCount uint64
	MetastoreStoreCount      uint64
	OpRate                   float64
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL