Section 3:Data Persistence
Data persistence is essential for modern day web applications as the demand on web applications is increasing. Luckily Rust has tools that can enable data persistence on PostgreSQL and other databases. With these tools combined with JSON Web Tokens, we can manage the user sessions on our Rust application.
However, this is not the end of data persistence. Due to the increasing demand on web applications, we also have to optimize the persistence, reading, and writing of our data. This is where RESTful service concepts come in handy. Implementing these concepts will have us caching data in our frontend with JavaScript to prevent excessive strain on our Rust application and improve the user's experience. Logging processes ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access