Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

SOLVED: Storing objects/ data set with increasing number of fields

dermoritz:

In my application (a java based micro service) i want to persist some usage information. At the beginning i just want to store:

accessed Object -> access count

The Number of accessible objects is around 1 mio. But the number of fields will increase and probably also contain complex data (embedded objects). I am searching for a good approach or strategy to persist this data. I don't need a remote/distributed persistence layer. Local (where the service runs)/ embedded file based persistence would be sufficient.

My first idea is to store the data in an json or xml file. All fields will be optional. My only problem with this idea is the file size: the size would increase fast and loading/ updating the data could become a problem (I/O ?).

But what about (embedded) noSQL Databases? Is this an option, if yes what data bases should be considered?

Are there any other options?



Posted in S.E.F
via StackOverflow & StackExchange Atomic Web Robots
This Question have been answered
HERE


This post first appeared on Stack Solved, please read the originial post: here

Share the post

SOLVED: Storing objects/ data set with increasing number of fields

×

Subscribe to Stack Solved

Get updates delivered right to your inbox!

Thank you for your subscription

×