any ideas on how images are stored in social websites like facebook/myspace. Its not stored in filesystem i believe. What would be the best approach to store images if have to develop a website like facebook application using j2ee .
i have stored images in db and displayed in on JSP using servlets for my current project . Is it a good approach if there are millions of users uploading images ?
I'm just curious :-)
SCJP, SCWCD, SCBCD, Oracle Certified Professional (SQL n PL/SQL)
I've only ever used file system storage, meaning the relevant DB record contains all the information needed to access the image file on a file server.
You'd need to think about how to handle synchronization in the case where more than one person has write access to an image (not likely in the Facebook example, but often the case in image-handling applications).
This has nothing to do with PD. Moving to General Computing
Joined: Aug 27, 2002
thank you all for the replies !! its really informative..
no, there is no need for synchronization, no 2 people will be editing an image at same time. I was just curious to know about the image storing approach used by various websites which has millions of unique daily users.