This is a variation of replication strategy where the regular commits are for the current node and the code can trigger replication at a logical point.
这是复制策略的一种变化,其中常规提交是针对当前节点的,而这个节点可以逻辑点触发复制。
The time (microseconds) to perform the transaction for a single node were 1877 with regular locking, 1225 with an explicit write lock, and 181 using a "dirty interface".
完成一个事务的时间(以毫秒计)在单节点上是:常规锁——1877,显式写入锁——1225,而使用“脏接口”的话是181。
If all you need to do with an XML file is grab some text from within a single node, it might be possible to use a simple regular expression that will probably operate faster than any XML parser.
如果对XML文件所做的全部操作只是从单个节点获取一些文本,可以使用一个简单的正则表达式,其处理速度可能会比任何xml解析器都快。
应用推荐