CacheAdvance

A performant cache for logging systems. CacheAdvance persists log events 30x faster than SQLite.

APACHE-2.0 License

Stars
36
Committers
4

Bot releases are hidden (Show)

CacheAdvance - 2.0.0 Latest Release

Published by dfed 9 months ago

  • Add support for macCatalyst and visionOS. Drop earlier version support (#81)
CacheAdvance - 1.2.5

Published by dfed almost 2 years ago

  • Improves maintainability of cache-reading code #72 (thank you @jianjunwoo!)
  • Fixed a Swift Concurrency warning on Xcode 14 builds #73
  • Adopted most up-to-date FileHandle APIs #74
CacheAdvance - 1.2.4

Published by dfed about 2 years ago

  • Fixes an issue where a crash during a header write could result in an infinite loop when reading a file. Many thanks to @jianjunwoo and @zack2012 for finding this issue. #66
CacheAdvance - 1.2.3

Published by dfed about 2 years ago

• Fixed an issue in Xcode 13+ release builds where decoding the length of a message could return an incorrect value #63

CacheAdvance - 1.2.2

Published by dfed about 2 years ago

  • Improved detection of file corruption #58
CacheAdvance - 1.2.1

Published by dfed over 2 years ago

  • Prevented a recursion loop crash that could occur if the file data had been corrupted (#52)
CacheAdvance - 1.2.0

Published by dfed almost 4 years ago

  • Added a persistedVersion field to the error CacheAdvanceError.incompatibleHeader to enable better debugging and error handling
CacheAdvance - 1.1.0

Published by dfed almost 4 years ago

  • Added Objective-C compatibility layer: CADCacheAdvance
CacheAdvance - 1.0.1

Published by dfed almost 4 years ago

  • Fixed a bug that would render an overwriting cache that was completely full (message written exactly up to the byte limit) to fail to read all messages while the cache was completely full.
CacheAdvance - 1.0.0

Published by dfed almost 4 years ago

Official release out of beta! No functional changes from 0.3.0.

CacheAdvance - 0.3.0

Published by dfed over 4 years ago

  • Enabled a CacheAdvance to read a file where maximumBytes or overwritesOldMessages doesn't match what's been persisted in the cache's header, resolving #35
  • Renamed the file: URL property to fileURL: URL
CacheAdvance - 0.2.0

Published by dfed over 4 years ago

  • Added API to tell if a cache isEmpty() without needing to read all messages() into memory
  • Created differentiated Errors for messageLargerThanCacheCapacity and messageLargerThanRemainingCacheSize. This is a source-breaking change, as messageDataTooLarge was removed.
CacheAdvance - 0.1.0

Published by dfed over 4 years ago

Store less metadata information at the end of each message, instead opting to store file metadata information in a file header.

This version is a breaking change. CacheAdvance files created using 0.0.1...0.0.3 can not be successfully opened using 0.1.0 or later.

CacheAdvance - 0.0.3

Published by dfed over 4 years ago

Use modern FileHandle API on macOS 10.15

CacheAdvance - 0.0.2

Published by dfed over 4 years ago

Add support for macOS 10.14, iOS 12, tvOS 12, and watchOS 5

CacheAdvance - 0.0.1

Published by dfed over 4 years ago

Create the first version of CacheAdvance. Append individual messages to disk in a performant way!