Re:Zinc Search engine. A lightweight alternative to Elastics...
by rapsey on Saturday December 04, 2021 @01:31AM
(#29439159)
> Sure, Rust is better. But it will take years to replicate what's already out there in Java.
The Rust based search engine Tantivy is handily faster than Lucene and supports pretty much the same features.
Re:Zinc Search engine. A lightweight alternative to Elastics...
by pjmlp on Saturday December 04, 2021 @04:42AM
(#29439804)
So it also replicates Zookeeper capabilities and is available in SaaS versions like SearchStax?
Re:Zinc Search engine. A lightweight alternative to Elastics...
by rapsey on Saturday December 04, 2021 @07:33AM
(#29440444)
Zookeper what does that have to do with search?
Re:Zinc Search engine. A lightweight alternative to Elastics...
by pjmlp on Saturday December 04, 2021 @10:28AM
(#29441431)
A lot, that is how Solr and Lucene clusters are managed as standard solution.
Re:Zinc Search engine. A lightweight alternative to Elastics...
by rapsey on Saturday December 04, 2021 @01:03PM
(#29442749)
Well ok but that is an external dependency irrelevant of language. Might as well use etcd also.
Re:Zinc Search engine. A lightweight alternative to Elastics...
by pjmlp on Saturday December 04, 2021 @01:25PM
(#29443002)
Nope, because those dependencies are also written in Java, are always deployed together, thus a shop using Lucene and Solr is skilled in Zookeeper.
Where is a SearchStax SaaS like service using etcd?
Re:Zinc Search engine. A lightweight alternative to Elastics...
by mike_d on Saturday December 04, 2021 @01:35AM
(#29439173)
> RAM isn't a bottleneck on most servers these days.
It isn't hard to scale, but it is the most expensive thing to scale.
Re:Zinc Search engine. A lightweight alternative to Elastics...
by wildoats on Saturday December 04, 2021 @09:34AM
(#29441054)
But you don't usually need to scale it. We run 1 million+ LoC Java monoliths on machines with 2GB.
Re:Zinc Search engine. A lightweight alternative to Elastics...
by CodeGlitch on Saturday December 04, 2021 @04:27AM
(#29439737)
> I'll take a database written in Java over C any day given equivalent choices.
I know it's not equivalent, but Redis is written in C and it's amazing what you can do with it. It is also incredibly efficient and what it does.
I don't get the hate towards C. Is it the security issues? (These exist in Java too you know).
Re:Zinc Search engine. A lightweight alternative to Elastics...
by pjmlp on Saturday December 04, 2021 @04:40AM
(#29439801)
They do indeed, except in Java anything related to memory corruption, type confusion, integer overflow and implicit conversions are out of the picture.
Re:Zinc Search engine. A lightweight alternative to Elastics...
by wildoats on Saturday December 04, 2021 @09:46AM
(#29441127)
It's far easier to write an app safe from memory corruption in Java than C.
Java is as safe as Rust. It's just 1/2 the speed and uses 2-3X the ram. It was the best C alternative for DB until a couple years ago.
RAM isn't a bottleneck on most servers these days. Even the cheapest EC2 tends to have 2GB which will run nearly any Java app fine.
Sure, Rust is better. But it will take years to replicate what's already out there in Java.
I'll take a database written in Java over C any day given equivalent choices.