Hello,
I am looking for a way to share a memory from 1 server to another server
and I found memcache. Now I would like to ask a few questions.
But before that I would like to explain what I want to do and the things I
need, and where I believe memcache could help.
A Game has a client, multiple many clients, and this only communicates to
one server that is front facing. Let us assume:
- Client connect to front facing server the Gate
- Client can only talk to the gate
- The Gate decrypts and encrypts the incoming and outgoing messages
(packets)
- The Gate remembers the sessions (what the IP is and the socket object)
- The socket object from node.JS is an object that you can do things
like socket.write('datawillbesenttothisclientssocket')
- This socket is bound to a session like session1.__socket__.write()
But ofcourse that socket session write is only available to the Gate
server. Now internally I have more servers that communicate with each other
thru some means, like:
- World Server remembers everything happening to the world/map
- This are all in memory and saved to the database at intervals
- Data is passed to me from the Gate server but all I know is the
session ID and the message
- Only the Gate server knows more about that session
So the idea is could I use memcache and instead of the sessions on the
memory of the process it could be on memcache and it is then accessible on
all servers?
--
---
You received this message because you are subscribed to the Google Groups
"memcached" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.