Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.gui > #455

Re: Writing a Movie Datab

From "Larry Barowski" <larry.barowski@THRWHITE.remove-dii-this>
Subject Re: Writing a Movie Datab
Message-ID <g5udnf01L_AbxxTYnZ2dnUVZ_tGsnZ2d@comcast.com> (permalink)
Newsgroups comp.lang.java.gui
References <lbvfo2djiv6kfdlrh3tugcrcgh74jrdiij@4ax.com>
Date 2011-04-27 15:27 +0000
Organization TDS.net

Show all headers | View raw


  To: comp.lang.java.gui

"David Segall" <david@address.invalid> wrote in message 
news:lbvfo2djiv6kfdlrh3tugcrcgh74jrdiij@4ax.com...
> It is unlikely that one programmer can write code that outperforms the
> code written by teams of open source programmers or those from IBM,
> Oracle or Microsoft. Their code has been subjected to competitive
> benchmark timing tests over many years.

I don't get your argument here. General purpose database software is
competitive in the sense that it is compared to other general purpose
database software. Not using such software may be orders of magnitude
faster than using it, depending on the purpose.

> How can from tens to hundreds of lines of Java be simpler than one SQL
> statement and, at most, five template lines of Java to execute it?

It would be simpler in the project sense rather than the lines-of-code
sense.

> The database software consists of a couple jar files that must be
> included with the application. Derby requires about 2MB which would
> only be a problem if you were writing software for a microwave oven.

Those jar files are fairly large though. I work on a medium-sized
(250 KLOC) project which is about a 3 meg download. Adding the
necessary jar files from Derby would slightly more than double the
download size and load on our servers. We have lots of data that is
accessed by single keys only, which is stored in a custom
flat-files+index-files database. For efficiency, the data is organized
and accesses are cached in a very domain-specific way. Using
standard database software would be several times slower at best,
and the difference in speed would be noticeable to users.

---
 * Synchronet * The Whitehouse BBS --- whitehouse.hulds.com --- check it out free usenet!
--- Synchronet 3.15a-Win32 NewsLink 1.92
Time Warp of the Future BBS - telnet://time.synchro.net:24

Back to comp.lang.java.gui | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Re: Writing a Movie Datab "Larry Barowski" <larry.barowski@THRWHITE.remove-dii-this> - 2011-04-27 15:27 +0000
  Re: Writing a Movie Datab "David Segall" <david.segall@THRWHITE.remove-dii-this> - 2011-04-27 15:27 +0000
    Re: Writing a Movie Datab "Larry Barowski" <larry.barowski@THRWHITE.remove-dii-this> - 2011-04-27 15:27 +0000
      Re: Writing a Movie Datab "David Segall" <david.segall@THRWHITE.remove-dii-this> - 2011-04-27 15:27 +0000
        Re: Writing a Movie Datab "Larry Barowski" <larry.barowski@THRWHITE.remove-dii-this> - 2011-04-27 15:27 +0000
          Re: Writing a Movie Datab "David Segall" <david.segall@THRWHITE.remove-dii-this> - 2011-04-27 15:27 +0000

csiph-web