Re: IgniteUtils#currentTimeMillis

2017-08-09 Thread Evgeniy Stanilovskiy
I assume that Vladimir mention this mesurements: https://shipilev.net/blog/2014/nanotrusting-nanotime/ can we simple measure with JMH x86 and arm our realization vs system call? As Dmitry P mentioned System.currentTimeMillis() is JVM intrinsic. Moreover, there is a daemon thread that updates the

Re: Performance vs correctness: I vote fore the second

2017-04-20 Thread Evgeniy Stanilovskiy
Guys, hope i can add one more example here. Ones we use IgniteAtomicSequence, after topology changes some assertions can be catched due to default AtomicConfiguration i.e. public static final int DFLT_BACKUPS = 0; public static final CacheMode DFLT_CACHE_MODE = PARTITIONED; minimal imp

compute broadcast with PCL environment question

2017-04-06 Thread Evgeniy Stanilovskiy
hi, Igniters. I have a question about compute broadcast behavior with peer class loading enabled. Look, my test schema was like: 1-jvm PureServerApp - pure server GG node. 2-jvm FirstComputeRunner - first compute runner node. 3-jvm SecondComputeRunner - second compute runner node. and my case

IGNITE-3605

2017-03-20 Thread Evgeniy Stanilovskiy
hello Igniters, i try to investigate bug in jmx metrics ticket: https://issues.apache.org/jira/browse/IGNITE-3605, wrote some comments there, can anyone hint me - what kind of changes are applicable here: 1. client node need to send "cacheMetrics" too, through TcpDiscoveryClientHeartbeatMessa

ignite analysis with jepsen

2017-02-15 Thread Evgeniy Stanilovskiy
Hello Igniters, There is fresh doc about mongodb analysis with jepsen tool: https://jepsen.io/analyses/mongodb-3-4-0-rc3 Looks like mongo soon would be production ready database ) And what do you think about the same analysis for ignite? I have no deal with jepsen but has a lot of positive feed

Re: Inaccurate documentation about transactions

2017-02-15 Thread Evgeniy Stanilovskiy
postgres has the different viewpoint, i hope. https://www.postgresql.org/docs/9.1/static/transaction-iso.html Read Committed Isolation Level Read Committed is the default isolation level in PostgreSQL. When a transaction uses this isolation level, a SELECT query (without a FOR UPDATE/SHARE

Re: How to improve SQL testing

2017-01-31 Thread Evgeniy Stanilovskiy
Sergey, did you take a look into https://en.wikipedia.org/wiki/YCSB ? https://github.com/joshwilliams/YCSB there is simple jdbc connector looks like it would be ok for us ? Hi, That’s true that the utility/testing framework needs to be as flexible as possible. If the community can’t reuse an

Re: scripting languages base cases using swig

2017-01-17 Thread Evgeniy Stanilovskiy
-fledged-sql-support-for However, as for SWIG. Do you think it’s feasible to implement on top of Ignite.C++ client which is tightly coupled with JVM? [1] https://apacheignite.readme.io/docs/sql-grid <https://apacheignite.readme.io/docs/sql-grid> — Denis On Jan 16, 2017, at 11:46 PM, E

scripting languages base cases using swig

2017-01-16 Thread Evgeniy Stanilovskiy
Hi all. Not so long ago i had to know that ignite had reduced functionality support in scripting languages. So, idea was to take an existing C++ client and using SWIG (http://www.swig.org) as automatic wrapper, generate clients for absence scripting languages. What do you think about this c