Ecosyste.ms: OpenCollective
An open API service for software projects hosted on Open Collective.
github.com/ory/ristretto
A high performance memory-bound Go cache
https://github.com/ory/ristretto
* *: fix data race in the cache
Signed-off-by: Weizhen Wang <[email protected]>
* fix
8e850b710d6df0383c375ec6a7beae4ce48fc8d5 authored almost 3 years ago by Weizhen Wang <[email protected]>297c39e6640f84b171ff0c32ff1f1e7c9e346ce4 authored about 3 years ago by Naman Jain <[email protected]>
fix `runtime error: index out of range` in non-amd64 (arm64) env
efb105d0ca5ed9ceec285b838c0bf7fabf8d3bf2 authored about 3 years ago by brain.duan <[email protected]>Include SpiceDB in the list of projects using Ristretto.
Signed-off-by: Jimmy Zelinskie <jimm...
55e7615b73e57b2762a402aceb64088dc99f7cc0 authored about 3 years ago by Jimmy Zelinskie <[email protected]>See: https://docs.microsoft.com/en-us/windows/win32/api/memoryapi/nf-memoryapi-flushviewoffile
91c6a4080750eed6af6b26870fbe90c4236ac81e authored over 3 years ago by Yongsheng Xu <[email protected]>c2901dc76889a90201a15b9cfc3c04bbfe0c298c authored over 3 years ago by Andrey Yaysh <[email protected]>
* Introduce SetIfPresent and move metrics out to new file.
* Introduce ShouldUpdate, to allow D...
777d8d2f019bdb32c4c26efb3b6eef07c67238ce authored over 3 years ago by Manish R Jain <[email protected]>
01b9f37dd0fd453225e042d6f3a27cd14f252cd0 authored over 3 years ago by CamiloGarciaLaRotta <[email protected]>
1ff978f89ae61dfad7460f12355a5f3ee1e6af13 authored over 3 years ago by Ibrahim Jarif <[email protected]>
9d4946d9b973c8e860ae42944e07f5bbe28a506b authored over 3 years ago by Shinnosuke Sawada <[email protected]>
0bf2acd73aa362fbec461d5c41169bb7a37701fe authored over 3 years ago by Naman Jain <[email protected]>
642987276d6a014b20aa6c8c5565704ba307b1bd authored over 3 years ago by Ajeet D'Souza <[email protected]>
ad070f21b6e6f3a02031f5c233d645b5bb6ad763 authored over 3 years ago by Ajeet D'Souza <[email protected]>
8405ab9b246f6f99dae006d7794eb9d1f79a5096 authored over 3 years ago by Ajeet D'Souza <[email protected]>
adds Cache.GetTTL(key interface{}) (time.Duration, bool) function
0f08db738fede9950e04ab2838028eacab24ef3e authored over 3 years ago by Karl McGuire <[email protected]>* docs(README): Ristretto is production ready.
* docs: Add header.
* docs: Add Vitess.
...
b837fdf292c84b8cf3f04ed1a28f3c9da879a504 authored over 3 years ago by Daniel Mai <[email protected]>221ca9b2091d12e5d24aa5d7d56e49745fc175d8 authored over 3 years ago by Ajeet D'Souza <[email protected]>
5946b62e47c42a2002afa5253e3aace6a96c33d8 authored over 3 years ago by Karl McGuire <[email protected]>
e0a933c6a9db07c8ff80a71cbb3f858b0a8fb0e5 authored over 3 years ago by neena <[email protected]>
cd8cd6146bbfe1ca47ee441cec5e431ce2cd026f authored over 3 years ago by Karl McGuire <[email protected]>
59dd4684ae74d35daddcd9b63eff47f5c9c07b81 authored over 3 years ago by Ajeet D'Souza <[email protected]>
62d2e1706f55b9752fd98724f70c7777dff6a40e authored over 3 years ago by Manish R Jain <[email protected]>
When clearing a cache while other goroutines are actively Wait()-ing for it, the waiting gorouti...
74754f61e01846f9fbc951a12b62264c185e0877 authored almost 4 years ago by Vicent Martí <[email protected]>6b99600c6cd958495fea33af2bf650c706da4c14 authored almost 4 years ago by maddie <[email protected]>
Add a few more test cases for GetPath() function of super-flags.
e4f298c8aa88bdedc4bd62812721895273abc23c authored almost 4 years ago by Ahsan Barkati <[email protected]>
Add GetPath() method on super flags. It is required because paths
needs to handled differently ...
ecb55b4c9c892517aded3e713e73c547a2df931d authored almost 4 years ago by Ajeet D'Souza <[email protected]>
* using runtime callers to improve the performance of leak detection
* fixing loop call
* ...
3836124cdc5a27eba5bf0a545e04906671ad3c41 authored almost 4 years ago by aman bansal <[email protected]>9b320d0a70edeefc548b69cf26d31e6faadd7395 authored almost 4 years ago by Karl McGuire <[email protected]>
8ec1dc18f880d5e12cda4f6da65141f049dc4e02 authored almost 4 years ago by Karl McGuire <[email protected]>
ddc50121902e8625973899cba908245c0af5ffe8 authored almost 4 years ago by Karl McGuire <[email protected]>
61bbb40bff18b154faa7040bc4be38682c7ebe3b authored almost 4 years ago by Karl McGuire <[email protected]>
024fba86f3718aae7a37c714dbb192a7772780a7 authored almost 4 years ago by Karl McGuire <[email protected]>
NOTE: align maxCost to 64-bit boundary for use with atomic.
As per https://golang.org/pkg/sync/...
58fa1b4c59a7c7fb272b3a6a646a67402df43d94 authored almost 4 years ago by Karl McGuire <[email protected]>
a29b033207575f72b6078f404a5ae172427bbe9d authored almost 4 years ago by Karl McGuire <[email protected]>
1fb8d282aa8b9076a075af9e4ddd2f287b743843 authored almost 4 years ago by Karl McGuire <[email protected]>
426327c2eb249f368c459d222b9f8b0343725b0a authored almost 4 years ago by Aayush Sarva <[email protected]>
* adding percentile in histogram
* adding clear function to histogram
13024c7bdb7e6df119fb0d8f3bfdbfc86779b78c authored almost 4 years ago by aman bansal <[email protected]>bb5d392ed82df02fa7fb320d1c1f5cd3a8c48f99 authored almost 4 years ago by Naman Jain <[email protected]>
On windows, a file cannot be deleted if it has an open file descriptor.
b1486d8516f2a911714d62a50c32b9a0ce5d0287 authored almost 4 years ago by Ibrahim Jarif <[email protected]>d7c5d7a71e898d75b6d5a7938ea49e73ad75d658 authored almost 4 years ago by Chewxy <[email protected]>
This PR fixes the build on non-amd64 architectures.
For non-amd64 architectures, we will use th...
We should not double the size of b+tree because it is being used in xidmap
which can grow big ...
Fix jemalloc stats by calling an epoch mallctl before reading the stats.
Note: This epoch call ...
bafef7527542b8c31301f9af1367c9b961a48d6c authored about 4 years ago by Manish R Jain <[email protected]>
* Bring in memclrNoHeapPointeres
* Use Memclr for ZeroOut
bc9300e7ef23e6281ec3007814202eea0abf5d71 authored about 4 years ago by Naman Jain <[email protected]>
67fef616c676b6848c3fd026d16b8f7d7ef6ae87 authored about 4 years ago by Manish R Jain <[email protected]>
d04b4c27e6326fd311bbbd48d6c2aac8ee4ef0a7 authored about 4 years ago by Manish R Jain <[email protected]>
afb2200714f2c2c6ef3bf5afe249581938f6f58b authored about 4 years ago by Manish R Jain <[email protected]>
766bca5e9938206b5d55583e93bda0e034843921 authored about 4 years ago by Manish R Jain <[email protected]>
bd7dd13d412fd1be6b9b933af2b935129e929e4a authored about 4 years ago by Ahsan Barkati <[email protected]>
00749407327cdfce279bc775a626cc68db5d7aa1 authored about 4 years ago by Manish R Jain <[email protected]>
Memory usage blows up without z.Calloc.
This reverts commit 68b18eb1b695d01438fdd9537ed23d7dfc5...
6497cc6f3dcc5af4798d9c716f042e13ee184db2 authored about 4 years ago by Manish R Jain <[email protected]>
We are seeing a strange issue when Allocator stores structs in the
memory using C allocated memo...
* Updated ZeroOut to use a simple for loop. See also: https://github.com/dgraph-io/ristretto-ben...
729b3243a2c9858cc801702169ee0c780b2bad4e authored about 4 years ago by Chewxy <[email protected]>eeefcb8bb4efe5720ba786dcfec7fb2357101760 authored about 4 years ago by Manish R Jain <[email protected]>
110f2c6798c7bb1fba4311cf20aa36bfa2ddb2f7 authored about 4 years ago by Manish R Jain <[email protected]>
Added an unrolled search function for keys. For more comparisons, see github.com/dgraph-io/ristr...
53cf0434ff2af761a35dbf4643ec56148af73346 authored about 4 years ago by Chewxy <[email protected]>
Include padding in the offsets returned by the AllocateOffset() API because 0 offset is used
fo...
261a95736792e95dfe9b5b420a55006fe8344179 authored about 4 years ago by Ajeet D'Souza <[email protected]>
24ae56eee4abb8e34e2e04a56b20367449868b4a authored about 4 years ago by Manish R Jain <[email protected]>
1040b7ded5210a02f167ae71980ab1d216982366 authored about 4 years ago by Manish R Jain <[email protected]>
692243ca43a9665ee10070140a889c240623555c authored about 4 years ago by Manish R Jain <[email protected]>
32c298273115c3b8254ef087153ab68ef392c2ee authored about 4 years ago by Manish R Jain <[email protected]>
1caec3bbd4216fdd04f7b10e4fa8fa3a620096ba authored about 4 years ago by Naman Jain <[email protected]>
f3ca035cbf7364ba3744bd41d292be99a16a8622 authored about 4 years ago by Ibrahim Jarif <[email protected]>
This PR adds an API tree.Reset() and allows passing the filename to NewTree() to create b+tree u...
af58718ed58886db863e7be3ebd76535d812e009 authored about 4 years ago by Naman Jain <[email protected]>f30e50eaf8dfcde5e3968f3e055fdbcf28955d7b authored about 4 years ago by Ajeet D'Souza <[email protected]>
* Set node as []uint64 instead of []byte
* Code to compact the entire tree, including non leafs...
750f5be31aadcf02486cb9d40471cabf4a72cbd4 authored about 4 years ago by Manish R Jain <[email protected]>
Code to demo allocations in the blog post.
e6cf299d16400cb18d10d28290707d18e9fba01f authored about 4 years ago by Manish R Jain <[email protected]>088abed6d8a268452485686af31cb6bb3058b984 authored about 4 years ago by Manish R Jain <[email protected]>
* Fixed memtest for easy comparison
* Added README
2729933817d48d4df20526e576a796de6535f4f7 authored about 4 years ago by Chewxy <[email protected]>732f879c252412359d09b39dcc4b594f2b0c6b95 authored about 4 years ago by Naman Jain <[email protected]>
Make padding of the z.Buffer hidden to the API caller. It must be handled
internally by the z....
This PR adds a dir field inside z.Buffer. This field is the parent directory for the mmaped buff...
93dc8308aed17380a222d0a3bf7d3ab47ab53f4e authored about 4 years ago by Naman Jain <[email protected]>4dcfe40a6fc09aa6f68089b5d0ac84e0fedf74ba authored about 4 years ago by Manish R Jain <[email protected]>
If we create a new allocator starting with zero pagesize, then addBufferWithMinSize() will run
...
4f21aeb8a0424f16df7843a276030ba8bd8fb53f authored about 4 years ago by Manish R Jain <[email protected]>
0ca62b6952be225e169af86f490d0d5cc845f295 authored about 4 years ago by Manish R Jain <[email protected]>
d0f91326f4c61d35c725ae285e9d1762a14f2b0f authored about 4 years ago by Manish R Jain <[email protected]>
0eff948d52ac61aea855cd56af8398fab388fc0c authored about 4 years ago by Naman Jain <[email protected]>
e2057c125fc2c91db8342a0b27f709acf2fd136f authored about 4 years ago by Manish R Jain <[email protected]>
5dc119919629976b223659b238dca69a94bc0b72 authored about 4 years ago by Manish R Jain <[email protected]>
1c00afaf7c56f181ba7d0e2313dca8ad51f87397 authored about 4 years ago by Naman Jain <[email protected]>
2652d616e248e84c1d3b81ea32be7f8962dfbca3 authored about 4 years ago by Naman Jain <[email protected]>
78a6c8267e490f9ab450e7107fc9c73c508bcb10 authored about 4 years ago by Naman Jain <[email protected]>
72c2139ec27fb03f73eb87da8c07f4aae518e53e authored about 4 years ago by Manish R Jain <[email protected]>
This PR adds a custom mmaped B+ tree. This data structure creates a mapping from uint64 to uint6...
1d4870a95a2b3550ff2f62753775f7769b6d055e authored about 4 years ago by Naman Jain <[email protected]>
Add an IncementOffset API for z.buffers which is a thread-safe API for
incrementing the buffer...
385d3ac85fccc0bf24ddb2214a7a867271b1a6ac authored about 4 years ago by Ibrahim Jarif <[email protected]>
f071429c1049bd5cdc3856207bfa68ed3beaedfb authored about 4 years ago by Ibrahim Jarif <[email protected]>
28aba7a42dfaae2730cd9514005e915079ab67dc authored about 4 years ago by Manish R Jain <[email protected]>
6d6fac64beaee57e25bebd23fde4cb69f0f44e16 authored about 4 years ago by Manish R Jain <[email protected]>
0af15dd47cb99fabd59d88d1c81b96bbe839efb2 authored about 4 years ago by Manish R Jain <[email protected]>
079c5f0d0dafbe3fef2d8de047dde916d6461c20 authored about 4 years ago by Manish R Jain <[email protected]>
ba670c7f1a86a27216820fdd9d7b46845dfe536d authored about 4 years ago by Manish R Jain <[email protected]>