Giter VIP home page Giter VIP logo

gentoo-overlay's Introduction

Tarantool

Actions Status Code Coverage OSS Fuzz Telegram GitHub Discussions Stack Overflow

Tarantool is an in-memory computing platform consisting of a database and an application server.

It is distributed under BSD 2-Clause terms.

Key features of the application server:

Key features of the database:

  • MessagePack data format and MessagePack based client-server protocol.
  • Two data engines: 100% in-memory with complete WAL-based persistence and an own implementation of LSM-tree, to use with large data sets.
  • Multiple index types: HASH, TREE, RTREE, BITSET.
  • Document oriented JSON path indexes.
  • Asynchronous master-master replication.
  • Synchronous quorum-based replication.
  • RAFT-based automatic leader election for the single-leader configuration.
  • Authentication and access control.
  • ANSI SQL, including views, joins, referential and check constraints.
  • Connectors for many programming languages.
  • The database is a C extension of the application server and can be turned off.

Supported platforms are Linux (x86_64, aarch64), Mac OS X (x86_64, M1), FreeBSD (x86_64).

Tarantool is ideal for data-enriched components of scalable Web architecture: queue servers, caches, stateful Web applications.

To download and install Tarantool as a binary package for your OS or using Docker, please see the download instructions.

To build Tarantool from source, see detailed instructions in the Tarantool documentation.

To find modules, connectors and tools for Tarantool, check out our Awesome Tarantool list.

Please report bugs to our issue tracker. We also warmly welcome your feedback on the discussions page and questions on Stack Overflow.

We accept contributions via pull requests. Check out our contributing guide.

Thank you for your interest in Tarantool!

gentoo-overlay's People

Contributors

0x501d avatar civil avatar cono avatar georgykirichenko avatar rtsisyk avatar totktonada avatar xpunkt avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

gentoo-overlay's Issues

Upstream module missing?

Maybe i screwed up something but the tarantool upstream module is not working for me:
nginx: [emerg] unknown directive "tnt_pass" in /etc/nginx/nginx.conf:162

Are there any additional modules needed?

NGINX_MODULES_HTTP="access auth_basic autoindex browser charset empty_gif fastcgi geo gzip limit_conn limit_req lua map memcached proxy referer rewrite scgi split_clients ssi upstream_check upstream_ip_hash upstream_keepalive upstream_tarantool userid uwsgi"

Or any suggestion?

Thanks.

dev-db/tarantool: allow to build against system libraries (xxhash, nghttp2, libunwind)

The libraries of the question:

We should let a user decide, whether to use system libraries (and take risks) or use ones shipped with tarantool. Set system ones as default if there are no known problems with versions offered by Gentoo.

2.1.2

Would you update the overlay for 2.1.2 Stable? Thx.

Segfault in nginx

With
load_module "modules/ngx_http_tnt_module.so";
i got these:
Jun 1 09:18:34 silverwing kernel: nginx[5298]: segfault at 0 ip (null) sp bff6930c error 4 in nginx[8047000+129000]

Maybe because i'm on x86?
Linux silverwing 4.4.26-gentoo #1 SMP Thu Dec 22 09:55:56 CET 2016 i686 Intel(R) Xeon(R) CPU E5530 @ 2.40GHz GenuineIntel GNU/Linux
gcc-5.4.0-r3
glibc- 2.23-r3

Couldn't download

I got this:

!!! Fetched file: tarantool-1.7.6.0.tar.gz VERIFY FAILED!
!!! Reason: Filesize does not match recorded size
!!! Got: 537
!!! Expected: 16289206
Refetching... File renamed to '/usr/portage/distfiles/tarantool-1.7.6.0.tar.gz.checksum_failure.4c1xhf2o'

dev-lua/http dependency

It seems http 2.0 has a dependency:

Start failed: /usr/share/tarantool/http/server/tsgi_adapter.lua:3: module 'checks' not found

That one from luarocks solved the problem:

checks 1.0-1 (rockspec) - https://rocks.moonscript.org 1.0-1 (src) - https://rocks.moonscript.org

1.9.1

Would you update the overlay for 1.9.1 ?

Update request

Would you update the overlay to the latest releases? Especially the 2.3.3, 2.4.2 versions but 2.5.1 beta could be interesting.

Tarantool rocks broken?

or am I missed something

