Comments (3)
I did, and then I realized it is pointless. Redis has a lot more features that affect performance (positively and negatively). It also has six years of a skilled developer optimizing it. Redis is single-threaded, while rsedis spawns a thread per connection, which implies that running Redis in a machine with multiple cores is wasteful while rsedis will use those cores. Currently rsedis is using a server wide lock, but I will try to make it per key lock at some point and compare. That has the potential of being concurrent, unlike Redis that is not by design.
If you are interested in Rust's potential, you might want to check out https://github.com/jonhoo/volley
If you still want to see my results: rsedis can perform more ops/sec on my machine (MacBook Air 2014) up to 6 clients, but performance decreases when adding more; when using 50 clients, it can run around 60% of the ops/sec Redis can.
from rsedis.
+1
from rsedis.
+1
from rsedis.
Related Issues (15)
- using rustc 1.35.0 HOT 5
- What's the plan? HOT 3
- Consider calling it "rudis" :)
- Redis Streams: XADD, XRANGE, XREVRANGE HOT 1
- Can not compile on windows HOT 1
- Lockless read/write HOT 1
- Why ?
- How did you do the implementation? HOT 1
- why so slow compared with redis? HOT 1
- how to config memory to be used? HOT 1
- Project restructure HOT 1
- Unable to compile HOT 6
- Cannot split off at a nonexistent index HOT 3
- git returning less than 8 characters on Windows
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rsedis.