Type: New Feature
Status: Selected for Development
Affects Version/s: 3.0.1
Fix Version/s: backlog
note: mongodb 4.0 is going to introduce Multi-document Transactions (see https://docs.mongodb.com/manual/upcoming/). This will make request serialization useless since its goal is best addressed via transactions.
- mongodb does not handle transactions that spans multiple operations
- restheart performs few (>1) write operations for a single write request such as a PUT
in order to avoid ghost writes that might happen when concurrent write request are received we want to add the ?s query parameter (s=serialize). this qparam will serialize the concurrent requests thus avoiding this issue.
being serialized and not performed concurrently, the write operations will take more to complete, i.e. decreased performances.