storage

Storing Images : DB or File System -

Hi all, I read some post in this regard but I still don't understand what's the best solution in my case. I'm start writing a new webApp and the backend is going to provide about 1-10 million images. (average size 200-500kB for a single image) My site will provide content and images to 100-1000 users at the same time. I'd like also to...

What is the best way to manage user photos for a website?

My question is about displaying thumbnails and storage. Let's say I have a website where users can upload photos and view them in albums. How are the photos usually stored in this scenario? Are the images themselves or are the file paths usually stored in the database? If the photos are large and you want to display thumbnails, is ...

storage of user, error, exception messages (c++)

Hello everyone. Rather simple question. Where should I store error,exception, user messages? By far, I always declared local strings inside the function where it is going to be invoked and did not bother. e.g. SomeClass::function1(...) { std::string str1("message1"); std::string str2("message2"); std::string str3("message3"); ... // so...

Desktop application allowing backup (syncing) of local folders onto (multiple) Cloud Storage ?

I find it odd that this question hasn't been asked already... I thought there were more people paranoid that I am... Anyway, is there any desktop application, that allows me to backup a given folder to a (Cloud) storage service (Amazon / Rackspace / ...) ? Note: I am not looking for companies providing backup solutions, there are plent...

Does MYSQL stores it in an optimal way it if the same string is stored in multiple rows?

I have a table where one of the columns is a sort of id string used to group several rows from the table. Let's say the column name is "map" and one of the values for map is e.g. "walmart". The column has an index on it, because I use to it filter those rows which belong to a certain map. I have lots of such maps and I don't know how mu...

Where/How are (My)SQL Databases Stored on Webservers?

Just curious as to where and how SQL databases are stored on web servers. My particular flavour of SQL is MySQL if it makes a difference, does it? ...

Are the order of rows in a MYSQL table fixed, so that queries always return them in that order?

I have an application which collects data into a mysql table. The table has no unique id column, so I can't reference a specific row by id. I want to write a dump application which every day dumps the new rows added to the table to upload them elsewhere. I could do it by adding a unique id field and storing the last id dumped, but I don...

Methods for storing searchable data in C#

In a desktop application, I need to store a 'database' of patient names with simple information, which can later be searched through. I'd expect on average around 1,000 patients total. Each patient will have to be linked to test results as well, although these can/will be stored seperately from the patients themselves. Is a database the...

c# separate class for storage

I use more than one class and I need a... lets say Global storage for all the class and method. Is it the right way to create a static class for storage? public static class Storage { public static string filePath { get; set; } } Or is there other ways to do it? ...

Where does Internet Explorer stores its form data history that is uses for auto completion?

Where does Internet Explorer stores its form data history that is uses for auto completion? I need to make a tool the cleans IE form data. Is there an API for this? Or what are the registry keys? Thanks. ...

Best way to store data between program runs in java?

I was wondering if there was any way other placing the information that is genereated by the program between runs of the program? I already know that you can use a text file and store the information that way but I was wondering is there a better way? Also is there any way to do it so as to keep the information secure? from the end user ...

How to set value of mysql MaxNoOfConcurrentOperations

Hi All, I am getting following error Got temporary error 233 'Out of operation records in transaction coordinator (increase MaxNoOfConcurrentOperations)' from NDBCLUSTER While inserting data into ndb table. Can anyone explain more about this error. Also in my config.ini I dont have this parameter set. Is there any way I can see the d...

How to deal with mixed databases ?

Did you ever have the following situation: you need to store information, but a part of this information is well modeled with one type of database (in a very loose sense), and another part is well modeled with another type. Examples: a set of files and additional information about each of them stored in a relational SQL database. an OO...

Detect USB mass storage eject/unmount in Linux

I'm using the g_file_storage gadget in Linux to export a partition as a removable USB mass storage device to host PC's (Windows, Linux, MAC). All of these host OS's (can) automatically mount the removable disk and access it without issues, and I'm looking for a way to detect that the host has ejected/unmounted the disk. The only way I...

Data Storage Options

I've built a dedicated server applications that ships with the application. As of now it is storing data in a mix of binary- and xml files, but I've found that this gets way too messy and slow now that the amount of data required to store grows continously. So what are my options for storing data in a format that is easier search/editab...

Programming Dell Tape Drive with C#

Hi, Has anyone got experience in writing files to tape drives. i'm writing some tar files from a c# windows service to a dell powervault 124t. I was hoping there was an API or some tool I could use (pay for potentially). I had a look at symanntecs open netbackup api but not sure it that is the correct route. any help appreciated. ...

Creating a packed Binary Representation of a Set of Files?

So i am trying to work on my own little 3d game. Now i am more or less doing this to learn C#. I was wondering, what is the best methodology for packaging assets such as textures/scripts? Generally what i was thinking of doing was this: [header] [number of records] [Offset to Record 1 from End of header] [Offset to Record 2 from end of...

ASP.NET Saving webpage layout in a smart and fast way

Hello! I don't know what i should title this question regarding ASP.NET and saving a webpage layout. I will be referring to BBC just illustrate what i am after. http://news.bbc.co.uk/ The page will have around 10,000-20,000 visitors each day. I have one MS SQL 2008 database and i am programming ASP.NET (C#) 3.5. I am building a magazi...

How does Zend_Auth storage work?

This is very simple. I write $auth->getStorage()->write($user); And then I want, in a separate process to load this $user, but I can't because $user = $auth->getIdentity(); is empty. Didn't I just... SET it? Why does it not work? Halp? ...

Programmatically accessing the contents of a Sony MP3 player

How to access/manipulate Sony MP3 player’s contents programmatically?.. A Sony Walkman MP3 player (NWZ-W202) is connected to a Vista Ultimate PC through a USB port. The player contents is visible by the Windows Explorer as “Computer\WALKMAN NWZ-W202\Storage Media\MUSIC\MediaFile1.mp3”. Computer Management\Storage\Disk Management lists...