August 01, 2023 Developer Experience Redefined: Prisma & Cloudflare Lead the Way to Data DX Prisma and Cloudflare join forces to introduce Data Developer Experience (Data DX), revolutionizing data-driven applications. The partnership offers innovative tools and cloud infrastructure, reducing setup time and accelerating time-to-market for users. A new era for building data-driven applications Deliv
GraphQLサーバをCloudflare Workersに立てることが出来るかの実験を書き留めるメモ モチベーション GraphQLサーバは初手でCloud Runで立てるけど、欲が出てくる デプロイがもうちょい早くならないかな 料金が安ければ安いほど嬉しい(非同期とか使うとAlways CPU使うので料金もそこそこ) Cloud Runと同じくサーバレスで運用楽ちんでお願いしたい(勝手にスケールしてて) コールドスタンバイからの起動が早いに越したことはない Runtime 上記の要望を叶えるにはほぼ選択肢はなくて、Cloudflare Workersを使う。 Webサーバ Cloudflare Workersということで選択肢が限られるので初手 hono と言いたいが、GraphQLとなると…なんで、Cloudflare Workersで動くGraphQLサーバの有力候補である gra
概要 PrismaDataProxyが遅いので、セルフホストするためのライブラリを自作して解決しました、というお話です。 本記事で作成・紹介したライブラリはOSSとして公開&npmにpublishしていますので自由にお使いください。 PrismaDataProxy とは Prisma.ioが提供する、データベース接続管理とプーリングのためのプロキシサーバです。 https://www.prisma.io/data-platform より With the Proxy Without the Proxy Cloudflare WorkersやVecel Edge Functionなどは、データベースとのネイティブ(TCP)接続ができません。 そこでPrismaDataProxyデータベースとの接続の間に入り、WorkerからはHTTP接続でデータベースとの仮想接続を実現します。 以降、長いの
Prisma Client extensions (in Preview) enable many new use cases. This article will explore various ways you can use extensions to add custom functionality to Prisma Client. Table Of Contents Introduction Using Prisma Client extensions The components of an extension Sharing an extension Sample use cases Example: Computed fields Example: Transformed fields Example: Obfuscated fields Example: Instanc
December 01, 2022 How TypeScript 4.9 `satisfies` Your Prisma Workflows TypeScript's new satisfies operator allows some new, type-safe patterns that previously required lengthy type annotations or tricky workarounds. This article covers several use cases where it helps you with common Prisma-related workflows. Table Of Contents A little background Constrained identity functions Introducing satisfie
NestJS x GraphQL x Prismaでページネーションを実装しようとしたところ、まだデファクトっぽい方法がなさそうで色々苦労したので対応内容をまとめてみました。 はじめに すでにnestjs/graphql x Prismaの環境が整っているうえで「細かいことはいいからページネーションをさくっと実装したい」という方向けの記事になっています。 そのため、記事中に記載するコードは必要最小限に留めています。 環境 @nestjs/graphql: 10.0.8 @prisma/client: 3.11.1 @devoxa/prisma-relay-cursor-connection: 2.2.2 実装方針 こちらの考えを参考にさせていただきながら、 こちらのライブラリを利用して実装しています。 実装内容(抜粋) 1. 利用するライブラリをインストール 2. @nestjs/grap
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く