This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"context" | |
"fmt" | |
"time" | |
"io" | |
"github.com/go-gorm/caches/v4" | |
"github.com/redis/go-redis/v9" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"context" | |
"fmt" | |
"time" | |
"github.com/rueian/rueidis" | |
//"github.com/jamiealquiza/tachymeter" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
## This script*will* slow down the Redis server. Run with caution!! | |
app_keys = {} | |
app_size = {} | |
app_ttls = {} | |
from redis import StrictRedis | |
redis = StrictRedis.from_url("redis://localhost:6379") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"encoding/json" | |
"os" | |
"github.com/brianvoe/gofakeit/v6" | |
) | |
type Record struct { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"context" | |
"fmt" | |
"os" | |
"time" | |
"github.com/go-redis/redis/v8" | |
"github.com/pborman/getopt/v2" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"context" | |
"crypto/sha256" | |
"fmt" | |
"log" | |
"os" | |
"strconv" | |
"time" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
import sys | |
import json | |
import glob | |
def print_help(x): | |
print("Usage: <path> <stat>") | |
print("\t Stats: {}".format(",".join(x))) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
import sys | |
import json | |
import glob | |
x_axis = 'threads' | |
y_axis = 'clients' | |
z_axis = 'Ops/sec' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"title": "ACRE", | |
"description": "", | |
"widgets": [ | |
{ | |
"id": 1426048574507798, | |
"definition": { | |
"type": "image", | |
"url": "https://images.g2crowd.com/uploads/product/image/social_landscape/social_landscape_41977d19e7b55aacdaec9fa50510761b/redis-enterprise.png", | |
"sizing": "contain", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"fmt" | |
"github.com/gomodule/redigo/redis" | |
) | |
func main() { | |
pool := &redis.Pool{ |
NewerOlder