Size: a a a

2016 April 20

AR

Anton Reznikov in Tarantool
спасибки
источник

R

R-omk in Tarantool
использую именно его в своих докер контейнерах  .. аля  docker exec  -it  mytnt console
источник

DK

Dmitry Krokhin in Tarantool
ещё удобно что клиент запоминает историю комманд.
запускаю tarantool, нажимаю несколько раз вверх до строчки require('console').connect('localhost:3301')
источник

AR

Anton Reznikov in Tarantool
Удобно, что аргументы командной строки доступны :)
источник

R

R-omk in Tarantool
где доступны аргументы?
источник

AR

Anton Reznikov in Tarantool
в lua, можно накрутить разных опций к скрипту
источник

YS

Yura Sokolov in Tarantool
maze
I am having troubles with the Golang client, is that officially supported by you or is it third party?
I'm secondary author. And you can always use github issues https://github.com/tarantool/go-tarantool/issues
источник

YS

Yura Sokolov in Tarantool
What kind of trouble?
источник

m

maze in Tarantool
@funny_falcon my question was more why there is no streaming channel decoder, everything seems to use in-memory buffer however large the data set
источник

R

R-omk in Tarantool
Anton Reznikov
в lua, можно накрутить разных опций к скрипту
ха.. если придумаешь как   docker exec mytnt console mystat
запускать чтото подобное и получать в ответ вывод в stdout  будет вообще круто,  можно прикручивать сразу статистику к заббиксу , здесь mystat что чтото типа вызова lua функции
источник

YS

Yura Sokolov in Tarantool
@pd0mz but tarantool itself uses in-memory buffer before sending response (if I understand right). So you already hit tarantool itself if you try to send large response.
источник

m

maze in Tarantool
it sends single msgpacked response, but the client can decode it per chunk and send it down a channel
источник

m

maze in Tarantool
it makes me wonder why Select() for example returns a single Response.Data as []interface{} because almost always it's a [][]interface{}
источник

YS

Yura Sokolov in Tarantool
Well, it were never specified in the protocal that data is an array of arrays. And looks like this will change in 1.7 - lua procedure will be able to return arbitrary shaped response.
источник

YS

Yura Sokolov in Tarantool
maze
it sends single msgpacked response, but the client can decode it per chunk and send it down a channel
It is possible to add GetRawBuffer to Future... but it will be your responsibility to reimplement decoding https://github.com/funny-falcon/go-tarantool-1.6/blob/master/response.go#L51
Is it what you want?
источник

m

maze in Tarantool
right now both client and server buffer full msgpack buffer before AND after serializing?
источник

KO

Konstantin Osipov in Tarantool
That is true for server, yes
источник

YS

Yura Sokolov in Tarantool
источник

m

maze in Tarantool
@funny_falcon yes I have read through the code thoroughly, thanks though 😁
источник

YS

Yura Sokolov in Tarantool
Simplest way is to rename Future.wait into Future.Wait (so make it public)
источник