Better HN
topnewbestaskshowjobs
Log inSign up

cruppstahl

155 karma · joined Oct 12, 2011 (15y ago) · 35 submissions

Submissions

comment 8y ago · link · parent

I'm 40, and I enjoy being 40. I feel that I start to understand why things are the way they are, why other people behave like they do, and why I am how I am. I don't go so far to say that i grok everything, but I certainly have a lot of clarity now that I did not have when I was younger. And I have a toolbox of things that help me when I am not sure about me, about my life etc.

The rest of your life is starting today. You have a job, a large dating pool and an open future. Visualize your future (it might look like a grey void) and give it a smile and it will no longer look scary (this is something that always works for me!). Then go and find a therapist. She'll help you get rid of the depression, to find motivation in your job and to figure out what to do in the next 40 years.

BTW - I found this article to be encouraging: https://www.nytimes.com/2018/05/04/opinion/sunday/how-to-sur...

comment 10y ago · link · parent

Correct.

comment 10y ago · link · parent

I ran sysbench benchmarks with 30 concurrent connections. The performance gap between InnoDB and upscaledb shrank a bit, but not much.

The reason is that most of the performance is spent in MySQL and not in the key/value store, and then it does not make a big difference if the key/value store is concurrent or not.

In my experience the assumption of "concurrent = fast" is a misconception. Right now upscaledb moves certain operations (i.e. flushing dirty buffers) to the background. It is better to have fast single-threaded code instead of multi-threaded code with a huge locking overhead. A compromise would be to move the lock to the database level (instead of the Environment, which is basically the container for multiple databases), and make sure that there's no shared state between the databases. But that actually does not have that much priority for me because I do not expect to win that much performance.

comment 10y ago · link · parent

It's ok! The example storage engine could implement more functionality, just to demonstrate i.e. how rows are serialized/deserialized etc. The test suite was very helpful.

comment 10y ago · link · parent

Not necessarily. I ran sysbench with InnoDB and manually switched off transactions, and it was a lot slower. I don't know why - didn't look into it.

upscaledb does use transactions. I.e. if you insert a row with a primary and a secondary index then upscaledb inserts two key/value pairs in two databases. All these operations are wrapped in Transactions. They are just not yet supported on SQL level.

comment 10y ago · link · parent

If that's your definition of atomicity - yes, upscaledb offers atomic operations. If you define atomicity as the "A" in "ACID" then no - BEGIN/COMMIT wrappers are not yet available. Work in progress!

comment 10y ago · link · parent

BEGIN/COMMIT is not yet supported. But that's on my TODO list.

8.

Show HN: I built a MySQL storage engine which is InnoDB compatible(upscaledb.com ↗)

106 points · by cruppstahl · 10y ago · 30 comments

9.

Problems (and solutions) for adding key compression to Btrees(upscaledb.com ↗)

1 points · by cruppstahl · 10y ago · discuss

comment 10y ago · link · parent

Thanks for the insights!

comment 10y ago · link · parent

Interesting - thanks for your answers!

comment 10y ago · link · parent

Agree for a website. I'm selling software licenses, avoiding personal liability would be interesting (if it was affordable).

comment 10y ago · link · parent

"Found a small company (UG) with 500EUR capital to hold rights on the site if you want to further professionalize this project."

Can you elaborate a bit? I have the same problem as the original poster. But founding a company requires IHK membership fees and tax consultant fees. From what I hear this amounts to ~ 1500 €/year.

14.

Libvbyte: C library for integer compression (32bit, 64bit, SIMD)(github.com ↗)

4 points · by cruppstahl · 10y ago · 1 comment

comment 10y ago · link · parent

That's interesting - are the 64bit versions available for download?

16.

Benchmarking 32bit integer key compression for a C++ Btree(upscaledb.com ↗)

36 points · by cruppstahl · 10y ago · 5 comments

17.

32bit integer compression algorithms(upscaledb.com ↗)

4 points · by cruppstahl · 10y ago · discuss

18.

32bit integer compression algorithms(upscaledb.com ↗)

2 points · by cruppstahl · 10y ago · discuss

comment 10y ago · link · parent

thanks :) Will try to figure out how to fix this.

comment 10y ago · link · parent

I like the VLDB papers, and papers of similar conferences. But most of upscaledb's architecture is auto-didactic.

edit: this is a good book: http://db.cs.berkeley.edu/papers/fntdb07-architecture.pdf

I hope my sales improve as soon as I learn to do marketing ;)

comment 10y ago · link · parent

Engineering team lead. My side project is an embedded key/value database: http://upscaledb.com

comment 11y ago · link · parent

Yes, Simdcomp has faster encryption/decryption, but with Delta compression. FOR is a bit simpler and has faster random access.

comment 11y ago · link · parent

Absolutely not for me.

24.

Show HN: Fast integer compression library in C(github.com ↗)

45 points · by cruppstahl · 11y ago · 7 comments

25.

Show HN: Fast integer compression library in C(github.com ↗)

6 points · by cruppstahl · 11y ago · 1 comment

comment 12y ago · link · parent

hamsterdb http://hamsterdb.com

a embedded key-value database with storage structures and algorithms similar to column store databases. basically you can create your own column store database in your application.

Right now i'm busy making the next release, and writing a research paper about database compression.

comment 12y ago · link · parent

That's an interesting webpage. it has a hidden google ads-field in an iframe. I'm not web-savy enough to fully understand how it works.

The "click me as often as you can" contents for sure generate a lot of clicks. genius!

comment 12y ago · link · parent

I think that makes sense. thank you for your comment.

comment 12y ago · link · parent

I'm not sure what is cheaper, i'll figure it out. Thanks for your comment!

comment 12y ago · link · parent

Earlier versions used GPL and dual-licensing, and so far the customers are startups and smaller companies, not big enterprises.

I am pretty sure that the GPL version was used a lot in commercial products; that was one of the reasons why I chose to switch to APL and offer a closed source add on.

But if i weight piracy against the big effort that i have in creating 30day trials i tend to say that i don't care that much about piracy...

12