Connection Strings in the Windows Registry --- Performance?

Ask a Question related to ASP.NET General, Design and Development.

  1. #1

    Default Connection Strings in the Windows Registry --- Performance?

    I was recently cautioned against storing an ADO.NET Connection String in the
    Windows Registry because access to the Windows Registry would be serialized
    and therefore impact scalability.

    I have been able to find reasons to not use the Registry for storing
    Connection Strings, but the reasons given seem to be security-related.

    Does anyone know if there are performance-related reasons for NOT storing
    Connection Strings in the Windows Registry?

    Thanks!


    Gerard Marshall Vignes Guest

  2. Similar Questions and Discussions

    1. Connection keys & the registry
      Platform - Windows XP Professional Software - Contribute version 2.0 I have several users that I need to send connection keys to. BUT when I...
    2. Connection Strings
      My Host had to change me over to a new server and with it my database, sql and php myadmin. But they told me to point my connection strings to an ip...
    3. Connection Strings: FCS vs. FMS
      My company is upgrading from Flash Communication Server 1.5 to Flash Media Server 2.0.3. As a Flash developer utilizing the server, are there any...
    4. ADODB.Connection - Unable to open registry key 'Temporary (volatile) Jet
      Jon wrote: http://www.aspfaq.com/show.asp?id=2062 - updatable cursor http://www.aspfaq.com/show.asp?id=2009 - 80004005 errors Bob Barrows
    5. Auditing Windows XP Registry
      Hello There, I can audit any of the Root Keys execpt for HKEY CLASSES ROOT. Would anyone know why the Audit pane for this root ker is greyed...
  3. #2

    Default Re: Connection Strings in the Windows Registry --- Performance?

    I see your point. Even if there is serialization, you can work around it by
    caching and refreshing the cache periodically. Thank you :-)

    I am still also trying to verify if this serialization will indeed occur.

    "Aaron Lewis" <aaronlewisSPAMFREE@guildportal.com> wrote in message
    news:%23EYdMuTUDHA.3796@tk2msftngp13.phx.gbl...
    > Could just go ahead and use the registry to store the strings, then at
    > runtime cache the value the first time you access it into the
    application's
    > cache... Could also use an expiration policy on the cache so that it
    > re-loads the string from the registry every x minutes.
    >
    > "Gerard Marshall Vignes" <programmer@gerardvignes.com> wrote in message
    > news:u55EspSUDHA.2036@TK2MSFTNGP10.phx.gbl...
    > > I was recently cautioned against storing an ADO.NET Connection String in
    > the
    > > Windows Registry because access to the Windows Registry would be
    > serialized
    > > and therefore impact scalability.
    > >
    > > I have been able to find reasons to not use the Registry for storing
    > > Connection Strings, but the reasons given seem to be security-related.
    > >
    > > Does anyone know if there are performance-related reasons for NOT
    storing
    > > Connection Strings in the Windows Registry?
    > >
    > > Thanks!
    > >
    > >
    >
    >

    Gerard Marshall Vignes Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139