Comments (12)
Hi Vladimir,
can you give more information.
do you have a 32 bit client? there are some issues in 32 bit clients that segfault, I need to look into this. Technically only 64 bit is supported, but I will fix this soon.
what client are you using?
what is the command that creates the segfault?
I think it is the 32bit operating system problem, does that make sense.
- Jak
and if you are really motivated
from alchemy-database.
if you are really motivated, run
gbd ./redisql-server
and when it segfaults, type "where"
from alchemy-database.
- 32-bit ubuntu -- https://gist.github.com/700105
from alchemy-database.
I made an issue of this
http://code.google.com/p/redisql/issues/detail?id=21
I am not sure when it will be fixed, probably w/in 2 weeks.
Can you upgrade to 64bit ubuntu? this is the platform I develop on, and Redisql works very nicely on this platform
from alchemy-database.
No 64bit platform within my grasp, sorry. However, I could continue testing the subj on 32bit :) In either event, nothing's too pressing
Best regards,
--Vladimir
from alchemy-database.
Hi Vladimir,
today or tommorow, I will look at the 32 bit problems. Maybe it is only one struct that needs to be changed to work in 32 bit, maybe there are 50 :)
But I will look at it, and give you a time estimate on when it will be fixed
- Jak
from alchemy-database.
Thanks! Frankly, I'm very fancy of the subj. If it fits, it will resolve my doubts whether to use redis or fallback to mongo. The performance of the latter is so far underneath the required threshold, but I simply got to use a fast-to-write and rich-featured-to-read store. Wonder if the subj fits.
I had access to 64-bit dedic, but unfortunately lost it, so...
--Vladimir
P.S. Oh, BTW, at which version of redis the fork occured? I mean how close recent vanilla redis commands are supported in the subj? TIA
--Vladimir
from alchemy-database.
Hi Vladimir,
the fork is of redis 2.0 ... the exact version is 1.3.14 (which is pretty much 2.0). I believe all redis 2.0 commands are supported, although some may have been backported from 2.2, in which case they are not supported.
The project is going to go into feature freeze this month, and then the core will be updated to redis 2.2 in December.
- Jak
from alchemy-database.
I see. Cool. One thing to discuss: is SQL portion of the subj built in deeply? What I mean -- we've been developing a decent format for expressing queries via URI (please, take a look at https://github.com/kriszyp/rql, and http://www.sitepen.com/blog/2010/11/02/resource-query-language-a-query-language-for-the-web-nosql/). So wonder if SQL query layer can be substituted/extended so that the accessor method guts would be reused, but the exposed query interface could be replaced?
TIA,
--Vladimir
from alchemy-database.
HI Vladimir,
I had to think a while about this to understand it.
The quick answer is to get what you want: Relational Tables w/o SQL, this is not immediately available in Redisql because the API to the relational tables syntax IS SQL. But, the system was originally exactly what you want, and SQL was built on top of it as an API.
In Redisql the SQL is parsed and then some actions are performed based on the parsed SQL. I think what you want is to bypass the whole SQL step and get right at the data structures.
This is a use-case that makes me smile because I built the system you would want, because I can program using direct data structure API calls, but when I showed it to people they wanted SQL, so I build SQL :)
There are some commands the AOF file uses: legacyCreateTable, legacyIndex, legacyInsert that are legacy artifacts of such an architecture. What you need is a legacySelect, which could easily be defined in the function selectRedisqlCommand() by replacing the parse*() steps w/ your API.
But I cant support adding this functionality myself because its not a common use case, but I am more than happy to help you code it, by telling you where and how, but I cant merge such changes into the code (at the moment) because I dont see many people needing an alternate form of SQL (there may be RQL, but there probably wont be R2QL, R3QL, etc....) so it makes sense that such changes would be in a fork
make sense?
- Jak
from alchemy-database.
Right. The fun is that in fact I don't care of SQL per se -- roughly I only need an efficient way to mimic select id,a,b,c from collection [where COL OP VAL[ AND|OR ...[...]]] order by ... limit ...
. This can already be done almost completely via redis sort
command but it misses the killer feature to perform where
. I planned to write RQL parser to compile down an URI to a where
clause and I'd be done.
No need to pollute your code of course. It's just my attempt to make a blazing fast store with a kinda REST interface.
Thanks for your help, and Best regards,
--Vladimir
from alchemy-database.
Hi,
this got fixed a while back
It was just that 32 bit compilations were SEGVing (due to a very stupid reason - struct byte alignment of a global struct)
- Jak
from alchemy-database.
Related Issues (6)
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 alchemy-database.