Comments (5)
Do you have any extra info to reproduce the issue? I can't reproduce it.
from garnet.
I figured it out, I was trying to reduce the memory footprint as I noticed it was taking up 10gb in my local machine dev environment using docker/k8s. For some reason the startup parameters I was using was returning no errors at startup. I was able to index my data into GarnetServer just fine but the keys command was behaving as above. I was passing the following configuration to try to create a smaller footprint for local testing:
apiVersion: apps/v1
kind: StatefulSet
metadata:
name: redis
spec:
serviceName: redis
replicas: 1
selector:
matchLabels:
app: redis
template:
metadata:
labels:
app: redis
spec:
containers:
- name: redis
image: ghcr.io/microsoft/garnet
imagePullPolicy: IfNotPresent
ports:
- containerPort: 6379
name: client
command: [
"/app/GarnetServer",
"--index",
"1073742849",
"--checkpointdir",
"/data",
"--aof",
"--port",
"6379",
]
resources:
requests:
memory: "3Gi"
cpu: "1000m"
limits:
memory: "3Gi"
cpu: "4000m"
env:
- name: POD_IP
valueFrom:
fieldRef:
fieldPath: status.podIP
volumeMounts:
- name: redis-data
mountPath: /data
readOnly: false
volumeClaimTemplates:
- metadata:
name: redis-data
spec:
storageClassName: ssd
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 1Gi
---
apiVersion: v1
kind: Service
metadata:
name: redis-svc
spec:
type: LoadBalancer
ports:
- name: redis-port
port: 6379
protocol: TCP # default; can also specify UDP
selector:
app: redis
from garnet.
Are you still facing the issue above or is it resolved?
from garnet.
It looks like the issue was result of configuration issue. Closing the issue until otherwise.
from garnet.
This seems to be the related to #143, this memory usage is by design and configurable.
from garnet.
Related Issues (20)
- incr a non-number key-value should return error
- API Coverage - Implement SMOVE HOT 6
- API Coverage - Implement SRANDMEMBER
- SPOP with count bug HOT 6
- Char that occupy multiple bytes in string as key or value would make GarnetClient.ExecuteForStringResultAsync() unable to continue execution. HOT 4
- Redundant "Clear" in many buffer allocations
- 微软缓存
- Any plans for support for equivalents to RedisSearch and RedisJson modules? HOT 1
- Timeout after particular command sequence HOT 4
- Any plans to support images, incr/decr inventory counting, subscribe to Postrgresql publication HOT 6
- Secret comparisons should be constant time HOT 1
- Passwords are hashed using SHA256 HOT 3
- Metrics HOT 2
- Using ZRANGEBYSCORE with a range that starts after the max score causes an error HOT 2
- Ajust website Intro - Connect with Redis clients
- SETNX is not implemented HOT 7
- API Coverage - Implement LSET
- API Coverage - Implement LMPOP HOT 2
- [BUG]: LMOVE operation direction parse error
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from garnet.