[DiscordArchive] would u say its better to store it in ram and then in batches move to file or whatever instead of co
[DiscordArchive] would u say its better to store it in ram and then in batches move to file or whatever instead of co
Archived author: Rymercyble • Posted: 2023-02-05T22:28:14.999000+00:00
Original source
would u say its better to store it in ram and then in batches move to file or whatever instead of constantly writing it directly to file ?
Archived author: Honey • Posted: 2023-02-05T22:28:54.125000+00:00
Original source
Always use containers and make an async query for such things to ultimately store it.
Archived author: Rymercyble • Posted: 2023-02-05T22:28:54.626000+00:00
Original source
i was also thinking about involving redis in this
Archived author: Honey • Posted: 2023-02-05T22:29:15.128000+00:00
Original source
Same as player saves.
Archived author: Foe • Posted: 2023-02-05T22:29:17.401000+00:00
Original source
You don't need to use redis for this
Archived author: Foe • Posted: 2023-02-05T22:29:28.043000+00:00
Original source
just use async queries
Archived author: Rymercyble • Posted: 2023-02-05T22:30:20.095000+00:00
Original source
i mean redis as first place where it will be stored so player deals dmg it is right away pushed to redis....and then in batches move it from redis to somewhere else
Archived author: Foe • Posted: 2023-02-05T22:30:40.391000+00:00
Original source
But there's no point in doing that, you're adding more points of failure
Archived author: Deleted User • Posted: 2023-02-05T22:31:09.256000+00:00
Original source
idk what redis is but you can just push it to a buffer and async the buffer to disk
Archived author: Rymercyble • Posted: 2023-02-05T22:31:10.132000+00:00
Original source
i guess thats true i just think that redis would be more reliable than some random variable i added for it