3 ms·
You can use Fresh DB Cache for queries only and then it matches with CQRS pattern providing great performance and scallability (only small constant load is gene
by kmetkojan 12y ago
You can use Fresh DB Cache for queries only and then it matches with CQRS pattern providing great performance and scallability (only small constant load is generated by each web server).
But you may also use it for command model as well by caching codebooks and configuration data to improve performance (response time). In more complicated systems you often have to validate tons of business rules to make update and only small part of update has to be done really in database transaction. If you don't like torturing your database by running same codebook queries again and again Fresh DB Cache helps there as well.