List:Internals« Previous MessageNext Message »
From:Hroi Sigurdsson Date:February 14 2001 4:44pm
Subject:transparent query direction
View as plain text  
Hello MySQL developers.

We are looking into redirecting updates, inserts etc. directly on
slave servers in a replicated set-up. Instead of having the clients
figure out where to send updates, the slave will itself forward data
manipulation queries to the master, wait for the same query from the
master to arrive and complete, then return the result. The client will
not know the difference (apart from the delay).

What is the best place to start? We don't want to have a seperate
proxy process doing the filtering, since authentication by ip address
will then be impossible from the end-point's view (and to avoid the
overhead).

Can you point to some sections in the code that would be useful to
look at? At which point in the code can we look at a query and
determine whether it should be sent to the master? How are queries
delimited?
Is there a general overview/map of mysql server code/design on the
web? The documentation was a little sparse on that area and I don't
remember all that much of what was taught in your course (which was
mostly about custom table handlers).

Thanks for your time,
-- 
Hroi Sigurdsson                             hroi@stripped
Netgroup A/S                          http://www.netgroup.dk
Thread
transparent query directionHroi Sigurdsson14 Feb
  • Re: transparent query directionRussell E Glaue14 Feb
  • Re: transparent query directionSasha Pachev15 Feb
    • Re: transparent query directionHroi Sigurdsson15 Feb
      • Re: transparent query directionPaul Repacholi15 Feb
      • Re: transparent query directionSasha Pachev15 Feb
    • Re: transparent query directionJeremy D. Zawodny15 Feb
      • Re: transparent query directionSasha Pachev15 Feb
        • Re: transparent query directionPaul Repacholi15 Feb
          • Re: transparent query directionSasha Pachev15 Feb
            • Re: transparent query directionPaul Repacholi16 Feb
        • Re: transparent query directionJeremy D. Zawodny21 Feb
          • Re: transparent query directionSasha Pachev21 Feb
            • Re: transparent query directionHroi Sigurdsson21 Feb
              • Re: transparent query directionSasha Pachev21 Feb
                • Re: transparent query directionHroi Sigurdsson21 Feb
                  • Re: transparent query directionSasha Pachev22 Feb
                    • Re: transparent query directionMichael Widenius3 Mar
                      • Re: transparent query directionSasha Pachev5 Mar
  • Re: transparent query directionPaul Cadach5 Mar
    • Re: transparent query directionSasha Pachev5 Mar
  • Re: transparent query directionPaul Cadach5 Mar
    • Re: transparent query directionSasha Pachev5 Mar
  • Re: transparent query directionPaul Cadach6 Mar
  • Re: transparent query directionPaul Cadach7 Mar
  • Re: transparent query directionPaul Cadach7 Mar
  • Re: transparent query directionPaul Cadach7 Mar
Re: transparent query directionMichael Widenius5 Mar
Re: transparent query directionHeikki Tuuri7 Mar