Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!

 



Forgot your password?
typodupeerror
×
Databases

Submission + - World's Smallest And Fastest Database (highlandsun.com)

hyc writes: "It was only a couple months ago that MemSQL was claiming to be the world's fastest database. But here we have a new contender; compiling to under 32K of object code it is unquestionably the world's smallest and most lightweight fully transactional database. It is also orders of magnitude faster than everything else for reads, and impressively fast for writes. It is a memory-mapped database (which, unlike an in-memory database, is intrinsically persistent. In-memory databases are ephemeral by design and require a persistence mechanism to be bolted on as an afterthought) which is completely impervious to corruption. It does not use write-ahead transaction logs, and requires zero recovery time when restarting after a crash. It's already shown impressive performance gains when used as a backend for OpenLDAP slapd, as well as for SQLite3. Work is underway to create backends for other projects (e.g. MemcacheDB, Cassandra) but your readers could help that along."

Comment Re:Overblown (Score 1) 184

Yes, it's overblown, but tmpfs is not a reliable solution. If the system is under heavy enough load and memory pressure, the tmpfs contents may get swapped out to disk anyway.

And oh yeah, the swap partition on your disk is a liability too. But anytime someone has physical access to your disk, all bets are off anyway...

Comment Re:Sounds funky but (Score 1) 131

I rewrote the pidgin-otr plugin to use plain libpurple a few months ago. It will work on anything that libpurple works on, including finch. You can read about it here

http://lists.cypherpunks.ca/pipermail/otr-dev/2011-December/001226.html

and grab the code here

https://gitorious.org/purple-otr#more

There's already a package for it in Arch Linux.
http://aur.archlinux.org/packages.php?ID=55511

Comment Re:It's open source (Score 1) 325

Google has been grossly negligent from Day 1. I paid ~ $600 for my G1 phone 2 years ago, and got zilch for customer support from Google, and nobody at T-Mobile was smart enough to even know what to do with any Android technical problems. When people are paying this much real money for a product, by god you better offer them real technical support.

You can't find any dedicated email address or phone number to report issues, the best you can do is file a bug report that's unlikely to be acted on, or post on groups.google.com and hope some bored developer with a few cycles to spare reads your post. That's completely inexcusable for the price people pay for these devices.

I've stuck with it because I've been able to download the source and fix issues I've run into, but only after many days of beating my head against the poorly or non-documented interfaces in the system. But again, regular customers paying real money shouldn't have to do that. For this kind of money, there should be dedicated customer support people who are proficient with the OS and the range of devices, and there should be complete documentation on all of the bundled features.

Comment Re:Definitely need more than one trip... (Score 2) 1270

10,000 rounds sounds a bit too generous, are you trying to destroy the army or just kill the leader(s)?

That's also got me thinking down the line of Asimov's psychohistorians. I wonder if enough media has already been moved onto the web that we could harvest enough online data from say, the past 10 years, to feed into a computer model of the world that produces identical results to the historical data. Then if the model is working well, you can start playing what-if games to see what changing one or another factor does to modern life. You could go back further, if you wanted to manually enter all the data, but I doubt you could go back more than a decade or two because there just isn't sufficient data. Dunno.

And then, assuming you have this wonderful computer model, does its existence alter the world that it is modeling? Do you have to keep it a secret so that it's able to model and predict without impacting the world? Imagine if it was just a big Distributed Computing project, and it became well known, commonplace even.

I would guess that the NSA or CIA already has something similar crunching in one of their data centers, but it would be cool to have just for its speculative aspects...

Comment Definitely need more than one trip... (Score 1) 1270

I've often wondered what would have happened in the Roman Empire if Christ had not been crucified; if perhaps some time traveler went back and smuggled him away into exile. I'd like to believe that Christianity would never have arisen, and most of the atrocities done in the name of Christianity would never have occurred. Who knows, maybe the same things would have been done anyway, just in the name of some pagan deity instead. I'd like to see how the world would have turned out without a Catholic Church running Europe for millenia, and what humanity would have achieved instead of spending hundreds of years and generation after generation building huge cathedrals. I'd like to see whether there would still have been Spanish Conquistadors in the New World, or if the native Americans would have been left alone to continue developing their own civilizations.

I'd also like to go back and throw a few defeats in the path of Julius Caesar, before his rise to power, and see how Europe would have shaped up if the Roman Empire's growth was halted far earlier. Wondering if a lot of older religions would have survived in better health. (Which also ties into the Christianity thing as well...)

But all of that would take more than just one free trip. Need to be able to hop back and forth a few times to take in the full effect.

Comment Re:Unnecessary complication... (Score 2, Insightful) 870

A lot of students are bad at algebra simply because they don't understand what to do with x and y in e.g "y = 2x", so you still need at least part of the test to force them to work all the way to a concrete result from concrete inputs. Again, there's a big difference between theory and practice, and people should be learning both.

Comment Re:Give Me A Break! (Score 1) 483

blackbook.com already exists. So does datebook.com, playbook.com, and probably anything else you can think up. Since Facebook's trademark scope is so broad, I'd guess all those other guys will be in their sights soon too.

Comment Re:Wrong about US' DMCA (Score 1) 258

Or just create your own work, no need to go fishing for something from the public domain.

I've recorded several music CDs in my various bands thru the years. I could go find the current favorite CD DRM scheme, ask for it to be used on my next run of CDs, and go to town. But I guess DVDs are more interesting these days.

Hi-Def camcorders are getting pretty cheap now. Go make a home movie, master it in BluRay format, and have some small-run disc printing house produce it for you. Bingo.

Comment Re:Complaining About an Unfinished Spec? (Score 1) 426

rtmpdump decodes the majority of RTMP streams in common use today. We know what the other (currently unsupported) options are doing in general; it just isn't worth the time right now to fully decode them until they become more of an inconvenience to more people. (Or in other words, until they become an inconvenience to the rtmpdump developers...)

rtmpe is fundamentally flawed, broken by design. Unlike SSL/TLS it is vulnerable to M-I-T-M attacks and always will be. Any new mechanisms Adobe layers on top of it can be trivially broken with the application of a few hours of CPU time. (In contrast, breaking TLS still requires thousands to millions of hours of CPU time.)

Slashdot Top Deals

"If I do not want others to quote me, I do not speak." -- Phil Wayne

Working...