https://www.prisma.io/ logo
Join Slack
Powered by
# prisma-whats-new
  • s

    sorenbs

    06/21/2017, 6:54 PM
    Hey <!everyone>! I’m super excited to announce two new features we have been working on: more regions and significantly improved API performance. Read more about how to start using the new regions, the infrastructure powering Graphcool and how we reduced average response times by 80 ms: https://www.graph.cool/docs/blog/introducing-regions-and-better-performance-she7yaab6l/
    πŸ’ͺ 6
    ⚑ 6
    πŸ™ 6
    ✨ 6
    πŸŽ‰ 5
    πŸ‘ 44
    graphcool 11
    🦜 2
    πŸ’― 15
    🎊 7
    πŸ‘¨β€πŸ‘©β€πŸ‘§β€πŸ‘¦ 5
    octocat 5
  • g

    gabe

    06/21/2017, 6:56 PM
    πŸŽ‰
    πŸŽ‰ 1
  • c

    changalberto

    06/21/2017, 6:56 PM
    @sorenbs Also hoping this is making good progress https://github.com/graphcool/feature-requests/issues/39
    πŸ‘πŸ½ 2
    πŸ‘ 1
    n
    m
    • 3
    • 2
  • c

    changalberto

    06/21/2017, 6:57 PM
    Do we have a timeline for this?
  • l

    lastmjs

    06/21/2017, 6:57 PM
    Is there a way to migrate existing projectS?
  • l

    lastmjs

    06/21/2017, 6:57 PM
    To a new region?
    πŸ‘ 3
  • p

    pbassut

    06/21/2017, 6:58 PM
    @sorenbs Can we change regions of projects that are already created?
  • s

    sorenbs

    06/21/2017, 7:01 PM
    That’s a great question! Currently it is not possible to migrate an existing project including data. You can however use the CLI to export the schema for your project and then create a new project in a new region based on your existing schema.
  • s

    sorenbs

    06/21/2017, 7:01 PM
    You would then have to write a script to migrate all your data as well. Depending on the size of your project this might or might not be feasible.
    πŸ‘Œ 1
  • m

    mentallyretired

    06/21/2017, 7:08 PM
    and for reference, I just migrated about 60,000 records to graph.cool and the import took around 4.5 hours with no throttling (about 200ms processing time on my side between records)
  • m

    mentallyretired

    06/21/2017, 7:08 PM
    but thats all network and processing on my side, doesnt speak at all to GC's performance
  • a

    agartha

    06/21/2017, 7:16 PM
    With preliminary tests of an optimized import script, I can do about 10.000 plain objects (no relations) in a little under 10 seconds πŸ˜„
    ⚑ 1
  • m

    mentallyretired

    06/21/2017, 7:17 PM
    showoff πŸ˜‰
  • a

    agartha

    06/21/2017, 7:17 PM
    You started πŸ˜„
  • m

    mentallyretired

    06/21/2017, 7:17 PM
    nah mine is with relationships from a flatfile db
    a
    d
    • 3
    • 6
  • m

    mentallyretired

    06/21/2017, 7:18 PM
    haha
  • j

    joar

    06/21/2017, 7:24 PM
    Does anyone have a best practice for maintaining multiple environments? I will need ~10 envs with different auth0 credentials and webhook endpoints, but identical schema and perm queries. Is it possible?
    n
    • 2
    • 2
  • s

    sebastien

    06/21/2017, 7:40 PM
    Quick question about the new regions capabilities. Any way to move an existing project to a different region? Say a project that’s not in production yet. Would cloning the project be the way to go there?
    a
    a
    n
    • 4
    • 10
  • l

    lancej

    06/21/2017, 8:55 PM
    I don't see the other regions when creating a new project:
  • l

    lancej

    06/21/2017, 8:56 PM
    Could this be caching?
    t
    • 2
    • 2
  • u

    user

    06/21/2017, 8:56 PM
    @tim2 commented on @lancej’s file

    https://prisma.slack.com/files/U5Q1YFDDF/F5XKB3SBX/image.pngβ–Ύ

    : @lancej please hard reload your browser (cmd+shift+r)
  • l

    lancej

    06/21/2017, 8:57 PM
    @tim2 Thanks.... that did it
  • h

    huv1k

    06/21/2017, 8:58 PM
    btw @tim2 you have roots in czech republic? πŸ˜„
    t
    a
    n
    • 4
    • 6
  • l

    lancej

    06/21/2017, 8:59 PM
    I guess I will be switching regions? This is from New Zealand
  • l

    lancej

    06/21/2017, 8:59 PM
    Any considerations for adding AWS Sydney at some stage πŸ™‚
  • u

    user

    06/21/2017, 9:12 PM
    @agartha commented on @lancej’s file

    https://prisma.slack.com/files/U5Q1YFDDF/F5XKB3SBX/image.pngβ–Ύ

    : graphcool please include correct caching headers on these pages, thank you! πŸ˜„
    Copy code
    Cache-Control: no-store, must-revalidate
    Expires: 0
  • k

    kikohs

    06/21/2017, 9:17 PM
    hi all.
  • k

    kikohs

    06/21/2017, 9:18 PM
    I am considering graph.cool for a new project but I have some questions as I am not very familiar with Baas
  • a

    ajmakhl

    06/21/2017, 9:19 PM
    is something like this possible ?
    Copy code
    query {
      user {
        userBanner
                           // filter by userBanner is what is being queried
                           // userBanner contains the id
       	userBanners(filter: {id: userBanner}) {
        	width
        	height
      	} 
    	}
    }
  • k

    kikohs

    06/21/2017, 9:25 PM
    does using graph.cool replace the need to use something like express.js? Only the frontend matters, as it provides authentication schemes and so on?
    βœ… 2
1...238239240...637Latest