Earlier quoted context omitted.
This way is a win for a company selling closed source software, that save R&D money and contributed nothing back. As user of commercial software I am fine with it, not so sure if FOSS advocates at large will be so happy when only non-copyleft licenses survive and we are back in the shareware/pd libraries days.
> and contributed nothing back Why do we assume closed-source software vendors contribute nothing back? Speaking as an employee at a company that produces a closed-source software product that uses open-source libraries, I've contributed plenty back to various libraries, including publishing some of my own. Libraries with permissive licenses get more users, and more users mean more opportunities for receiving contrib…
A multithreaded fork of Redis that is faster
141–150 of 164 posts
Re: A multithreaded fork of Redis that is faster
#142Earlier quoted context omitted.
May have been better to use GPL2?
Better how? If using GPLv2 means companies stay away from the project instead of building on top of it, that's not a win for anyone.
Like companies staying away from Linux or GCC? It's debatable if these projects would have been as successful using MIT/BSD.
Re: A multithreaded fork of Redis that is faster
#143Earlier quoted context omitted.
May have been better to use GPL2?
Better how? If using GPLv2 means companies stay away from the project instead of building on top of it, that's not a win for anyone.
Companies having problems with GPL is a problem of companies and not a problem of the license. If the library you want is GPL, then why blame the project and not your company's legal department?
Re: A multithreaded fork of Redis that is faster
#144Any time these "much faster than Redis" databases come up, the sysadmin in me wonders how many people have had actual performance limitation issues with Redis. I've seen Redis servers handle hundreds of GB of traffic per hour. I've worked at companies where Aerospike and others are proposed as replacements for Redis because "they're faster" - and I point out the 98% idle CPUs on the Redis server, and the near-100%-us…
As the Sidekiq maintainer, I’ve seen many customers need to shard Redis around 5000-10000 jobs/sec. Sharding is a major operational headache so this could be very useful to heavy job processors if it does prove to scale better. I also find it interesting that the BSD license enables this 3rd party company to fork Redis and build closed source commercial software on top of it. One of the trade offs to consider when li…
Re: A multithreaded fork of Redis that is faster
#145So this year on RedisConf Antirez demoed threaded version for Redis (only transport needs to be multi-threaded, core remains single threaded). Numbers were already amazing. I will pick the community version of Redis any day over forks.
The Redis version does not thread query parsing. Its limited to only IO which is why its performance is much lower.
Re: A multithreaded fork of Redis that is faster
#146So this year on RedisConf Antirez demoed threaded version for Redis (only transport needs to be multi-threaded, core remains single threaded). Numbers were already amazing. I will pick the community version of Redis any day over forks.
I feel like this take is somewhat unfair. Antirez was against threading until jdsully proved that it worked in exactly the same way that you're saying, multi-threaded transport with a single threaded core. In addition Keydb allows users to use ssds in addition to ram only when that is a paid feature for Redis Lab's enterprise support. jdsully spurred the implementation of two of the best changes that you might see in…
Re: A multithreaded fork of Redis that is faster
#147Earlier quoted context omitted.
Couldn't you just rollback the change or fix the lua script?
Or just embrace modern hardware and use threads. This is the experience many people have running Redis in production with 21st-century hardware: https://twitter.com/rbranson/status/540565059337195520
Re: A multithreaded fork of Redis that is faster
#148Earlier quoted context omitted.
This way is a win for a company selling closed source software, that save R&D money and contributed nothing back. As user of commercial software I am fine with it, not so sure if FOSS advocates at large will be so happy when only non-copyleft licenses survive and we are back in the shareware/pd libraries days.
> and contributed nothing back Why do we assume closed-source software vendors contribute nothing back? Speaking as an employee at a company that produces a closed-source software product that uses open-source libraries, I've contributed plenty back to various libraries, including publishing some of my own. Libraries with permissive licenses get more users, and more users mean more opportunities for receiving contrib…
when you're contributing to GPL software, you don't need your employer's permission for it to be upstreamed. If they release the code, and don't violate the GPL, then there's nothing the employer can do to stop it from going upstream.
Re: A multithreaded fork of Redis that is faster
#149Earlier quoted context omitted.
This reminds me of LMAX, who found the fastest way to build their stock exchange was to make the core logic single-threaded, surrounded by multithreaded I/O: https://www.martinfowler.com/articles/lmax.html I believe other (grown-up/legacy!) exchanges work the same way. I wonder how much of the direction of concurrency research is driven by the fact that there is much more publishable work to be done in managing concu…
The disruptor isn’t single threaded at all. Maybe you mean it can pin a core to a consumer that just busy waits on the queue. That is a common technique used in very low latency systems when not running on a real time OS.
Re: A multithreaded fork of Redis that is faster
#150Earlier quoted context omitted.
Except if you monitor per CPU usage, as you should.
Except that you can't, because most operating systems will not use the same CPU core consistently for a single thread. This is done for a variety of reasons, including spreading thermal loads to ensure that turbo boost can consistently kick in.