Buy Brownie Points
Forumwarz is the first "Massively Single-Player" online RPG completely built around Internet culture.

You are currently looking at Flamebate, our community forums. Players can discuss the game here, strategize, and role play as their characters.

You need to be logged in to post and to see the uncensored versions of these forums.

Log in or Learn about Forumwarz

Role Playing
Switch to Civil Discussion Role-Playing

Viewing a Post

STGill

Avatar: Code (Blue)

[Dev-Null]

Level 14 Hacker

DELETED ACCOUNT

quangntenemy Posted:

It’s just more convenient that way. No need to synchronize data between database and disk storage.

But really, some noobs don’t even know how to store resources anywhere other than database.

In term of performance, storing images on disk is always the best choice.

Well I started with storing to disk use fwrite etc, but after writing a captcha program I really got interested in using header data to output images.

I have never really done a benchmark to compare MySQL image output to Disk output but since technically when using SQL the data must be read twice (Once to read the SQL database and again to read the Image data)

It is also more RAM intensive it seems.

STGill edited this message on 08/19/2009 12:33AM
Internet Delay Chat
Have fun playing!
To chat with other players, you must Join Forumwarz or Log In now!