New Storage Structure!

By Jonathan Lam on 12/28/15

Tagged: the-homework-life the-homework-life-site

Previous post: Temporary Posting Break
Next post: How can I start learning to CODE?

The Homework Life has switched over to a (MariaDB) database for storage! Now posts will be more secure and faster to load.

We have switched from the JSON format (much easier to set up but harder to maintain, especially as data gets BIG) to a relational database. Now, after some tedious setup, the site will load quicker on any load, without having to load every single post as it had to before. With the JSON file that had to be loaded quickly approaching 50 kilobytes in size, this started to get ideal … why not just query a database for the little information you're actually looking for?

It's still a little experimental, so let's see how this turns out!

Comments

Write a comment

No comments for this post.

This post has 0 views. Return home.

Previous post: Temporary Posting Break
Next post: How can I start learning to CODE?

Most good programmers do programming not because they expect to get paid or get adulation by the public, but because it is fun to program.

Linus Torvalds