What's the FASTEST file storage option ?

Hi all,
Im building an application in Java where indexing and storing of data is a major area of the app. It should be able to store the data as well as retrieve them rapidly as well as the files should be small in size.
Knowing Java's popularity with XML, I've chosen that as one candidate, but the problem is Im not too sure how the above 2 criteria will match with XML.
1) Is XML fast enuf considering retrieval of data ?
2) And how about the[b] storage sizes ?
Or should I scrap XML and build my own version file structure such as a B-tree ?
How difficult would that be considering limited development time ?
thanx in advance ....

Anyway to deal with this post piece by piece.
I agree with you that database infact rules out other
options when it comes to speed and storage. Im not in
anyway trying to abuse XML as a storage mechanism. If
I had the freedom to use a database, I know I wudnt
even hav posted this question, cos database wins
hands down in ease of programmin, maintain, store and
rapid response.
Okay first of all my post was not a personal attack against you. There are plenty of people who abuse or ty to abuse XML as a storage mechanism with extremely unhappy results. I want to make that point clear not just to you but to any future readers of this thread so that if they are considering such a course of action they should come back to reality.
It wud be insane to ask the client to
to install a DBMS jus to make sure the P2P app wud
run. As for the details about the solution, it is a
P2P app, but not to share content as such traditional
ones. Its supposed to help ppl arrive at better
seacrh results on a Web Search Engine.Well this was dealt with previously. In short using JDBC does NOT imply a full blown database server. It could be a standalone database like Access or you could write your own driver that accesses a proprietary file directly or you could use a plain text driver.
The point is that if you use JDBC you decouple your application from the storage. This is the important point. Because it means you can switch the storage mechanism as best fits you later without having to rewrite gobs of code.
>
As for the requiremtns, I need a storage mechanism
sm to store the rankings a user might have given
indivuidually per page or website. I need to store
them as well as access them anytime I want and share
them with the peers. Not only rankings I need to
store other deatils like the search string, the
datetime of the query etc.All the more reason to look at a database of some sort... an embedded database would be fine.
>
I will let you know more of the requiremtns as soon
on as I advance onto it. Right now Im not
concentratin on the storage part of it. ( Jus
thinking of goin ahead with XML ) and rather
implementing the P2P communication area. I was jus
doing some research on what would be the best storage
option for dealing with the app's "data". I read
on a book that B-Tress and such data structures can
actually be implemented on file storage thus giving
better performance. And also I was looking for
material ( white papers and such ) discussing the
various issues of each storage option available
currently which will stand as proof for the final
solution I am gonna take.
Okay here is the problem with all this. How do you think databases implement indexes?
Hint: while it is all in the end vednor specific the answer is some sort of tree structure.
So again back to the point if you want to write your own tree structure go right ahead... I think it's pointless but go right ahead. What you should do though is write it so that your application accesses this structure through JDBC so that later when you decide that re-inventing the wheel was not such a hot idea you can change the storage implementation without destroying your application.

