Content pfp
Content
@
0 reply
0 recast
0 reaction

Kevin pfp
Kevin
@typedarray.eth
Should Ponder replace SQLite with PGlite (pglite.dev) as the dev database? Pros: 1) Less magic/astonishment ("wait, what database am I using rn?") 2) Simpler schema definition API (currently stuck with the subset of stuff that both PG and SQLite support)
12 replies
4 recasts
39 reactions

Kevin pfp
Kevin
@typedarray.eth
3) No change to the local dev experience (one Node.js process, don't have to run a PG server) Cons: 1) PGlite is immature 2) Locking into PG could be a bad idea - is it better to stick with the narrow subset approach, and add support for even more databases? (doubt)
0 reply
0 recast
19 reactions

Daniel - Bountycaster pfp
Daniel - Bountycaster
@pirosb3
When you say as a "dev database" are you referring to local development?
2 replies
0 recast
1 reaction

Peter Ferguson pfp
Peter Ferguson
@peterferguson.eth
I would vote for pglite because it is just strange developing an environment that is fundamentally different than what is in production We had some issues with this but tbf we are hacking around ponder a bit to achieve what we want so we are more exposed to these issue probably
1 reply
0 recast
1 reaction

alex pfp
alex
@alexgrover.eth
FWIW we ran into a discrepancy between local (sqlite) and production almost immediately when we started using ponder, so ended up setting up postgres for local dev. Assuming pglite is reasonably stable it would be preferable IMO!
1 reply
0 recast
2 reactions

max ⚡ pfp
max ⚡
@maxp.eth
what features under #2 are unlocked if the switch was made?
1 reply
0 recast
0 reaction

Fucory pfp
Fucory
@fucory
Sqllite I like because the path to ponder running in the background of a local first app is more clear
3 replies
0 recast
0 reaction

faces pfp
faces
@faces
I’d vote no. If it ain’t broke don’t fix it. Lots of support for SQLite. Not much for PGlite ( my first time hearing about it is this post )
0 reply
0 recast
1 reaction

MetaEnd.degen🎩🚨 pfp
MetaEnd.degen🎩🚨
@metaend.eth
Sounds like an experiment? Maybe run a testing branch for interested devs
0 reply
0 recast
0 reaction

YuriNondual pfp
YuriNondual
@yurinondual
Late to the discussion, but +1 for having exactly the same setup. So needs a docker with postgresql etc for local dev. subsquid does it quite well IMO
0 reply
0 recast
0 reaction

Evelin pfp
Evelin
@luunnaa
Marvelous! ✨
0 reply
0 recast
0 reaction

Joseph  Ⓜ️ pfp
Joseph Ⓜ️
@jph
Just that week I was reading about PGlite, thanks for this information, I'm going to start experimenting
0 reply
0 recast
0 reaction

tsc Jhon🔒 Ⓜ️ pfp
tsc Jhon🔒 Ⓜ️
@jhonc.eth
You recommend it, there are so many options that one ends up using none.
0 reply
0 recast
0 reaction