Better HN
topnewbestaskshowjobs
Log inSign up

elwinar

38 karma · joined Jul 27, 2015 (11y ago) · 12 submissions

Submissions

comment 5y ago · link · parent

It works well until you've got an issue, and then you're completely fucked.

I think the sense of the comment was "how can I deploy or test anything once it goes in production". You know, were starting again from scratch is not an option ever.

Using the database as a service layer is dumb for non-trivial scenarios were you need garantees that your service keeps running, or when you want to test new code with the production data.

It's interesting, and probably useful to have a set of functions with the database, but there is real problems once your database stops being a dumb store.

2.

A Journey into Scalling a Prometheus Deployment(medium.com ↗)

3 points · by elwinar · 7y ago · discuss

comment 10y ago · link · parent

The testing framework of sqitch is pretty cool, I used a something to do database testing a long time ago, but I didn't though of integrating it in the migration tool.

comment 10y ago · link · parent

Not exactly a copy, sql-migrate is based on goose, and does many things I don't want rambler to do.

I agree with the easy distribution thing, Go is awesome for this kind of things. I only wish the cross-compilation of binaries that embed C would be easier (XGo is the thing for tkhe moment).

comment 10y ago · link · parent

Rambler doesn't have any custom DSL, it use plain SQL. Just like Mite :p

comment 10y ago · link · parent

The difference is in the number of features. Rambler doesn't do many thing to keep the overhead low.

comment 10y ago · link · parent

Goose does too much IMHO, and sql-migrate is mainly a wrapper around goose. I looked at it for inspiration, but disagreed with many choices.

Migrates is another thing, and I like it more except for the lack of configuration file.

comment 10y ago · link · parent

> most migrations don't need to be reversed

I agree, in which case, you don't have to write a down section.

Anyway, rambler isn't targeted at "large companies with huge databases", which of course have more complex database migrations methods.

comment 10y ago · link · parent

I've come to drop ORMs altogether in Go, but I will have a look at this one, just out of curiosity.

comment 10y ago · link · parent

I had one of those at the very begining, but then I wanted to do things that are more pleasant to do in other languages, so I switched to go. But I can't agree more with your README, my focus stayed on getting out of the way: drop your requests into a file, dump your credentials in a configuration file, run, be done with it.

comment 10y ago · link · parent

If you switch you vendor, you will probably have to fix manually many things, be it migrations, code, etc. An ORM-based solution is a thing, but then you lose the ability to use vendor-specific behavior, unless your ORM have specific extension for those, and then you're back at square one.

12.

Show HN: Rambler – A simple and language-independent SQL schema migration tool(github.com ↗)

69 points · by elwinar · 10y ago · 35 comments