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 8342531
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T05:48:10+00:00 2026-06-09T05:48:10+00:00

I am developing a Gameserver, since i have to store the progress of every

  • 0

I am developing a Gameserver, since i have to store the progress of every player, i have the question:
What it the best data Storage solution for my case?

Some facts:
At the moment, every Player is a Row in my MYsql-Database, having a unique id and name.
Every player has a World.
Every world contains a growing set of regions (as the player moves forward).
And every Region contains a set of landscapes.
Here comes the problem.

I want to add new landscapes as easy as possible, so i have this simple concept:
i have an interface landscape.java containing only one method called doit(String command)
Every implementation of a landscape is doing fancy stuff in their doit-methods without me having to change any code.

Now i have to store the world of every player, here are some ideas/options i thought of

  • Storing everythin in a database would require me to create tables for every implementation of a landscape. would be a bad solution imo

  • Serialisation was another idea, perfect because i do not have to worry about anything simply cast to landscape and fine. But i have my doubts, how should i edit the data, whats to do when i update the classes, how do i roll out changes to the data.

  • Frameworks like Hibernate, JPA etc. (i have no deep knowledge in them, could this be helpfull in my case?)

  • Writing my own file-format, changes in my strategie or other ideas?

Some perhaps inportant information at the end:

  • Saved data has to be editable

  • storing is not time-critical and should be done in normal time

  • Since all data is cached in memory, i do not really care about it being fast, it more likely has to be reliable

  • possible to use are PostgreSQL/Mysql and Filesystem.

I am not experienced in this field, so please give me a hint if i’m going a wrong way 😉

  • 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-06-09T05:48:12+00:00Added an answer on June 9, 2026 at 5:48 am

    I don’t see anything which suggest you should chose one approach over another.

    Some people will have a preference and I would go with whatever you prefer.

    If you are going to Serialize your data, I would use a Text Serialization which makes it easy to edit it in a text editor. e.g. XML, JSon, CSV.

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

Sidebar

Related Questions

Developing for Android 2.3, I have a question regarding layouts. I use a vertival
Developing a project of mine I realize I have a need for some level
Developing an app where all tabular data is returned as an object. Some cells
Developing a Sencha Touch MVC app that pulls data from json store (thats set
Developing Java, you have always learned that its best to create an ArrayList by
developing iphone app, I have used a UIImageview and i have set an image
Developing for iPhone, I have a collection of points that I need to make
Developing with Google Maps v3. For some sort of reason, my custom marker icon
Developing a network application, I have a Connection class that manages sending and receiving
Developing an application for Android, i want to record data that will be usefull

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.