GithubHelp home page GithubHelp logo

Comments (12)

JakSprats avatar JakSprats commented on June 2, 2024

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.

JakSprats avatar JakSprats commented on June 2, 2024

if you are really motivated, run

gbd ./redisql-server
and when it segfaults, type "where"

from alchemy-database.

dvv avatar dvv commented on June 2, 2024

from alchemy-database.

JakSprats avatar JakSprats commented on June 2, 2024

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.

dvv avatar dvv commented on June 2, 2024

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.

JakSprats avatar JakSprats commented on June 2, 2024

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.

dvv avatar dvv commented on June 2, 2024

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.

JakSprats avatar JakSprats commented on June 2, 2024

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.

dvv avatar dvv commented on June 2, 2024

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.

JakSprats avatar JakSprats commented on June 2, 2024

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.

dvv avatar dvv commented on June 2, 2024

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.

JakSprats avatar JakSprats commented on June 2, 2024

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 photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.