~ubuntu-branches/ubuntu/maverick/evolution-data-server/maverick-proposed

« back to all changes in this revision

Viewing changes to libdb/docs/ref/arch/progmodel.html

  • Committer: Bazaar Package Importer
  • Author(s): Didier Roche
  • Date: 2010-05-17 17:02:06 UTC
  • mfrom: (1.1.79 upstream) (1.6.12 experimental)
  • Revision ID: james.westby@ubuntu.com-20100517170206-4ufr52vwrhh26yh0
Tags: 2.30.1-1ubuntu1
* Merge from debian experimental. Remaining change:
  (LP: #42199, #229669, #173703, #360344, #508494)
  + debian/control:
    - add Vcs-Bzr tag
    - don't use libgnome
    - Use Breaks instead of Conflicts against evolution 2.25 and earlier.
  + debian/evolution-data-server.install,
    debian/patches/45_libcamel_providers_version.patch:
    - use the upstream versioning, not a Debian-specific one 
  + debian/libedata-book1.2-dev.install, debian/libebackend-1.2-dev.install,
    debian/libcamel1.2-dev.install, debian/libedataserverui1.2-dev.install:
    - install html documentation
  + debian/rules:
    - don't build documentation it's shipped with the tarball

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<!--$Id$-->
2
 
<!--Copyright 1997-2002 by Sleepycat Software, Inc.-->
3
 
<!--All rights reserved.-->
4
 
<!--See the file LICENSE for redistribution information.-->
5
 
<html>
6
 
<head>
7
 
<title>Berkeley DB Reference Guide: Programming model</title>
8
 
<meta name="description" content="Berkeley DB: An embedded database programmatic toolkit.">
9
 
<meta name="keywords" content="embedded,database,programmatic,toolkit,b+tree,btree,hash,hashing,transaction,transactions,locking,logging,access method,access methods,java,C,C++">
10
 
</head>
11
 
<body bgcolor=white>
12
 
<table width="100%"><tr valign=top>
13
 
<td><h3><dl><dt>Berkeley DB Reference Guide:<dd>Architecture</dl></h3></td>
14
 
<td align=right><a href="../../ref/arch/bigpic.html"><img src="../../images/prev.gif" alt="Prev"></a><a href="../../reftoc.html"><img src="../../images/ref.gif" alt="Ref"></a><a href="../../ref/arch/apis.html"><img src="../../images/next.gif" alt="Next"></a>
15
 
</td></tr></table>
16
 
<p>
17
 
<h1 align=center>Programming model</h1>
18
 
<p>Berkeley DB is a database library, in which the library is linked into the
19
 
address space of the application using it.  The code using Berkeley DB may be
20
 
a standalone application or it may be a server providing functionality
21
 
to many clients via inter-process or remote-process communication
22
 
(IPC/RPC).
23
 
<p>In the standalone application model, one or more applications link the
24
 
Berkeley DB library directly into their address spaces.  There may be many
25
 
threads of control in this model because Berkeley DB supports locking for both
26
 
multiple processes and for multiple threads within a process.  This
27
 
model provides significantly faster access to the database
28
 
functionality, but implies trust among all threads of control sharing
29
 
the database environment because they will have the ability to read,
30
 
write and potentially corrupt each other's data.
31
 
<p>In the client-server model, developers write a database server
32
 
application that accepts requests via some form of IPC/RPC, and issues
33
 
calls to the Berkeley DB interfaces based on those requests.  In this model,
34
 
the database server is the only application linking the Berkeley DB library
35
 
into its address space.  The client-server model trades performance for
36
 
protection because it does not require that the applications share a
37
 
protection domain with the server, but IPC/RPC is slower than a function
38
 
call.  Of course, this model also greatly simplifies the creation of
39
 
network client-server applications.
40
 
<table width="100%"><tr><td><br></td><td align=right><a href="../../ref/arch/bigpic.html"><img src="../../images/prev.gif" alt="Prev"></a><a href="../../reftoc.html"><img src="../../images/ref.gif" alt="Ref"></a><a href="../../ref/arch/apis.html"><img src="../../images/next.gif" alt="Next"></a>
41
 
</td></tr></table>
42
 
<p><font size=1><a href="http://www.sleepycat.com">Copyright Sleepycat Software</a></font>
43
 
</body>
44
 
</html>