by ksec · 6y ago · 0 comments
Otherwise I really like the idea of LiveView / LiveWire / StimulusReflex, cant wait to see it mainstream.
Isn't the issues pretty much the same for normal single page apps as well? Most single page apps require data loads for many actions causing maybe not interface latency, but rather data load latency.
Then just share the database connection between these elixir servers.
The latency between the edge servers and the database server will give you bad UX with current "mount/3 gets called twice" strategy. Going from edge to db twice is really bad in my experience. Now you would think about adding read-only postgresql nodes on at least 3 nodes (US, EU, and Asia), $$$$.