RailsConf 2024 - Look Ma, No Background Jobs: A Peek into the Async Future by Manu J

Explore the async future with Manu J at RailsConf 2024, exploring techniques like Contextual Page Caching, Server-Sent Events, WebSockets, and more to improve application performance and handle tasks asynchronously.

Key takeaways
  • Contextual Page Caching is a technique to boost application performance by serving page data that doesn’t change frequently.
  • Server-Sent Events (SSE) and WebSockets are used for long-lived, bidirectional communication between servers and browsers.
  • Firestore’s Realtime Database is a NoSQL database that provides real-time data synchronization.
  • Cloud Functions can be used to integrate with other cloud services and handle various integrations.
  • Cloud Tasks API can be used to dispatch tasks and fire-and-forget them.
  • Message Queueing is a non-blocking way to handle tasks asynchronously.
  • ActivityPub is a decentralized social networking protocol that allows users to follow and share content.
  • ActionCable is a library that provides real-time features to Ruby applications.
  • Frameworks like Rails and React can be used to handle side effects and concurrency.
  • Async/await syntax helps to write asynchronous code that looks like synchronous code.