Relative Content

Tag Archive for server

Lightshot (OFFTOPIC)

I have a doubt about lighshot. I think i accidentaly put a personal information of mine. When i wrongly clicked on the button to put the image on the Server, i clicked on the X button as well, but not sure if it worked or not, and if not, I dont have the link.
Does the image disappear after some time by itself? Or is there some way to check all uploaded images in a specific day?

How to deploy long lived services?

I come from the serverless space where the assumption is that the service will be spun up “on demand”. Or the data pipeline space were work is scheduled.

Game server code design

I’m designing a multiplayer game server where the players are in rooms. Right now I have classes to take care of the client, networking, etc. I’m struggling however to find a design for this Room class. For example, when I want to change a client’s room, should I call client.changeRoom(newRoom) or newRoom.addClient(client)? What about when leaving a room, should a client detach itself from the room or the room detach the client? I’m very confuse here, I just don’t want to end up with a design I will regret in the future.