MiniVend Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date ][Minivend by thread ]

Re: Using GDBM -- A new slant



******    message to minivend-users from Birgitt Funk <birgitt@hamburg.citde.net>     ******

mike@minivend.com wrote:
> 
> ******    message to minivend-users from mike@minivend.com     ******
> 
> Quoting Brian T. Allen (brian@purenetfx.com):
> >
> > >maybe a stupid question, but how can I change from DB to GDBM
> > >(maybe this will solve my Hammered Lock problem when I wanna
> > >use the [tag each products][sort products:category][....] problem?).
> > >
> > >Thank you!
> > >
> > >Marius
> >
> > While we are on the topic, perhaps we could all share a little project here.

[snip]

> I can guarantee that the search takes milliseconds at most on 200
> products.  The bottom line is that the searching is not what is taking
> time, it is the page building. I continually see things like:
> 

[snip]

> This is abusing the MiniVend tag system which is designed to do some
> simple things without much coding. 

[snip]

> I put warnings in the docs, but I guess that isn't a very good place
> to get the information across. ;-)

A wonderful place ! Across comes what one is willing to let in. :-)

> 
> I know I have posted this type of thing many times before; I guess
> I should put up some new FAQ questions. 8-\

No way. In clpm people wasted months of discussion and bandwidth about
how one may help newbies to find and understand documentation. It is
not a matter of missing and unclear documentation, nor a matter of one
more and another FAQ. Simply a matter of needing to  know much more
than most people expect.  

[snip]

> This is how you should do very complex things. In the hairiest example I
> have seen, with literally dozens of [perl] and [if ...] tags in each
> search line, I took a 100-second-plus page build and made it return in
> less than 2 seconds using this approach.

And on the other hand I think it didn't take more than 20 seconds to
search through the
500 000 records last year with an older MiniVend version on a Pentium
Pro. Now, where one could test GDBM, Sybase, Oracle and Mysql without
costs on Linux, I wished I could test these again. If I manage to do
that I will provide the site as a "bogus" example to prove the docs
right. 


Birgitt Funk
-
To unsubscribe from the list, DO NOT REPLY to this message.  Instead, send
email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
Archive of past messages: http://www.minivend.com/minivend/minivend-list


Search for: Match: Format: Sort by: