@SergejJurecko Does the thrift interface support anonymous connections?
The reason I'm asking is that, I'm planning on running ActorDB within a private network and do not need to authenticate connecting clients. If I can do away with the login
step, that reduces one network round trip from my application which will make a considerable difference in my application performance.
@SergejJurecko Hello, what's the following error stands for;
2018-12-05 04:38:27.195 [error] <0.136.0> actordb_local 478 Scheduler delay 575ms
2018-12-05 04:38:27.434 [error] <0.136.0> actordb_local 478 Scheduler delay 239ms
2018-12-05 04:38:27.639 [error] <0.136.0> actordb_local 478 Scheduler delay 204ms
...
I got multiple lines of this error after a couple of hours of migration application with heavy usage, using about #512 actordb clients. I get same error for both framed
and buffered
thift transport using binary
protocol. Meanwhile these errors occur, client connections refused stated as;
Thrift: Thu Dec 5 04:38:27 2018 TSocket::open() error on socket (after THRIFT_POLL) <Host: localhost Port: 33306>Connection refused
Point 2. Is it possible to do:
ACTOR customer(101);
select {{curactor}} from impression where event_ts > 12432342 and event_ts < 12432999 having COUNT(1) >= 5;
Seems like SQLite doesn't like it. Must have a group by.
==> bkdcore (compile)
/path/to/actordb/deps/bkdcore/src/bkdcore_mochi.erl:none: error in parse transform 'lager_transform': {badarg,
[{erlang,integer_to_list,
[{46,2}],
[{error_info,
#{module =>
erl_erts_errors}}]},
{lager_transform,make_varname,
2,
[{file,
"src/lager_transform.erl"},
{line,271}]},
{lager_transform,do_transform,
5,
[{file,
"src/lager_transform.erl"},
{line,176}]},
{lager_transform,walk_body,2,
[{file,
"src/lager_transform.erl"},
{line,90}]},
{lager_transform,walk_clauses,
2,
[{file,
"src/lager_transform.erl"},
{line,85}]},
{lager_transform,walk_ast,2,
[{file,
"src/lager_transform.erl"},
{line,67}]},
{compile,foldl_transform,3,
[{file,"compile.erl"},
{line,1145}]},
{compile,fold_comp,4,
[{file,"compile.erl"},
{line,416}]}]}
Compiling /path/to/actordb/deps/bkdcore/src/bkdcore_mochi.erl failed:
ERROR: compile failed while processing /path/to/actordb/deps/bkdcore: rebar_abort
make: *** [Makefile:36: compile] Error 1
else ifeq ($(shell cat /etc/redhat-release | cut -d' ' -f1),Fedora)
SHELLCMD = gcc c_src/cmdshell.c -lreadline -lncurses -o priv/cmdshell