Replies: 2 comments
-
|
Hi. I am deploying nexus on DO droplet. This is my To recreate application data model from database I am using: To deploy My and |
Beta Was this translation helpful? Give feedback.
-
|
Het lijkt erop dat je hier op de juiste plek bent om implementatiestrategieën voor een Nexus@Next-app te onderzoeken. Het klopt dat de implementatie van Next.js-apps kan variëren, afhankelijk van je aanpak – of je nu kiest voor serverless of serverful. Bij serverless implementaties (zoals Lambda, Vercel of Cloud Functions) is het belangrijkste voordeel schaalbaarheid en kosteneffectiviteit. Je betaalt op basis van gebruik, wat betekent dat je alleen betaalt voor de rekentijd die je app daadwerkelijk gebruikt. Een nadeel is de latency bij een koude start, vooral voor API's of SSR, waar een vertraging bij het eerste verzoek merkbaar kan zijn. Sessies kunnen ook lastiger zijn, omdat serverless omgevingen vaak externe opslag nodig hebben voor het behoud van de status. De keuze hangt vaak af van de behoeften van je app: als je gedetailleerde controle nodig hebt, kies dan voor serverful. Voor eenvoud en schaalbaarheid is serverless de beste optie, maar houd rekening met opstartproblemen en state management. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hey there!
I've been looking around for some documentation or guides on how to go about deploying a nexus@next app to production. It might be that I'm simply not adding two and two together and that there's a straight forward way that I'm not seeing.
With the deployment documentation still on the todo and the assumption that I might not be the only one looking for this - I thought we might stitch together some common principles in this discussion. This could work as a temp solution and hopefully ease the urgency for the deployment documentation and free up some time for more pressing issues.
The format
When you don't know what you don't know - all you need is a direction. No need for original in-depth content if someone has already covered this.
Topics
Beta Was this translation helpful? Give feedback.
All reactions