menu

ZEIT

Our mission is to make cloud computing as easy and accessible as mobile computing. You can find our Next.js community here.

Channels
Team

clarify future support of docker on now platform

November 8, 2018 at 6:21pm
The ZEIT community has a new home. This thread is preserved for historical purposes. The content of this conversation may be innaccurrate or out of date. Go to new community home →

clarify future support of docker on now platform

November 8, 2018 at 6:21pm
It seems zeit is moving away from allowing customers to utilize Docker as a common 'primitive'; would you kindly clarify this?
Show previous messages

November 9, 2018 at 8:01pm
new subscriptions will also work with version: 1 in now.json until full compatibility is achieved.
  • reply
  • like
that's not possible currently, but you could use the path alias feature!
  • reply
  • like
(Notice that the new model also dramatically simplifies the gateway aspect of things)
like-fill
1
  • reply
  • like
I have a majestic monothlic under graphql endpoint for both http and subscription to render a NextJS application. It'll be deployed under version 1. My plan is to moving all mutation to lambdas under v2. What the now.json should be in this case ?
like-fill
2
  • reply
  • like
Yes, I absolutely love the ability to use the filesystem itself instead of path aliases. Hosting all endpoints in a single source tree is killer DX
like-fill
1
  • reply
  • like
Do you have plans to support things like redis or rabbitmq for websocket subscriptions?
like-fill
2
  • reply
  • like
that's a very great way to do an incremental migration. Good decision. What I would do is set up an alias for your new v2 monorepo (e.g.: v2.api.company.com), and then use path alias for your current production app to start progressively migrating paths.
  • reply
  • like
It's not even just the best possible DX. It builds faster. It's more secure, by isolating parts of the application from one another at execution time, but not in the source code organization.
  • reply
  • like
Now you are speaking my language. I think that's the true way to scale realtime communication.
Edited
  • reply
  • like
For example, your stateless endpoints can populate a queue that gets consumed by a client over a websocket connection
  • reply
  • like
So, you don't put all your eggs into one server basket, and you neatly separate responsibilities.
  • reply
  • like
I'm not as concerned as others on this thread, as all my projects will work fine on the new platform. That being said, I literally just migrated earlier this week from 1.0 to the serverless docker "v2" beta :/ I agree that this looks like the future, but why the rush to get rid of serverless docker? It is still an amazing product, that has a massive competitive advantage over any other offering I've seen! Why not two concurrent offerings? Now Lamba & Now Container?
like-fill
3
  • reply
  • like
That what's I was gonna do, but if I can just use now API for this it's neat
  • reply
  • like
I also loved merging the testing and build phase, and having that all triggered by a github push. It seems unclear how CI fits into this new paradigm. Is that something that would have to be triggered by the builder?
  • reply
  • like
thanks a lot for commenting. current discussions aside I think that now is an amazing innovator and pretty much everything you guys released this far is pretty much ground breaking. I would love to hear your thoughts on the issue of vendor lock-in / app portability though - as a lot of the stuff that is coming is quite unique to Zeit / now. do You think certain elements of zeits stack could become a standard outside of now?
like-fill
1
  • reply
  • like
So I guess I'll just develop on Now 1.0 and wait & see if Now 2.0 will work.
like-fill
2
  • reply
  • like
the "rush" is in the interest of truth-seeking. We, and I, learned a tremendous lot from that beta. I learned what works and what doesn't. I truly think this new world shouldn't wait and our customers will benefit immensely from it.
I think these systems are all in competition to one another to a very large extent, and I think this is the winner.
like-fill
1
  • reply
  • like
I think all the systems that are embracing the stateful monolithic servers will collapse under their own weight. I think this is also true for the "service mesh" clusters, but those will collapse under both weight and accidental complexity.
  • reply
  • like
So, if you really think that's the future, I'm ok with some customers going in that direction. I think they'll pay a steep price.
  • reply
  • like
That price is not only in the execution cost (paying cents for 100ms of execution vs a monolith running 24x7), but the most concerning part is how much you'll pay for engineering and optimization costs.
like-fill
2
  • reply
  • like
on the app portability side of things, the commitment there is more strong than ever before:
  • reply
  • like
- All of your code should use the language / framework APIs, not custom APIs. [This is what I truly think has been holding serverless back! Lots of weird APIs, context objects and API gateway interfaces 🤨]
Edited
like-fill
2
  • reply
  • like
- All the clients and builder code is MIT licensed and open source, and you can write your own.
like-fill
1
  • reply
  • like
The biggest testament to this is that Next.js continues to work the same way it always has, but then we built a little /next builder to make it compile to serverless easily.
Edited
like-fill
2
  • reply
  • like
But is a custom now json with build and routing that is specific to now but also essential to the workings of the app not by definition lock into now. i am not saying that’s not fair, lots of cloud provider features are proprietary but still offer lots of value. I just try to truly see where now is headed in this regard
like-fill
3
  • reply
  • like
Show more messages
private
This conversation has been locked
private
This channel has been archived