by Paul Baumann
IntercontinentalExchange, Inc.
2011.03.15
Just because...
http://www.cincomsmalltalk.com/CincomSmalltalkWiki/PostgreSQL+Access+Page
http://techsupport.gemstone.com/forums
http://www.visualworksforums.org/index.php?topic=35.0
- OR -
http://techsupport.gemstone.com/forums/37605-gss-tips-tricks
- OR -
• Load PlbCollectionViews.
CollectionViews.BcvCollectionView class
>>setupInstructions_classConnectors
Collection>>view:
aCollection view: #([attributeAlias @] attributeGetter ...)
chunkSize declares how many rows are replicated in each client traversal. A
chunk size of zero disables chunking.
1.A view that is created will pause after the first chunk of
rows is processed. A suspended GS process waits to
resume chunk gathering.
2.First chunk is replicated to client along with view.
3.Client automatically forks a process that asks GS to
resume chunk gathering.
4.Client is able to use the first chunk while GS operates in
parallel to gather remaining chunks.
5.When client asks for a row that is not replicated (or
cached) then it asks GS for the chunk for that row.
Client Client Server/Gem Server/Gem
Window Gathering Gathering Default
Process Process Process Process
Request
Gather chunk Create View
then wait
Fork Process
Fork Process
Show View
Needs Chunk
different Gathered?
chunk Gather specific
chunk then wait
Activate
Use active chunk
chunk
Chunking – Replication Efficiency