ozzo-dbx VS go-cache

Compare ozzo-dbx vs go-cache and see what are their differences.

ozzo-dbx

A Go (golang) package that enhances the standard database/sql package by providing powerful data retrieval methods as well as DB-agnostic query building capabilities. (by go-ozzo)

go-cache

An in-memory key:value store/cache (similar to Memcached) library for Go, suitable for single-machine applications. (by patrickmn)
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
ozzo-dbx go-cache
1 8
620 7,762
1.0% -
0.0 0.0
11 months ago 4 months ago
Go Go
MIT License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

ozzo-dbx

Posts with mentions or reviews of ozzo-dbx. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-07-02.
  • What SQL library are you using?
    20 projects | /r/golang | 2 Jul 2022
    If you are looking for a query builder only, I also could recommend https://github.com/go-ozzo/ozzo-dbx (it doesn't seem to be maintained but its stable and so far I haven't stumbled on a bug using it for an internal tool)

go-cache

Posts with mentions or reviews of go-cache. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-08-18.
  • My first package in go. An in-memory cache package useful when creating multiple instances of the cache
    2 projects | /r/golang | 18 Aug 2023
    Why I am creating this package? There is an already existing memory cache package which creates (One Janitor for One Cache) So I am running into issues where many go routines are running in our use cases causing the application to crash due to some memory leakage in the library itself or maybe multiple timers running at same time casuing the issue. Also this is a very popular github library but just doesn't fits when I am creating many cache instances. So thought about creating one package by myself.
  • VCache vs Go-Cache
    4 projects | /r/golang | 4 Feb 2023
    I wrote a new library called VCache (https://github.com/microup/vcache). VCahce differs from go-cache (https://github.com/patrickmn/go-cache) by using a key of type "any" instead of a key of type "string". I compared the performance of both libraries on the main operations: Add, Get, and Delete.
  • Better Cache - A Lightning Fast Caching System with Full Text Search
    2 projects | /r/golang | 25 Aug 2022
    https://github.com/patrickmn/go-cache is a well known one. My cache module is for it's fast full text search thus I recommend only using mine if u are using a pre-set cache.
  • go-cache VS ccache - a user suggested alternative
    2 projects | 2 Apr 2022
  • Implement an in-memory cache in Golang
    2 projects | dev.to | 17 Jan 2022
    github.com - patrickmn/go-cache
  • Log4j RCE Found
    32 projects | news.ycombinator.com | 9 Dec 2021
    > when they went a year without a release.

    Cause these libraries depend on other libraries that are probably extremely out of date at that point and have their own security vulnerabilities.

    An example of a project that hasn't been dismissed as "abandoned", is https://github.com/patrickmn/go-cache because it explicitly doesnt have dependencies.

    So yeah, if you have a semi-complex library, a year without a release is abandoned.

  • In-memory caching solutions
    4 projects | /r/golang | 1 Feb 2021
    Though pretty simple but have a look at https://github.com/patrickmn/go-cache

What are some alternatives?

When comparing ozzo-dbx and go-cache you can also consider the following projects:

BigCache - Efficient cache for gigabytes of data written in Go.

groupcache - groupcache is a caching and cache-filling library, intended as a replacement for memcached in many cases.

GCache - An in-memory cache library for golang. It supports multiple eviction policies: LRU, LFU, ARC

badger - Fast key-value DB in Go.

cache2go - Concurrency-safe Go caching library with expiration capabilities and access counters

goose

go-memdb - Golang in-memory database built on immutable radix trees

rqlite - The lightweight, distributed relational database built on SQLite.

fastcache - Fast thread-safe inmemory cache for big number of entries in Go. Minimizes GC overhead

kingshard - A high-performance MySQL proxy

sqrl - Fluent SQL generation for golang

nutsdb - A simple, fast, embeddable, persistent key/value store written in pure Go. It supports fully serializable transactions and many data structures such as list, set, sorted set.