Re: Questions about SQL interface

2018-01-22 Thread Wolfram Huesken
Hello Slava, the workaround totally works for me, I already have an Interceptor for certain caches anyway. Thanks a lot for looking into this. Will you take care of the jira ticket, too? Cheers Wolfram On 23/01/2018 06:19, slava.koptilin wrote: Hello, Here is the SQL statement and the exc

Re: Questions about SQL interface

2018-01-19 Thread Wolfram Huesken
Hello Slava, On 19/01/2018 19:48, slava.koptilin wrote: Hello Wolfram, 1. Duplication of table entries in sqlline (!tables) This is a known issue https://issues.apache.org/jira/browse/IGNITE-7277 This bug has been resolved in master branch and will be available in Apache Ignite 2.4. I see,

Re: Reconnect after cluster shutdown fails

2017-12-26 Thread Wolfram Huesken
Hello Dmitry, thank you very much, I'll try that! Cheers Wolfram On 26/12/2017 22:50, dkarachentsev wrote: Hi, Discovery events are processed in a single thread, and cache creation uses discovery custom messages. Trying to create cache in discovery thread will lead to deadlock, because discov

Reconnect after cluster shutdown fails

2017-12-23 Thread Wolfram Huesken
Hello together, I have one client and one server, it's no problem to kill the client and restart it, it always has access to the server's cache after the restart is finished. When I stop the server (to simulate a full cluster shutdown) and restart it after waiting for a couple of seconds the

Re: Soft copy High Performance in-memory computing with Apache Ignite Book by Michael Zheludkov, Shamim Bhuiyan, and Timur Isachenko

2017-12-21 Thread Wolfram Huesken
Hello Naveen, you can order the eBook here: https://leanpub.com/ignite I just bought it myself today :-) Cheers Wolfram On 21/12/2017 20:27, Naveen wrote: Hi Igniters I am planning to buy this book from Amazon, but the delivery takes 2 weeks to deliver to India. Can anyone has soft copy of th

Re: PHP and Apache Ignite - very slow query

2017-12-12 Thread Wolfram Huesken
b/libignite-odbc.so Setup=/usr/local/lib/libignite-odbc.so DriverODBCVer=03.00 FileUsage=0 UsageCount=1 So, my question I still actually :) -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/ -- Wolfram Huesken 27 Paya Lebar Road #11-03 Paya Lebar Residences Paya Lebar 409042 Singapo

Re: PHP and Apache Ignite - very slow query

2017-12-12 Thread Wolfram Huesken
Hi! If you don't run both queries from PHP, you cannot really compare the results. Running queries from the mysql console means that you don't have to establish a connection, which takes quite some time. You don't have to use ODBC to connect to MySQL, PDO will do a fine job and makes your da

Re: Redis problem with values > 8kb

2017-12-10 Thread Wolfram Huesken
Hello Alexey, thanks for looking into this. It's rather odd this only happens with the PHP Redis client, but for me it doesn't matter. I will either use a Memcached implementation in front of a client or a Spring based HTTP API on the server nodes to connect other languages. If you need anyt

Re: Redis problem with values > 8kb

2017-11-29 Thread Wolfram Huesken
Hello Alexey, sorry for the delayed answer, here's the PHP example which demonstrates the problem: https://gist.github.com/wolframite/ee23b08bdd26bc1284cacc5259b850f8 Cheers Wolfram On 28/11/2017 03:15, Alexey Popov wrote: Wolfram, The buffer size is hardcoded now, but it could be made con

Re: Redis problem with values > 8kb

2017-11-27 Thread Wolfram Huesken
Hello Alexey, I'm currently running OpenJDK 1.8 on Linux (4.9.65-1-MANJARO): openjdk version "1.8.0_144" OpenJDK Runtime Environment (build 1.8.0_144-b01) OpenJDK 64-Bit Server VM (build 25.144-b01, mixed mode) I tested it with a PHP application, because I wanted to connect a legacy service whi

Redis problem with values > 8kb

2017-11-26 Thread Wolfram Huesken
Hello together, I'm just playing around with the Redis protocol a bit, but found that it's impossible to write values > 8-9kb I get the following exceptions: https://gist.github.com/wolframite/33b9913bc5bcc09406db4c4115cbf13e My ignite setup looks fairly simple: IgniteConfiguration config =

Memcached doesn't store flags

2017-11-25 Thread Wolfram Huesken
Hello together, Ignite's current Memcached implementation doesn't store the flags value which comes with the set command. As Memcached can only store strings, memcached clients usually use this as a workaround to store the datatype and later restore the string from memcached to the original da