Similar Messages

  • What's the fastest way to share files live between 2 Macs in the same room?

    Please can I have some advice on this scenario?
    I'll need to share HD video footage between 2 new Mac Pros in the same room. 1 Mac will be used to upload the footage and the other to edit it using FCP. The footage can be stored either on hard drives in the edit machine or on desktop hard drives connected to the edit machine (or if there is a better option I'm open to advice).
    What is the fastest way of sharing the files and what is the simplest way?
    Any suggestions would be greatly appreciated.
    Thanks in advance

    What is the fastest way of sharing the files and what is the simplest way?
    Fastest way? a fiber channel SAN connecting the two machines to a common fiber-channel based storage array. Can't beat it for performance, but it comes at a cost (think $20K as a starting point, depending on the amount of storage you need).
    Simplest way? Some external media (thumb drive, external hard drive, etc.) that you shuffle between the two machines
    Intermediate: a NAS-based storage box on your network, although be aware that real-time editing of HD video can overwhelm many low-end NAS boxes.

  • What is the video file size I can use for Telepresence Content Server to calculate storage required?

    Hi,
    I would like to calcualte storage requied for Video files on the Telepresence Content Server, MPEG Format.  What is the per minute storage required for a video file with and without compression? What kind of Video compression rates are supported on TelePresence Content Server and MXE 3500. 
    Thanks
    Sue

    Hi,
    Following thread might be helpful to you...
    http://scn.sap.com/thread/1637092
    http://scn.sap.com/thread/1284704
    BR,
    Anirban

  • What is the fastest way to transfer files and applications from an older iMac to a new MacBook Pro?

    What is the fastest way to transfer files and applications from an older iMac to a new MacBook Pro?
    I have a Firewire cable and Thunderbolt adapter, but no icons showing either Mac appear on either desktop.

    The fastest way is to use Carbon Copy Cloner and a external drive formatted GUID OS X Ext. J in Disk Utlilty, then connecting to the new Mac and using Migration Assistant in the Utilites folder.
    Even faster, if you can determine your going to replace all the apps from fresh sources anyway (like if the older Mac's OS X verison is old thus the apps) then just use a external drive and copy just your files to it, then connect to the new Mac and transfer over.
    Some apps you can just grab the registration code and install it fresh on the new machine with the old code, talk to the developer about transfering the program, as long as it's deleted on the older Mac in the process.
    It used to be Firewire Target disk mode was fastest, but since Thunderbolt came out...
    Notice this support doc hasn't been updated since june 2012, no Thunderbolt info
    https://support.apple.com/kb/HT1661

  • Buring a DVD now and then another one a week later. What is the fastest

    Buring a DVD now and then another one a week later. What is the fastest way to burn the second copy? I thought maybe burn to image but that doesn't seem to make a DVD that plays when you put it into a DVD player. Is "Save as video_ts folder" the best way? When I go to do a regular burn it wants to encode everything each time unless I do all my copies right away. There is zero help in iDVD's help.

    You can copy a disc image to a physical DVD with Apple's Disk Utility, but I prefer Toast.
    Re Video_TS folders: This folder is the guts of a DVD, but the option is more advanced than I am. Toast can handle these folders, and lets you add DVD-ROM content subsequently (but you can add any files to the DVD-ROM area of a DVD from within iDVD). Toast is also able to compress large Video_TS folders to better fit on a DVD (so that could be useful). The Help function in Toast was the source for this info.
    John

  • What's the fastest way to change IP addresses in a Project?

    Hi folks,
    I'm using a cFP2100 controller with LabVIEW 8.2.1.  I made a project using a configuration I created in MAX.  Now I've moved the whole bank of modules to a new location, and the controller now has a new IP address via DHCP.  My question is, what's the fastest way to update the IP address for my project?  Do I have to make a brand new project with a new .iak file that has the new IP address?  I'm thinking there's got to be an easier way.
    Thanks!
    Eric

    Hi Eric,
    Since you are getting your IP address from a DHCP server, the IP address of your Fieldpoint device is ultimately dependant on the server.  If your IP address changes, you have two choices.   You can right click your target and go to properties.  In the properties under the general category, you can change the IP address of the target.  The second option is to import a new IAK file into your project by right clicking the Project Name and going to import>>iak file. 
    I hope this helps,
    Regards,
    Nadim
    Applications Engineering
    National Instruments

  • What is the FASTEST graphic card on AGP dual-proc G5?

    I am running a Dual-proc PowerMac 2.3 GHz under OS 10.4.7.
    I had a Radeon XT800XT graphics card; I "had" it, since it started after 6 months of usage to freeze my G5. Just isolated the card after a lots of testing as the trouble maker (due to startup problems I thought first the startup disk is defect, but it was not).
    Since I need to replace and Aperture performance was not that great with the XT800...:
    What is the fastest card I can put in?
    Is there a 512MB option?
    The card needs also to support the 30" ACD.
    Thank You,
    Peter
    PowerMac G5, 2.3GHz DP; Radeon X800 XT; external G-SATA   Mac OS X (10.4.4)  

    You might try giving your machine more RAM and a RAID
    0 pair of 150GB 10,000 RPM Western Digital Raptors as
    a working disk.
    You'll need to install a Firmtek SATA PCI card
    because most of the non-Quad PowerMacs have outdated
    SATA interfaces.
    http://www.amug.org/amug-web/html/amug/reviews/article
    s/firmtek/1eve4/
    Big slow +50% filled boot drives serious affect Mac
    OS X performance.
    Clone your boot drive, visit Carbon Copy Cloner
    forums.
    Didn't take Apple long to tax a dual processor/core
    system with software, got to keep those hardware
    sales up you know.
    Thank You ds store for your XT800 advice.
    This was my concern, yes, the XT800 is still the best I can do.
    I have done all of the other upgrades:
    - I have 6GB memory
    - I have a GSATA 500Mb Raid-0 with the Firmtek card you mention (IO with 130MB/s)
    - ...and the XT800.
    That means I will have to straight replace the XT800 with another one.
    Regarding Aperture performance: Given my already well equipped G5, its really Apple's duty to further improve algorithms in Aperture (or some of the graphics and raw file algorithms in OSX) and not me to throw hardware at it.
    If you use adjustments like Highlights/Shadows and zoom into 100% image view in Apoerture, you start seeing the spinning ball.
    And I only shoot 8 megapixel files with the Canon-1DII. What if you have 1DS files with 16MP or - god forbid - Aperture would support a professional digital back with 22MP or more...
    Regards, Peter
    PowerMac G5, 2.3GHz DP; Radeon X800 XT; external G-SATA Mac OS X (10.4.4)

  • What is the max file size that a Adapter Engine [J2SE] can handle ?

    We are having a scenario where a 4 GB compressed file needs to be sent across without mapping, I'm trying to explore the possible options to tackle this scenario.
    Some of the options, we are considering :
    - Sending a file from one Adapter Engine [J2SE] to another Adapter Engine [J2SE] bypassing PI. Adapter Logs will be monitored. What is the maximum file size that can be then handled assuming a standard installation ?
    - What is the max file size that Adapter Engine [J2SE] can send through PI without mapping?
    Any help with the above options or with any other possible solutions to handle extremely large file transfers will be much appreciated.

    Hi,
    j2se is not a good option here
    if you have 4gb then you need a copy solution
    a) build an proxy that will just copy the file from sender dest to receiver
    b) build an adapter that will do the same as proxy)
    this way processing of this message will be controlled with SAP PI/XI
    it will be as quick as copy & paste of the 4gb file
    I did the a) for one of the flow for 300 mb and it works perfectly
    Regards,
    Michal Krawczyk

  • There are over 4000 duplicates in my iTunes. What is the fastest way to delete them?

    There are over 4000 duplicates in my iTunes. What is the fastest way to delete them?

    Hello there, yandere69keita.
    The following Knowledge Base clarifies your concern about your My Photo Stream counting towards your iCloud storage:
    iCloud: My Photo Stream FAQ
    http://support.apple.com/kb/ht4486
    Does My Photo Stream use my iCloud storage?
    No. Photos uploaded to My Photo Stream do not count against your iCloud storage.
    Thanks for reaching out to Apple Support Communities.
    Cheers,
    Pedro.

  • What are the "other" files on the hard drive and how can I reduce them

    Advice please - what are the "other" files on my hard drive and can I reduce or clear them  - currently taking up over 90 gig of disk space

    WZZZ wrote:
    "Other" than what?
    In About This Mac > Storage -
    ...the yellow stuff.
    I believe "Other" is primarily System and System-related files.

  • What is the best online storage service for time machine

    what is the best online storage service for time machine?

    ds store wrote:
    There isn't any, the reason is TimeMachine is a backup of your entire boot drive, can be many gigabytes in size which Internet Service Providers only provide a fraction of upload speed compared to download speed so it makes online backups rather impractical for most.
    You can share some files via a service like DropBox between remote computers, but to backup your whole system it's better to have it stored locally.
    After all how can you restore your hard drive if OS X isn't running to get online?
    https://discussions.apple.com/docs/DOC-3045
    Why is local storage better than offsite? I had a house that burned down and can tell you from experience that local backup was totally useless.

  • What is the importance of Root option in while opening syndicator?

    Hi Friends,
    1) what is the importance of Root option while opening syndictor?
    2) when i am try to import external xml schema file, i am unable to import it because of  Root option is not enabled?
    3) Inorder to enable the Root option while i am importing external xml schema file in syndicator what should i need to do in xml schema file?
    if any one having any documents or scenario links on this please forward to me.
    Thanks in Advance
    chinthapatla.bharat
    Edited by: bharat chinthapatla on Jun 27, 2008 9:14 AM

    Hi Bharat,
    1) what is the importance of Root option while opening syndictor?
    2) when i am try to import external xml schema file, i am unable to import it because of Root option is not enabled?
    3) Inorder to enable the Root option while i am importing external xml schema file in syndicator what should i need to do in xml schema file?
    if any one having any documents or scenario links on this please forward to me.
    I think you are trying to syndicate an XML file from the MDM Syndicator.
    You will require an XML schema for this.There are two methods for this:
    1) You can upload the schema in the Console.
    2) You can take it locally from syndicator.
    The root is very important as it identifies a correct schema. If you are not able to see the root, that means the XMl schema you are using is not correct.
    If you have a customized repository and hence do not have an XML schema then you can generate one by using the Xomlite software. Here is the link to which explains the process:
    [https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/bf0e8a97-0d01-0010-f0a2-af3b18b7f4eb]
    After you generate the XML schema using Xomlite, upload it under the Admin node->XML schemas for that repository
    Then open syndicator Go to File->New/Destination proeprties
    Select type->XML schema
    Remote system and select the XML schema that you have uploaded.
    By this procedure, you will find the root element and then you can perform the mapping in the syndicator.
    Hope it helps.
    Thanks and Regards
    Nitin Jain

  • What does the open file dialog do 'under the hood' and is there a way to simulate it

    What does the open file dialog do 'under the hood' and is there a way to simulate it?
    I have a bug in my code (that I've posted about before, here) which I can't fix at the moment, but I do have a workaround.
    Briefly, the bug:
    I call a dll from a function node, to initialise and run a spectrometer. If I start up the PC, LabVIEW and run my vi the code runs without complaint, the first call to the dll to initialise the spectrometer doesn;t return an error but the spectrometer is not detected either.
    I've tried various solutions, see the link above, and none work
    The workaround:
    If, at any time before running the code containing the function node I open an 'open file' dialog window, select the dll and click ok/hit enter then everything is fine. When I run the main code the spectrometer is detected.
    I use an express vi to open the file dialog, I specify the start path and file name as constant inputs and just click ok/hit return when the dialog pops up. I don't do anything with the dialog outputs. In fact the vi that contains the open file dialog can be run before the project containing the bug is even open.
    I have to do this everytime I turn the PC on.
    So, either
    1) Can somewone suggest a fix for the original bug?
    2) What is the easiest way to simulate the enter keypress when the open file dialog pops up
    or
    3) Can someone tell me what the open file dialog does under the hood that somehow causes the dll to work and can it be simulated in straight LabVIEW
    I suspect that the dll itself is dodgy ( I have in the past talked to the supplier but not got very far, and I will try again but I would like a quick, temporary solution too). I'm guessing that the file dialog is making some kind of check on the file, and possibly registering its presence with the OS (winXP). I tried using the file/folder exists vi to see if checking the file like that worked but no luck.
    Any help greatly appreciated.
    Dave

    Hi David
    I am very conscious about thread hijacking but this sounded like my issue so I hope you dont mind me asking about your issue. I am hoping that you have a spectrometer from the same vendor as me and its not just me seeing an Error 1097 issue. My spectrometer is from a company called Stellarnet.
    So far I have unable to get it to work with other VIs. There is one condition where I can get it to work but its no good for me.
    Case 1
    I open the VI in a fresh labview environment with no other VIs in memory. The code runs with no issue.
    Case 2
    Labview is not opened. I double click the spectrometer VI in windows explorer.  The VI opens but it fails to run resulting in Error 1097. Personally, I dont see the difference between this and Case 1 above and yet it fails.
    Case 3
    If I already have other VI's in memory and try to load the spectrometer VI and run it fails with Error 1097. This case is the one that most important to me. I have a test executive that will load test VIs dynamically and I can't get this to work. Same problem Error 1097.
    I wanted to share what I have seen with you and to let you know that maybe somebody else has the same issue. I am convinced its the DLL but the vendor dis-agreed saying it was LabVIEW. I couldn't convince him otherwise.
    Thanks in advance
    David

  • HT1338 What is the best online storage for photos. Specifically one that allows the original image quality to be downloaded should your hard storage goes belly up

    What is the best online storage for photos. Specifically one that allows the original image quality to be downloaded should your hard storage goes belly up

    I'd put them on an external hard drive(s) and burn them to a DVD as well (at least 2 - 3 copies on different drives/media); I prefer having control and a local solution instead of relying on a server and the possibility of someone (who shouldn't be)  downloading my work.

  • What is the fastest CPU I could put in Satellite Pro L20

    This is a desperate request for help!!
    The Football Manager 2010 is coming out soon and my laptop needs to be up to scratch.
    I know I need to upgrade it because Football Manager 2009 nearly killed it!
    At the moment I have 1.4ghz Intel Celeron M chip and 704mb of ram.
    What is the fastest chip I could put in? I've done a bit of research and found I can only have 2gb of ram
    The laptop is in perfect working order so I don't want to buy a new one just for the sake of it and its served me well over the last 4 years - I've dropped it enough times! Just need to speed it up a bit!

    Hmm... Do you really want to upgrade the pretty old Satellite Pro L20? I mean new notebooks are not so expensive anymore and I doubt that you will get a strong performance boost with new CPU.
    Anyway, in your notebook is only the preinstalled CPU pretested and nobody is able to say what other CPUs will run. But you should look on the specifications for other Satellite Pro L20 notebooks. If another L20 is equipped with faster CPU, it should also work in yours. You can try it but in worst case it will not work.
    Good luck!