tarantoolctl rocks install metrics
LuajitError: /usr/bin/tarantoolctl:935: module 'luarocks.core.cfg' not found:
        no field package.preload['luarocks.core.cfg']
        no file '/home/tron/luarocks/core/cfg.lua'
        no file '/home/tron/luarocks/core/cfg/init.lua'
        no file '/home/tron/luarocks/core/cfg.so'
        no file '/home/tron/.rocks/share/tarantool/luarocks/core/cfg.lua'
        no file '/home/tron/.rocks/share/tarantool/luarocks/core/cfg/init.lua'
        no file '/home/.rocks/share/tarantool/luarocks/core/cfg.lua'
        no file '/home/.rocks/share/tarantool/luarocks/core/cfg/init.
fatal error, exiting the event loop

I thought it's global on Gentoo as luarocks. How is it working?

Argon2

I'll happy to see the Argon2 in the overlay. If you have spare time.

Update versioning

As far as i know the Tarantool versioning is changed. Would you update the overlay to reflect the changes?

nginx 1.14

Could you update nginx to version 1.14?
It is stable in the main tree.

dev-db/tarantool: use /run directory instead of /var/run

It seems all major distros (including Gentoo) are going to use /run instead of /var/run to stick with FHS 3.0 (Filesystem Hierarchy Standard) better.

/var/run is usually the symlink to /run, but it worth to use /run directly, because using of /var/run can be deprecated in a future.

Follow up of #20.

Bump ebuilds to EAPI=8

https://mgorny.pl/articles/the-ultimate-guide-to-eapi-7.html
https://mgorny.pl/articles/the-ultimate-guide-to-eapi-8.html

Current state:

$ echo '| ebuild | EAPI |'; echo '| ---- | ---- |'; grep -r EAPI . | tr ':' ' ' | sed s@^./@@ | sort -k2,2 | awk '{ print "| "$1" | "$2" |"}'
ebuild EAPI
www-servers/nginx/nginx-1.17.8.ebuild EAPI="6"
dev-db/tarantool/tarantool-9999.ebuild EAPI=6
dev-libs/msgpuck/msgpuck-9999.ebuild EAPI=6
dev-lua/avro-schema/avro-schema-9999.ebuild EAPI=6
dev-lua/checks/checks-9999.ebuild EAPI=6
dev-lua/connpool/connpool-9999.ebuild EAPI=6
dev-lua/expirationd/expirationd-9999.ebuild EAPI=6
dev-lua/http/http-9999.ebuild EAPI=6
dev-lua/mysql/mysql-9999.ebuild EAPI=6
dev-lua/queue/queue-9999.ebuild EAPI=6
dev-lua/shard/shard-9999.ebuild EAPI=6
dev-lua/smtp/smtp-9999.ebuild EAPI=6
dev-libs/tarantool-c/tarantool-c-9999.ebuild EAPI=7
dev-lua/argon2/argon2-9999.ebuild EAPI=7
dev-lua/gperftools/gperftools-9999.ebuild EAPI=7
dev-lua/luatest/luatest-9999.ebuild EAPI=7
dev-lua/pg/pg-9999.ebuild EAPI=7

/var/run/tarantool needed

The /var/run/tarantool directory is deleted on every restart. I should remake it by hand.

Start failed: builtin/box/console.lua:382: failed to create server unix/:/var/run/tarantool/tarantool-core.control: No such file or directory

I don't know how it could be solved usually, but maybe in the init.d script?

1.10.3

Would you update the overlay for 1.10.3 LTS ? Thx.

How to run tarantool from init.d ?

I tried to run tarantool Tarantool from init.d but i got this:

  • Starting tarantool ...
    Instance tarantool is not found in /etc/tarantool/instances.available [ !! ]
  • ERROR: tarantool failed to start

I have instances in /etc/tarantool/instances.available but not with that name. I saw there is a ${RC_SVCNAME} variable in the init script, but where could i set this? What is the best practice for that? conf.d? env.d? What if i have more instances?
I'd like to do this in the recommended way. ;-)
Thx.

Remove -DENABLE_DOC=ON

Documentation has been moved to a separate repository. Currently it is not usaable without our web-site. I think we can safely remove it from the ebuild.

  • Remove -DENABLE_DOC=ON
  • Remove CMAKE_IN_SOURCE_BUILD=1
  • Remove doc? ( app-text/jing www-client/lynx app-text/docbook-xml-dtd app-text/docbook-xsl-ns-stylesheets app-text/docbook-xsl-stylesheets) deps

Update request

Would you update the overlay? I'm interested in 2.6.2 stable and 2.7.1 beta
Additionally nginx-1.19.x and queue-1.1.0 would be good.
Thank you.

Compile error in httpc.c

Tarantool 1.10.2.1 compiled perfectly in November, last year. Now I got this on all servers:

