If we rewrite our backend for better performance, what will we use?
9
600
แน394resolved Oct 6
ResolvedN/A
1D
1W
1M
ALL
1.2%
Firestore
2%
Vercel Serverless Functions
1.1%
Supabase Database
0.7%
Supabase Edge Functions
0.7%
Firebase Cloud Functions
1.4%
Planetscale
48%
Prisma
25%
Postgresql
0.8%
Remix https://remix.run/
0.3%
Astro https://astro.build/
4%
GraphQL / Apollo server
1.8%
Nest.js
0.3%
Blitz
0.3%
SolidJS https://www.solidjs.com/
0.3%
tRPC
1.2%
Redis
0.0%
Svelte https://svelte.dev/
0.5%
PostGraphile
0.7%
Zapatos https://jawj.github.io/zapatos/
Kind of a continuation of https://manifold.markets/Austin/what-database-will-manifold-be-prim . Conditional on us starting on a more performant (eg 2x speed improvement?) implementation of trading, what will that be built on?
If the condition is met, will resolve to my subjective assessment of how important each piece of the backend is. If I were to resolve it today, I'd put it at 60% Firestore, 30% Firebase Cloud Functions, 10% Vercel Serverless Functions (but happy to hear arguments for other weights)
Some context:
[James]
One thing Marshall and I were discussing last week was that we might want to migrate the trading system first to another DB and then run that side-by-side with firebase before migrating everything else
I still think we would prefer to prioritize getting the mechanisms right for our different market types, e.g. limit orders, numeric, fixed multiple choice and free response markets
But another idea would be to build the new Free Response directly on the other db
[Marshall]
so maybe 1. get limit orders in 2. say that binary markets are basically "done" and start prototyping binary markets on fast DB
[Austin]
incidentally, I would strongly want Backend v2 to support txns out-of-the-box
uh a globally queryable table of every movement of any token (M$, shares, NFTs, etc) between any two parties (users, smart contracts, charities, bank of manifold)
which is the ultimate source-of-truth and then also can be used to reconstruct the full history of Manifold
Jul 1, 2:37pm: Resolves to N/A if we haven't chosen a path forward by market close time
Get แน200 play money
Related questions
Sort by:
answered
GraphQL / Apollo server
@JoyVoid +1 for graphql, I'm very used to it after working at Meta, and not having to create new endpoints for every little thing really speed things up.
answered
tRPC
answered
SolidJS https://www.solidjs.com/
React-like framework with nicer syntax/bindings for truly reactive code. No more useEffect dependencies! Solid : React :: Svelte : Vue.
https://www.youtube.com/watch?v=hw3Bx5vxKl0
Its metaframework (NextJS equivalent) is SolidStart https://docs.solidjs.com/start/getting-started/what-is-solidstart
answered
Blitz
Aims to be Ruby on Rails but for React (convention over configuration); prioritizes developer experience heavily; cuts out both Rest and GraphQL somehow.
Vercel : NextJS :: https://www.flightcontrol.dev/ :: Blitz
answered
Blitz
answered
Remix https://remix.run/
answered
Prisma
@Austin I've found it interfaces awesomely with Postgres. But it's mostly agnostic with respect to how you store data, it's basically another layer of API between backend and the database.
I've already praised the merits of GraphQL for backend API, so most of them also applies here :D ... Having a strong type system really is awesome
answered
Prisma
@JoyVoid This one is pretty interesting to me! Looking through https://www.prisma.io/blog/graphql-vs-firebase-496498546142 , which makes good arguments that Firebase isn't the best fit moving forward for us
More related questions
Related questions
Will Node.js remain the most popular web framework in the 2024 Stack Overflow Developer Survey?
70% chance
When will an open-source LLM be released with a better performance than GPT-4?
Will the GPT architecture be replaced by another, more efficient architecture by the end of 2024?
31% chance
What will be the most common word we use for processing text with large language models?
What will be the most "admired" programming language in the 2024 Stack Overflow developer survey?
If I switch to using Supabase, will anything change and seriously break my script within the next three months?
40% chance
What programming language or large framework will I learn next?
Will the popularity of these programming language increase in 2024?
Which project will develop into the next web?
Will we reverse-engineer a language model into an interpretable (python) program by 2027?
8% chance