Re: Python client: create cache with expiration policy

2019-06-03 Thread kulinskyvs
Hi,

Are we talking about the same? I mean, my goal is to create a cache (if not
yet created) with some predefined expiration policy in order to be able to
set the expiration timeout for key/value pair put into Ignite.

Looks like  you are referring to
https://apacheignite.readme.io/docs/partition-loss-policies,
while I'm interested in https://apacheignite.readme.io/docs/expiry-policies.

Thanks.

Best regards,
Vadzim Kulinski



--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/


Python client: create cache with expiration policy

2019-06-03 Thread kulinskyvs
Hello all,

I'm wondering whether it's possible to create a cache with  expiration
policy    defined from
Python client?

Documentation says nothing about this.

Thank you in advance.



--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/


Re: Store raw binary value in Apache Ignite through thin python client

2019-05-16 Thread kulinskyvs
Hi,

Thank you for your feedback!
Just for information - I've also created a stackoverflow question
(https://stackoverflow.com/questions/56127565/store-raw-binary-value-in-apache-ignite-through-thin-python-client)
related to this topic > I'll post the JIRA issue link there.



--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/


Store raw binary value in Apache Ignite through thin python client

2019-05-14 Thread kulinskyvs
I'm trying to save some raw binary data into Apache Ignite using thin Python
client and the process is very slow (actually it looks like it depends on
the size of the data).

For my simple test case I've started locally Ignite with single node
(version 2.7.0 without any specific configuration):


Also, I have a binary file with the content I want to store in Ignite. The
size if around 6MB. Here is my source code:


After *my_cache.put *the process just freezes. I haven't even managed to
wait till the end (I've terminated it after 2 minutes).

However, passing the file content transformed into a string works very fast
.


What I'm missing?



--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/