News for hackers. Stuff that matters.
Re:PostgREST: Providing HTML Content Using Htmx by turtlebits on Monday December 18, 2023 @05:42PM (#38689449)
You still need to run PostgREST, so still 3 servers. (web/app/db)
Re:PostgREST: Providing HTML Content Using Htmx by danielheath on Monday December 18, 2023 @06:59PM (#38690068)
I can't imagine I'd put the database on a separate host from postgREST - the overheads are so low as to not meaningfully exist.

I _might_ introduce a load balancer to support migrating between servers with only 1-2 seconds downtime, but probably only for the duration of the move.

Re:PostgREST: Providing HTML Content Using Htmx by colecut on Monday December 18, 2023 @05:59PM (#38689606)
Isn't this example just web + db ?
Re:PostgREST: Providing HTML Content Using Htmx by lgas on Monday December 18, 2023 @07:02PM (#38690092)
PostgREST is an app that turns the db into an API. This takes the place of a traditional app server, but it's still an app server.
Re:PostgREST: Providing HTML Content Using Htmx by colecut on Monday December 18, 2023 @09:42PM (#38691153)
Thanks for the clarification