https://www.prisma.io/ logo
Join SlackCommunities
Powered by
# orm-help
  • c

    CCBCodeMonkey

    02/21/2019, 8:20 PM
    for other stuff, like dealing with users, and private information, I look at authentication, etc when processing the request
  • t

    taikn

    02/21/2019, 8:21 PM
    Does digital ocean offer something comparable to aws lambda?
  • c

    CCBCodeMonkey

    02/21/2019, 8:21 PM
    since there is no auth in prisma, all the auth is in the apollo-server level(I use auth0)
  • c

    CCBCodeMonkey

    02/21/2019, 8:21 PM
    @taikn I don't think DO has a serverless provider
    t
    • 2
    • 1
  • c

    CCBCodeMonkey

    02/21/2019, 8:22 PM
    DO is pretty much, dead simple instances(though they have been adding more to it)
  • c

    CCBCodeMonkey

    02/21/2019, 8:22 PM
    but they are a lot cheaper
  • c

    CCBCodeMonkey

    02/21/2019, 8:22 PM
    there is definitely not a "this is the best"
  • c

    CCBCodeMonkey

    02/21/2019, 8:22 PM
    I have had a lot of issues with lambda on my own projects for actually hosting on demand things
  • c

    CCBCodeMonkey

    02/21/2019, 8:22 PM
    I think its been great for background jobs
  • c

    CCBCodeMonkey

    02/21/2019, 8:23 PM
    but I always run into issues with "warming it up"
  • c

    CCBCodeMonkey

    02/21/2019, 8:23 PM
    when like having a graphql server on it, or rest server or whatever
  • c

    CCBCodeMonkey

    02/21/2019, 8:23 PM
    where initial requests are slow as molasses, or I am keeping it warm and its essentially on anyways,
  • c

    CCBCodeMonkey

    02/21/2019, 8:23 PM
    but I am not an expert in any way, just my experience
  • c

    CCBCodeMonkey

    02/21/2019, 8:23 PM
    for processing jobs it is an amazing tool
  • p

    protzman

    02/21/2019, 8:24 PM
    yeah afaik at re-invent:2018 amazon said they were working on the whole warmup thing
  • p

    protzman

    02/21/2019, 8:24 PM
    but - amazon
  • c

    CCBCodeMonkey

    02/21/2019, 8:24 PM
    yea, they have been saying that for a while
  • c

    CCBCodeMonkey

    02/21/2019, 8:24 PM
    several times ive gone back to it because I have heard its fixed, or way better
  • c

    CCBCodeMonkey

    02/21/2019, 8:24 PM
    and I kind of get the same issues
  • c

    CCBCodeMonkey

    02/21/2019, 8:25 PM
    it seems like it would be inherit, if the instance isn't running its gonna take time to kick start it up and handle the request, im sure it will get faster and faster
  • c

    CCBCodeMonkey

    02/21/2019, 8:25 PM
    but will it be as fast as the same server sitting there waiting for the request already loaded?
  • c

    CCBCodeMonkey

    02/21/2019, 8:25 PM
    I dunno
  • c

    CCBCodeMonkey

    02/21/2019, 8:26 PM
    however it has other great benefits like being able to infinitely scale as demand comes in, not something I have needed since I am a small potato
  • p

    protzman

    02/21/2019, 8:26 PM
    yeah no idk haha. you seem much smarter which is why im the one asking the questions 😂
  • p

    protzman

    02/21/2019, 8:26 PM
    appreciate the time / responses tho!!
  • c

    CCBCodeMonkey

    02/21/2019, 8:27 PM
    no prob, I am a frontend guy so my in depth knowledge of large backend apps and scaling and stuff, take it for a grain of salt
  • p

    protzman

    02/21/2019, 8:27 PM
    but anyways - go prisma 🤟
  • p

    protzman

    02/21/2019, 8:27 PM
    yeah same lol
  • c

    CCBCodeMonkey

    02/21/2019, 8:27 PM
    yea, one thing about prisma and apollo server
  • c

    CCBCodeMonkey

    02/21/2019, 8:27 PM
    is I could at least switch prisma out if I ever need to
1...219220221...637Latest