Skip to main content

All Questions

1 vote
1 answer
322 views

How should I Handle IAM Authentication Token Expiration in Node.js for Memorystore Redis

I'm implementing a Node.js service that connects to a Memorystore Redis cluster using IAM authentication, which involves using an access token for the Redis AUTH command. Considering the hourly ...
Eliav ran's user avatar
0 votes
0 answers
52 views

How to use memorystore session in JS message worker

I am trying to use google-clound-memorystore to save some values in a session. Later I would like to use this session(memorystore based) in different message queue workers build in nodeJS. Is there ...
Adnan Ali's user avatar
  • 2,960
2 votes
0 answers
2k views

Connecting to GCP redis memory store with cloud run

we are currently trying to connect to a memory store redis instance with cloud run using the npm redis library https://www.npmjs.com/package/redis in version 4.0.3 The config looks like this: const ...
SZDevelopment's user avatar
0 votes
1 answer
3k views

best approach for in-memory storage (multi region on GCP/cloud memorystore)

I'm building a chat app in react-native, with a nodejs backend. I'm using the google cloud platform. I'm using websockets to create a continuous connection between the app and the backend. Because ...
Sam Leurs's user avatar
  • 2,020
1 vote
1 answer
2k views

gke - redis - connection timeout

My node js application is throwing a connection timeout in order to connect with Redis instance. I have tried to spin up redis instance as a separate deployment as well as memory store redis instance ...
ARINDAM BANERJEE's user avatar
2 votes
1 answer
2k views

Close redis connection on google cloud function end

How do you close the connection to a redis memory store from a cloud function when the cloud function instance terminates? (I believe to close I need to call redis.quit(), but I just don't know when, ...
Acreol's user avatar
  • 77