MySQL question
David Hubbard wrote:
> Locking will only be an issue when using dbf files on
> shared storage, but Empresa includes a shared-storage-safe
> locking mechanism so there should not be problems in that
> setup. MySQL-based load balancing greatly removes a lot
> of the overhead compared to mivadata on shared storage
> load balancing because you no longer have multiple servers
> competing for access to the same files, you just have
> multiple servers issuing queries to one mysql server
> and it worries about the locking and unlocking of tables
> in mysql.
Let's say the store is going to use MySQL and load balancing with the
shared data on the one server and shared scripts on another. All is
fine. Now you decide to run a module that uses the dbf for its internal
config files. That module expects to write the data to the mivadata
directory. But to be specific it expects to write it to
mivadata/Merchant5/sXX/module subdirectory. In this MySQL store, the
mivadata/Merchant5/sXX/ directory does not exist or does it? If I
understand this correctly, there is a Merchant5/sXX but it is not under
mivadata if it is MySQL. If this is correct, then every module is going
to have to check for the mivadata/Merchant2/sXX directory before
creating its module data subdirectory. Heaven help us if the fexists
returns a false negative and the module starts creating directories that
could have been created at setup.mvc time.
--
Bill Weiland A2Z Emporium Plus <A HREF ="http://www.emporiumplus.com/store.mvc ">http://www.emporiumplus.com/store.mvc </A>
Modules for eCommerce. Mail Mgr, Coupon, PayPal, Froogle/Yahoo feeds
Rate This, Gift/Wish List, Wait List Mgr, EZ Batch, Shipping & more
Online Documentation <A HREF ="http://www.emporiumplus.com/docs">http://www.emporiumplus.com/docs</A>
Question <A HREF ="http://www.emporiumplus.com/mivamodule_wcw.mvc?Screen=SPTS ">http://www.emporiumplus.com/mivamodu...vc?Screen=SPTS </A>
|
David Hubbard wrote:
> Locking will only be an issue when using dbf files on
> shared storage, but Empresa includes a shared-storage-safe
> locking mechanism so there should not be problems in that
> setup. MySQL-based load balancing greatly removes a lot
> of the overhead compared to mivadata on shared storage
> load balancing because you no longer have multiple servers
> competing for access to the same files, you just have
> multiple servers issuing queries to one mysql server
> and it worries about the locking and unlocking of tables
> in mysql.
Let's say the store is going to use MySQL and load balancing with the
shared data on the one server and shared scripts on another. All is
fine. Now you decide to run a module that uses the dbf for its internal
config files. That module expects to write the data to the mivadata
directory. But to be specific it expects to write it to
mivadata/Merchant5/sXX/module subdirectory. In this MySQL store, the
mivadata/Merchant5/sXX/ directory does not exist or does it? If I
understand this correctly, there is a Merchant5/sXX but it is not under
mivadata if it is MySQL. If this is correct, then every module is going
to have to check for the mivadata/Merchant2/sXX directory before
creating its module data subdirectory. Heaven help us if the fexists
returns a false negative and the module starts creating directories that
could have been created at setup.mvc time.
--
Bill Weiland A2Z Emporium Plus <A HREF ="http://www.emporiumplus.com/store.mvc ">http://www.emporiumplus.com/store.mvc </A>
Modules for eCommerce. Mail Mgr, Coupon, PayPal, Froogle/Yahoo feeds
Rate This, Gift/Wish List, Wait List Mgr, EZ Batch, Shipping & more
Online Documentation <A HREF ="http://www.emporiumplus.com/docs">http://www.emporiumplus.com/docs</A>
Question <A HREF ="http://www.emporiumplus.com/mivamodule_wcw.mvc?Screen=SPTS ">http://www.emporiumplus.com/mivamodu...vc?Screen=SPTS </A>
|
Comment