A common mistake is not tuning the init and shutdown ordering of your connection pools versus the transaction kernel - so please make sure you avoid this pitfall:
Your REST service is invoked and left pending. How can you rollback?
So you want elastic scaling. What about transaction recovery?