Maybe you are looking for

  • HDD vs SSD for new MacBook Pro and FCP editing performance

    I will be purchasing a new MacBook Pro and I'm curious about performance as it relates to large FCP projects. I'm looking to hear from folks who can help me determine if a solid state drive (SSD) would be worth the extra cost. I edit large FCP projec

  • Socket Exception when closing the console

    Hi , I'm running WLC & P Server 3.5/WL 6.1 in the following environment Weblogic Version: WebLogic Server 6.1 SP1 JDK Vendor: Blackdown Java-Linux Team JDK Version: 1.3.1 Operating System: Linux and I'm getting very often this exception when closing

  • Workflow manager 1.0 : runtime error 400 running Add-WFHost "The api-version in the query string is not supported"

    Installing Workflow Manager 1.0 for SharePoint Server 2013 SP1 everything is fine until the last step of the configuration and last powershell command :  Add-WFHost -WFFarmDBConnectionString 'myconnectionstring' -RunAsPassword $WFRunAsPassword -Enabl

  • Installing 10.4.6

    Hi all, I have an external 500 GB firewire drive connected to my eMac and I wanted to install 10.4.6 to it so that I could use it as an external drive so I could examine my main HD with Disk Warrior and Tech Tool Pro. I wasn't 100% how to go about it

  • Inserting Blank/Silence Into Project

    Hello- Does anyone know how to insert blank space/silence into a project. Say at the beginning or middle of the project. When I select all and move, the volume changes I made don't move with it. Thanks!