Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
Line: 33 to 33 | ||||||||
Transactions are applied to the database one at a time (see PrevaylerImpl.subscriber().receive() ). | ||||||||
Added: | ||||||||
> > | Mischttp://java.sun.com/developer/technicalArticles/ALT/serialization/ - since Prevayler rests on Java serialization it's a good idea to learn as much as you can about it. |
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
Changed: | ||||||||
< < | Prevayler is controvertial because of their hype-filled site, and their claims about how much faster they are than a relational database. In the end, it turns out that prevayler is designed for working with small datasets that can fit in memory. It's not as scalable as a relational database, nor is it as "open" since people can't hook up to it and send arbitrary SQL commands. It's nice solution for cases where an RDBMS is overkill for working with a small data set. | |||||||
> > | Prevayler is controversial because of their hype-filled site, and their claims about how much faster they are than a relational database. In the end, it turns out that prevayler is designed for working with small datasets that can fit in memory. It's not as scalable as a relational database, nor is it as "open" since people can't hook up to it and send arbitrary SQL commands. It's nice solution for cases where an RDBMS is overkill for working with a small data set. | |||||||
Prevayler's javadoc blows. Why don't open source hackers document their code? | ||||||||
Line: 10 to 10 | ||||||||
Prevayler (see PrevaylerImpl constructor) first tries to recover the dataset from a snapshot (see the snapshot manager) and then recovers transactions from the journal. It does this by adding itself (an inner class) as a subscriber to the publisher. The publisher calls the journal which reads and replays any transactions that are in the journal since the checkpoint. | ||||||||
Added: | ||||||||
> > | TransactionSingle-node case
| |||||||
Snapshots |
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
Line: 19 to 19 | ||||||||
Lots of them. | ||||||||
Changed: | ||||||||
< < | The process of "subscribing" a TransactionListener brings it up to date with the transaction journal. During that time transactions are blocked and vice versa (see CentralPublisher.publish()). | |||||||
> > | The process of "subscribing" a TransactionListener brings it up to date with the transaction journal. During that time transactions are blocked and vice versa (see CentralPublisher.publish() ). | |||||||
Changed: | ||||||||
< < | Transactions are applied to the database one at a time (see PrevaylerImpl.subscriber().receive()). | |||||||
> > | Transactions are applied to the database one at a time (see PrevaylerImpl.subscriber().receive() ). | |||||||
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
Added: | ||||||||
> > | Prevayler is controvertial because of their hype-filled site, and their claims about how much faster they are than a relational database. In the end, it turns out that prevayler is designed for working with small datasets that can fit in memory. It's not as scalable as a relational database, nor is it as "open" since people can't hook up to it and send arbitrary SQL commands. It's nice solution for cases where an RDBMS is overkill for working with a small data set. | |||||||
Added: | ||||||||
> > | Prevayler's javadoc blows. Why don't open source hackers document their code?
StartupPrevayler (see PrevaylerImpl constructor) first tries to recover the dataset from a snapshot (see the snapshot manager) and then recovers transactions from the journal. It does this by adding itself (an inner class) as a subscriber to the publisher. The publisher calls the journal which reads and replays any transactions that are in the journal since the checkpoint.SnapshotsYou need to manually tell prevayler to snapshot itself by callingPrevayler.takeSnapshot() .
Critical RegionsLots of them. The process of "subscribing" a TransactionListener brings it up to date with the transaction journal. During that time transactions are blocked and vice versa (see CentralPublisher.publish()). Transactions are applied to the database one at a time (see PrevaylerImpl.subscriber().receive()). | |||||||
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
Added: | ||||||||
> > |
|