Skip to content

The demo of my talk "Real-time Product Analytics with LiveView" at ElixirConfEU 2023 in Lisbon 🇵🇹

Notifications You must be signed in to change notification settings

basilenouvellet/surf_marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Surf Marketplace

surf marketplace screenshot admin analytics surf marketplace screenshot home page

Presentation

This is a fake marketplace for buying & selling used surfboards. It is basic and kind of empty.

The interesting part is the /admin/analytics page, with an admin dashboard listing all the connected users (liveview processes):

  • process PID
  • RAM usage of the process (updated in real-time)
  • liveview assigns (updated in real-time)
  • ability to kill a process
  • ability to send a message to the user through flash messages & message passing

Talk

This is the demo of my talk Real-time Product Analytics with LiveView at ElixirConfEU 2023 in Lisbon 🇵🇹

talk

Slides are available here

Disclaimer

This is an experimental project to explore the idea that, with LiveView, a user is a process.

It is not production ready, performance optimizations have not been considered yet (e.g. currently we poll the processes twice a second).

Contributing

Feel free to open a PR if you think about something to improve.

Setup

  • install dependencies with mix setup
  • start app with iex -S mix phx.server
  • visit localhost:4000

About

The demo of my talk "Real-time Product Analytics with LiveView" at ElixirConfEU 2023 in Lisbon 🇵🇹

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published