...
[ 22%] Building C object src/CMakeFiles/server.dir/httpc.c.o
cd /var/tmp/portage/dev-db/tarantool-1.10.2.1/work/tarantool-1.10.2.1_build/src && /usr/bin/x86_64-pc-linux-gnu-gcc -DCORO_ASM -DLUAJIT_SMART_STRINGS=1 -DNDEBUG -DNVALGRIND -DNVALGRIND=1 -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS=1 -D__STDC_FORMAT_MACROS=1 -D__STDC_LIMIT_MACROS=1 -I/var/tmp/portage/dev-db/tarantool-1.10.2.1/work/tarantool-1.10.2.1/src -I/var/tmp/portage/dev-db/tarantool-1.10.2.1/work/tarantool-1.10.2.1_build/src -I/var/tmp/portage/dev-db/tarantool-1.10.2.1/work/tarantool-1.10.2.1/src/lib -I/var/tmp/portage/dev-db/tarantool-1.10.2.1/work/tarantool-1.10.2.1/src/lib/small -I/var/tmp/portage/dev-db/tarantool-1.10.2.1/work/tarantool-1.10.2.1/src/lib/small/third_party -I/var/tmp/portage/dev-db/tarantool-1.10.2.1/work/tarantool-1.10.2.1 -I/var/tmp/portage/dev-db/tarantool-1.10.2.1/work/tarantool-1.10.2.1/third_party/zstd/lib -I/var/tmp/portage/dev-db/tarantool-1.10.2.1/work/tarantool-1.10.2.1/third_party/zstd/lib/common -I/var/tmp/portage/dev-db/tarantool-1.10.2.1/work/tarantool-1.10.2.1_build/third_party -I/var/tmp/portage/dev-db/tarantool-1.10.2.1/work/tarantool-1.10.2.1/third_party -I/var/tmp/portage/dev-db/tarantool-1.10.2.1/work/tarantool-1.10.2.1/third_party/coro -I/var/tmp/portage/dev-db/tarantool-1.10.2.1/work/tarantool-1.10.2.1/third_party/luajit/src -I/var/tmp/portage/dev-db/tarantool-1.10.2.1/work/tarantool-1.10.2.1/src/lib/msgpuck -I/var/tmp/portage/dev-db/tarantool-1.10.2.1/work/tarantool-1.10.2.1/third_party/libutil_freebsd -march=nehalem -O2 -pipe -fexceptions -funwind-tables -fno-omit-frame-pointer -fno-stack-protector -fno-common -fopenmp -msse2 -std=c11 -Wall -Wextra -Wno-strict-aliasing -Wno-char-subscripts -Wno-format-truncation -fno-gnu89-inline -Wno-cast-function-type -ggdb -O2 -o CMakeFiles/server.dir/httpc.c.o -c /var/tmp/portage/dev-db/tarantool-1.10.2.1/work/tarantool-1.10.2.1/src/httpc.c
/var/tmp/portage/dev-db/tarantool-1.10.2.1/work/tarantool-1.10.2.1/src/httpc.c: In function ‘httpc_execute’:
/var/tmp/portage/dev-db/tarantool-1.10.2.1/work/tarantool-1.10.2.1/src/httpc.c:337:2: error: duplicate case value
case CURLE_PEER_FAILED_VERIFICATION:
^~~~
/var/tmp/portage/dev-db/tarantool-1.10.2.1/work/tarantool-1.10.2.1/src/httpc.c:336:2: note: previously used here
case CURLE_SSL_CACERT:
^~~~
/var/tmp/portage/dev-db/tarantool-1.10.2.1/work/tarantool-1.10.2.1/src/httpc.c: At top level:
cc1: warning: unrecognized command line option ‘-Wno-cast-function-type’
make[2]: *** [src/CMakeFiles/server.dir/build.make:444: src/CMakeFiles/server.dir/httpc.c.o] Error 1
make[2]: Leaving directory '/var/tmp/portage/dev-db/tarantool-1.10.2.1/work/tarantool-1.10.2.1_build'
make[1]: *** [CMakeFiles/Makefile2:750: src/CMakeFiles/server.dir/all] Error 2
make[1]: Leaving directory '/var/tmp/portage/dev-db/tarantool-1.10.2.1/work/tarantool-1.10.2.1_build'
make: *** [Makefile:152: all] Error 2

  • ERROR: dev-db/tarantool-1.10.2.1::tarantool failed (compile phase):
  • emake failed

I reemerged curl, gcc, glibc and so, but same result.
curl has ssl and openssl use flags.

Please help!

ICU needed

I made a new install on a new server and I get this:

CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
Could NOT find ICU (missing: ICU_INCLUDE_DIR ICU_LIBRARY_I18N
ICU_LIBRARY_UC)

I solved it with a:

emerge -1 icu

but i think a dependency would be good. Would you fix that?

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.