Giter VIP home page Giter VIP logo

Comments (14)

codepr avatar codepr commented on May 17, 2024 1

Does running the following command gcc -std=gnu99 -Wall -lrt -pthread -O3 -pedantic src/map.c src/util.c src/commands.c src/persistence.c src/networking.c src/serializer.c src/hashing.h src/cluster.c src/queue.c src/event.c src/list.c src/memento.c -o ./release/memento work? Note that it's -pthread instead of -lpthread

from memento.

codepr avatar codepr commented on May 17, 2024 1

Yeah, expire time was a feature I previously added but after a refactoring I decided to cut down some commands in order to achieve something more clear and working. I'll re-implement some of those features eventually, including key expiration

from memento.

fslove avatar fslove commented on May 17, 2024

Thank your reply.
persistence.c:(.text+0x99): undefined reference to aio_write' persistence.c:(.text+0xac): undefined reference to aio_error'
collect2: error: ld returned 1 exit status

from memento.

fslove avatar fslove commented on May 17, 2024

image

from memento.

fslove avatar fslove commented on May 17, 2024

image

from memento.

codepr avatar codepr commented on May 17, 2024

Isn't it libaio-dev on Ubuntu?

from memento.

fslove avatar fslove commented on May 17, 2024

need remove libaio-dev? i have install libaio-dev.

from memento.

fslove avatar fslove commented on May 17, 2024

image

from memento.

fslove avatar fslove commented on May 17, 2024

I would like to thank you for your time and patience

from memento.

fslove avatar fslove commented on May 17, 2024

I try install a new Fedora 27 vm , make done ,copy to Ubuntu .. is work!
image
Thank your help

from memento.

fslove avatar fslove commented on May 17, 2024

getp
Can set a key Expired?

from memento.

fslove avatar fslove commented on May 17, 2024

Great work,
Waiting key expired function

from memento.

codepr avatar codepr commented on May 17, 2024

You're welcome! Thank you for signaling the issue. By the way, you can easily skip persistence.c in compilation by removing it from Makefile. Currently it is an unused module.

from memento.

fslove avatar fslove commented on May 17, 2024

Wow ...
Perfect performance!
Only wait key expired function,
Remove redis waiting your!

from memento.

Related Issues (3)

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.