4 ms·
> I took the CouchDB architecture and reimplemented it with a PostgreSQL back-end can you provide more details on this? is there a public repo?
by lazyant 13y ago
> I took the CouchDB architecture and reimplemented it with a PostgreSQL back-end
can you provide more details on this? is there a public repo?
- Arkadir 13y agoYou can check it here: https://github.com/RunOrg/RunOrg/tree/master/server/cqrsLib https://github.com/RunOrg/RunOrg/tree/master/server/cqrsLib I'm sorry for the state of the official site, there will be one soon. A `Stream` corresponds to change events (I'm not sure these even had an official name in CouchDB). A `Projection` corresponds to a design document. The various `View` implementations are optimized for various aspects of CouchDB views, with `MapView` being the literal equivalent of a CouchDB view. Except they can be chained (you can apply a map to a map). Unlike CouchDB, views are evaluated eagerly, though the `HardStuffCache` (and other planned `Cache` implementations) are evaluated lazily on a per-document basis.