Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6994019
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T19:50:18+00:00 2026-05-27T19:50:18+00:00

I m having a game which requires rounds being clicked by players . It

  • 0

I m having a game which requires rounds being clicked by players . It is compulsory to save per round data in the file. Currently , we are using a mysql database to do save the data. I m thinking to optimize it by using redis. Is the redis AOF fsync per write such reliability and better performance over mysql.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T19:50:18+00:00Added an answer on May 27, 2026 at 7:50 pm

    You may want to read the Redis persistency page and the high latency troubleshooting page.

    The MyISAM engine does not offer any redo logging mechanism. So it is quite fast, but not reliable. Any system crash will lead to potential corruptions in the data files, that have to be repaired before the service can be restored.

    Redis with AOF + fsync per write will offer better reliability, but at the price of performance and scalability. Fsync operations are very expensive with HDD. Redis tries to optimize them by using a form of group commit (i.e. several write operations are batched during the event loop iteration), but still, when the fsync is done, the whole Redis event loop is frozen.

    You can relax this behavior by using other options (appendonly everysec for instance). In this mode, you can loose the last second of write traffic in case of system crash, but there is no need to repair anything before restarting Redis. Performance in this mode is far better because the fsync are mostly done in background.

    IMO, if you need absolute durability (but for a game I doubt it), you will be better served with a real OLTP engine with maximum safety options (for instance: InnoDB with innodb_flush_log_at_trx_commit set to 1).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm having problems getting my game engine to run on my brother's machine, which
I have an app (a game) which stores data (high scores, etc.) in the
I'm working on a video game which requires high performance so I'm trying to
I am implementing a game which is having touch events and I have implemented
I'm prototyping a simple sports sim game for iPhone which will use Core data.
I've having a desktop application (a little game) which must be able to post
I have a turn-based game in which two players may play against each others.
I'm having some problems with users cheating my online game by using macros to
I'm having difficulty with an architectural decision for my C# XNA game. The basic
I am creating a Stratego Game and am having trouble creating an algorithm that

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.