Replies: 1 comment 4 replies
-
Hey Ben, Running Thin itself on the edge would work. The tricky part is the postgres. It's not easily possible to run postgres on the edge. In the future we plan to have read replicas of the postgres db in multi regions. That way read latency to Thin is very low from everywhere. Write operations always need to go to the postgres master DB, so that has a bit of higher latency. But because of the optimistic UI updates for write operations, this latency is not visible at all. There's a good chance for support Twitch auth 👍 Maybe you can open an issue for this so other people can +1 the issue if they're also interested in twitch login. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
This project looks super interesting and I'm curious how it could work in a slightly different implementation.
Currently I'm enjoying using Prisma + TRPC + Next.js to build full-stack apps with end-to-end type safety. The downside is that Prisma can't run on the edge. I'm curious if it's possible to make queries using the Thin client on an edge server? If so combined with TRPC you'd have end-to-end type safety with edge functions, realtime on the client, and integrated auth. Basically my three main concerns when building apps.
Also what are the chances your auth implementation will support Twitch in the near (6 month) future?
Cheers,
Ben
Beta Was this translation helpful? Give feedback.
All reactions