[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Re: [mv] How fast PC would I need to run following setup.
On 0, Jarno Niemela <jargon@iki.fi> wrote:
> ****** message to minivend-users from Jarno Niemela <jargon@iki.fi> ******
>
> Hello.
>
> I'm setting up an minivend based web shop, and I'd like get your experiences
> what would be fast enough for following shop.
>
> -3000-5000 items
> -Each item having 5 fields in the products.asc
> -Using the minivend internal database
> -Running under Redhat 6.0 and Apache 1.39
>
> I was planning on something like
>
> -Celeron 500mhz (or would PII be better?)
> -128MB memory
> -13GB ATA4 hard drive (DMA/66)
That's more than enough for what you need.
> We are hoping for something like 400 hits per day, and 5-25 customers at
> the same time.
>
> The products database is updated once a night (the shop can be offline for
> that time..)
>
> Also what would be the best tips for optimizing a shop like this.
>
> -mySQL database?
> -Static pages?
> -Cached seraches?
I find static pages to be more pain than they're worth.
As for mysql (or any other sql database (we prefer Oracle8)), you
don't gain performance, but you do gain more control of your data, and the
abaility to analyze traffic, orders, etc.
Using a SQL database also obviates the need to shut the server when
updating the datafiles. At BrainLINK, we provide our MV clients with a
www-based interface to their shop manager. The store owners update
the inventory, product positioning, images, etc., and hit update.
Voila...immediate store update.
> PS. Where i should place the minivend start command, so that the minivend
> would automatically start on Linux bootup, without any users logging in...
/etc/rc.d/rc3.d is a good place to put the MV startup script ;-)
Mine looks like this:
/etc/rc3.d/S90minivend
#!/bin/sh
case "$1" in
'start')
#
if [ -f /opt/minivend/mvend/bin/start ]; then
su - minivend -c "/opt/minivend/mvend/bin/start "
echo "Minivend started..."
fi
;;
'restart')
#
if [ -f /opt/minivend/mvend/bin/restart ]; then
su - minivend -c "/opt/minivend/mvend/bin/restart "
echo "Minivend restarted..."
fi
;;
'stop')
su - minivend -c "/opt/minivend/mvend/bin/stop "
echo "Minivend killed..."
;;
*)
echo "Usage: /etc/rc3.d/S90minivend { start | restart | stop }"
;;
esac
--
========= << raj >> == http://www.brainlink.com/~frostbit/ ==============
SYSADMIN: BrainLINK International, Inc. (718) 805-6545
http://www.brainlink.com
Visit Hindustan.com
============================================================================