News for hackers. Stuff that matters.

greenrobot

Re:First on-device Vector database for mobile devices on Thursday May 16, 2024 @08:29AM (#40377498)
ObjectBox CTO here...

Note that this is not just running a lib like HNSWlib or FAISS on top of database persistence. It's deeply integrated with database internals, which is also why in runs nicely with low-memory devices. The entire binary is like 3 MB, so leaves lots of resources to actual vector data and LLMs.

AMA...

How many lines of C++ does a minimal CRUD database application need?

Check this example; two lines for initialization, one line for each operation: obx::Store store(create_obx_model()); obx::Box<Task> taskBox(store); obx_id id = box.put({.text = "Buy milk"}); // Create std::unique_ptr<Task> task = box.get(id); // Read if (task) { task->text += " & some bread"; box.put(*task); ...

( Read More... | 2 comments | 2 points | on HN )
Interesting. Would you mind to go into details about dropping RAFT? It would make a great tech blog post imho, but maybe you could share some high level insights on that?

Related to that: have you considered extensions to the RAFT standard e.g. pipelining?

Re:ObjectBox Swift 1.0: Efficient database for iOS released on Thursday September 26, 2019 @06:37AM (#21079731)
PostgreSQL? I'm confused.
Re:ObjectBox: Fast object-oriented database for Go on Saturday December 01, 2018 @04:26AM (#18576033)
SQLite is a very nice embedded DB indeed. If you like SQL. ObjectBox enables you to work with Go structs and gives you additional performance.
Re:ObjectBox: Fast object-oriented database for Go on Saturday December 01, 2018 @04:24AM (#18576027)
The initial question was about Realm, thus the link to Java. The core of ObjectBox is the same on every platform (C/C++ for maximum speed). We haven't finished the other benchmarks yet. Sorry for teasing with those. We'll be done with those soon and they will be open source.
Re:ObjectBox: Fast object-oriented database for Go on Friday November 30, 2018 @06:00PM (#18573524)
Interesting. ObjectBox does NOT use os.File.Sync. This stuff is done by a low-level C layer. We'll verify next week, thank you!
Re:ObjectBox: Fast object-oriented database for Go on Friday November 30, 2018 @03:28PM (#18572326)
Good old days... :)
Re:ObjectBox: Fast object-oriented database for Go on Friday November 30, 2018 @12:21PM (#18570624)
You probably don't do a lot of queries? Badger is a K/V store and has no knowledge about the value. Thus querying sucks and if you want indexing, you are on your own. Relations? Anyway, for simple caching that's probably fine.
Re:ObjectBox: Fast object-oriented database for Go on Friday November 30, 2018 @12:18PM (#18570586)
There's a open source benchmark here: https://github.com/objectbox/objectbox-performance - last time I checked ObjectBox was several times faster than Realm.
Re:ObjectBox: Fast object-oriented database for Go on Friday November 30, 2018 @12:13PM (#18570549)
Not sure if Versant supports Go. Anybody knows Versant's pricing? Don't think they come for free.
Re:ObjectBox: Fast object-oriented database for Go on Friday November 30, 2018 @12:06PM (#18570491)
Do you refer to https://golang.objectbox.io ? Check https://docs.objectbox.io/ for what is available for Java.
Re:ObjectBox: Fast object-oriented database for Go on Friday November 30, 2018 @08:45AM (#18569031)
It's ACID compliant, and thus not not in-memory. https://golang.objectbox.io/faq covers that in detail. In the FAQ, there is a section on comparing to JSON; I guess the same would hold true for CSV.

PS.: Wouldn't worry about a label saying "IoT" if the technology fits your need.

Re:ObjectBox: Fast object-oriented database for Go on Friday November 30, 2018 @07:08AM (#18568491)
The Go release post (https://objectbox.io/go-objectbox-golang/) has some numbers. "On a i7-8850H CPU, ObjectBox consistently processes over 1.5 million CRUD operations per second with 4.4 million object reads per second."
Re:ObjectBox: Fast object-oriented database for Go on Friday November 30, 2018 @06:28AM (#18568326)
Not really, ObjectBox is an object DB and emphasizes performance (no JSON but FlatBuffers for example).
Re:Dropping Acid on Wednesday November 28, 2018 @11:21AM (#18552743)
Yeah, me too.
Re:Ask HN: Who is hiring? (April 2018) on Thursday April 05, 2018 @05:42AM (#16763281)
ObjectBox DB | iOS and C++ developers | Full time | ONSITE and REMOTE | Munich, Germany

ObjectBox (Techstars ’17) is a well funded startup that helps app/IoT developers develop faster apps faster by ensuring data is where it is needed when it is needed. The core of this solution is our embedded mobile database which is 10x faster than SQLite. On top of the database, we’re building a data synchronization solution. We are also the team behind the open source projects, which are used by 30% of the top-500 apps on Google Play.

• iOS dev: Using ObjectiveC/C++ and Swift, you will build the iOS API for ObjectBox. http://objectbox.io/jobs/ios-objective-c-developer/

• C++ dev: Work on ObjectBox' core and data synchronization. http://objectbox.io/jobs/objectbox-senior-c-plusplus-develop...

Re:ObjectBox 1.0 – fastest object persistence for mobile on Monday September 11, 2017 @10:54AM (#15218943)
Speed: Check https://github.com/objectbox/objectbox-performance open source project or https://www.netguru.co/codestories/realm-vs-objectbox-compar... for independent evaluation.

FAQ: What's different to Realm? Simpler to use with POJOs, no threading constraints. Relations can be eagerly loaded to prepare everything in the background.