Better HN
topnewbestaskshowjobs
Log inSign up

KwisaksHaderach

38 karma · joined Feb 8, 2022 (4y ago) · 24 submissions

Submissions

comment 4y ago · link · parent

PiTR is like the primary reason for us using a managed DB, it's indeed a weird and fatal omission from a managed DB offering.

comment 4y ago · link · parent

Aside, anyone used the java sqlite driver https://github.com/xerial/sqlite-jdbc in production (webapp with multiple users)? Has the driver been reliable?

comment 4y ago · link · parent

See also Bellard's QuickJS (54k lines) https://raw.githubusercontent.com/bellard/quickjs/master/qui...

comment 4y ago · link · parent

This application must be really really simple ;), so no database?

comment 4y ago · link · parent

Does dark themes lets your focus more than light themes?

comment 4y ago · link · parent

The obvious candidates were MySQL (or one of its renamed variants given who bought it) or PostgreSQL, but several of us on the team have operational experience running these databases and didn’t enjoy the prospect of wrestling with the ops overhead of making live replication work and behave well. Other databases like CockroachDB looked very tempting, but we had zero experience with it. And we didn’t want to lock ourselves into a cloud provider with a managed product like Spanner.

What about managed mysql/posgresql? no lock-in and installing them locally is trivial.

comment 4y ago · link · parent

Clojure really is probably one of the best languages for application programming out there, and pairs beautifully with Java when you need to go some levels lower.

comment 4y ago · link · parent

Doesn't sound unrealistic if you have a mix load of IO and raw processing.

comment 4y ago · link · parent

Are there any plans to provide a Java client for EdgeDB?

comment 4y ago · link · parent

Remember, this are devs that worked on codebases that have millions lines of Ruby code (Stripe) and most probably have to handle loads of state in the application layer, so their context/anecdata might be different for your friends. I prefer dynamically typed languages for most stuff but at the scale of Stripe I would also like to have a type checker.

comment 4y ago · link · parent

Does planetscale doesn't have PITR? couldn't find anything in the docs.

comment 4y ago · link · parent

JS frameworks with a small footprint are suitable for this.

comment 4y ago · link · parent

A billion dollar in weapons also helps.

comment 4y ago · link · parent

EdgeDB is built on an extension of the relational data model that we call the graph-relational model. This model completely eliminates the object-relational impedance mismatch while retaining the solid basis of and performance of the classic relational model.

I don't see how can they retain the performance of the relational model when using graphs on top of PG unless they are using PG as storage k/v layer only.

comment 4y ago · link · parent

Workers threads spawn a new JS VM( which implies a new GC) for each worker! We tried it and the gains from parallelism stopped when there were half as many workers as CPUs.

comment 4y ago · link · parent

You are looking for Golang ;)

comment 4y ago · link · parent

It's fantastic for I/O-heavy 'server'-type code

I have found nodejs frustrating for CRUD APIs, the is 'fantastic for heavy I/O' while true ends up guiding you to complex microservices(or trying to use a external services for everything) because you don't want to slow down the event loop as you add more and more cpu processing to your app.

comment 4y ago · link · parent

https://shenlanguage.org has static typing.

comment 4y ago · link · parent

The article is about the basic constraints you mentioned, FKs, PK/unique, check constraints. I agree with keeping the database as dumb as possible with only those, heck even dropping those (except for PKs) at the beginning gives you more agility.

comment 4y ago · link · parent

Netflix is the instagram of the tv streaming services, 95% of the content is crap and they are creating lots of it.

comment 4y ago · link · parent

What's the crunchy tool for this?

comment 4y ago · link · parent

Many can even get away with less: sqlite.

One less process to worry about.

23.

Operating without foreign key constraints(docs.planetscale.com ↗)

21 points · by KwisaksHaderach · 4y ago · 2 comments