MiniVend Akopia Services

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

Re: [mv] Products.asc and receipt generation



Quoting Ryan Hertz (rhertz@gyb.baits.com):
> 
> List, has anyone had any experience with altering the products.asc and the
> writing of the file concurrent with an order being placed?  At the exact
> moment I saved changes to my products.asc (live store) I received an order
> that was slightly mutated.  A few products had developed accessories that
> they don't usually have.  Other than that, the item codes, qtys, and
> possible accessories were correct.
> 
> As the store approaches it's 1st birthday and our promotions begin to pay
> off our traffic is climbing...  I want to be sure I am administering
> minivend correctly.  What is the procedure that the other shop owners use
> when updating?  Do you stop the server, save the db, restart the server?
> Or am I just freaking out over something simple like a stray gamma ray
> striking the memory of this guy's order?

No, unless your FTP server locks the file before writing it (very doubtful)
then there is a distinct chance of causing a problem.

Minivend's (and therefore MiniMate's) upload should do it correctly,
i.e. writing an intermediary file, locking, truncating, then writing.
Or it does a move, I can't remember. In any case, using that would have
a much smaller (by orders of magnitude) chance of causing a problem.

-- 
Mike Heins                          http://www.minivend.com/  ___ 
                                    Internet Robotics        |_ _|____
                                    131 Willow Lane, Floor 2  | ||  _ \
It's a little-known fact            Oxford, OH  45056         | || |_) |
that the Y1K problem caused         <mikeh@minivend.com>     |___|  _ <
the Dark Ages. -- unknown           513.523.7621 FAX 7501        |_| \_\


Search for: Match: Format: Sort by: