RE: scaling out data access



tin,

Trying to use a dataset as an in-memory database with hundreds of thousasnds
of rows in some of the tables is a mistake.

The first and most important thing you can do for data access scalability is
to be sure you are opening connections as late as possible and closing them
as soon as possible. Then let .Net's connection pooling manage the
connections.

Kerry Moorman


"tin" wrote:

> requirment: scaling out data access to increase overall system capacity while
> decreasing individual request execution time, without server clusters <-- is
> that possible??
>
> a bit trade off in idv. request execution time is acceptable if the whole
> system would scale. expensive server cluster is out of the equation. i can
> think of 2 solutions:
>
> #1 - data replication (transactional model), 2 concerns:
>
> a) all testing i have done, shows that there's at least 10 seconds delay in
> replicating the data? would sql 2005 improves the latency?
>
> b) the data is still accessed from hard disk, so it doesn't really improve
> performance? i know in linux/unix, you can mount the memory to a drive, and
> use the drive for data access?? is there something like this in windows
> 2003??
>
> #2 - use ado.net (most likely 2.0) to load all the data from the database to
> a dataset, this way data can be accessed from the memory, and i can load the
> data to multiple servers to balance load? a few concerns:
>
> a) is ado.net 2.0 designed for heavy massive concurrent read/write?
>
> b) would the DataTable.Select() really selects faster than the SQL Select
> against the database?? i have half a million business records in a table,
> let's say to match a business name? i heard in 2.0, the indexing engine is
> improved? does it also benefits the datatable.select method?
>
> c) i know i need to handle synchonizing the data between the different
> servers holding the dataset, and the sql database itself, is there anything
> in ado.net 2.0 and sql 2005 that would help, or is there anything i should
> pay more attention to? i guess the query notification and ado.net row change
> events would help?
>
> d) this is a big problem. the dataset would be loading half a million
> business data, which is a few hundreds MB big. and the dataset is going to
> be hosted in an asp.net web application/service. that means any file change
> in the appl, would cause a recompile/restart, and the dataset needs to be
> loaded again, is there a way to avoid that??
.



Relevant Pages

  • Re: Poly Couples
    ... business software" example mentioned in this thread. ... But the communication mechanism with the database remains the same. ... That doesn't mean that other languages (such as sql, ... vendor, and the structure is different than the one you use originally. ...
    (comp.object)
  • translate xml into select statement
    ... with their Orders in a SQL Server database and also some information ... about Customers and their Orders in a separate Oracle database (legacy ... The current proposal is for a standard XML Format that indicates the ... Business Entities, the joins of the Business Entities and the filters. ...
    (microsoft.public.sqlserver.xml)
  • Re: Not specific access question, need help please
    ... DB2, SQL Server, MySQL). ... The database needs to store the data securely, ... Your focus needs to be on business process analysis. ... > SQL or Visual Fox Pro say that once a core module is built e.g. ...
    (microsoft.public.access.modulesdaovba)
  • Re: Why is no one USING the product for small business?
    ... We have a small/medium business and we use Access for almost everything. ... Recently our order entry databases were converted to SQL, ... Converted to a SQL back-end and it went away. ... You can upsize to a SQL database later if you need to. ...
    (microsoft.public.access.gettingstarted)
  • Re: dbdebunk Quote of Week comment
    ... > a lot of really bad SQL programmers. ... But SQL does not have a pointer data type or the ... > being told to design a database. ... But why is little Cindy Lou Who employee ...
    (comp.databases.theory)