Permalink
Browse files

added some info on storages

  • Loading branch information...
1 parent 22034e6 commit 8ba0088913bb3765b37f487bc99322164a94f23d Oleg Andreev committed Jun 14, 2008
Showing with 71,182 additions and 0 deletions.
  1. +35 −0 meta/papers/overview/storages.txt
  2. +71,147 −0 meta/papers/search-prof.html
@@ -0,0 +1,35 @@
+
+STORAGES OVERVIEW
+
+StrokeDB stores 2 kinds of things:
+
+1) Documents with all their versions.
+2) Views' index files.
+
+Documents are stored in the "document storages",
+view indexes are stored in (sic!) the "view storages".
+
+Document storage does two simple things:
+1) Gives a document for a given UUID (or UUID.VERSION)
+2) Stores a document with a given UUID.VERSION
+Also it allows you to iterate over all the documents,
+but this is done inside a View reindexing.
+
+View indexes are stored as ordered lists of key-value tuples.
+Value is a document UUID (or UUID.VERSION), key is an arbitrary
+structure relevant to the particular View.
+
+Views answer search queries and update the index with a #update method.
+
+
+DOCUMENT STORAGE
+
+
+
+
+
+The only "write" operation exposed by API is a Document#save! method.
+
+
+
+
Oops, something went wrong. Retry.

0 comments on commit 8ba0088

Please sign in to comment.