Bulk UDP via Python?


(Roy Smith) #1

I want to use the bulk udp API with Python. I've got elasticsearch 0.4.2
installed. As far as I can tell from looking at the source, it doesn't
support UDP. Is it there and I'm just not seeing it?

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


(Honza Král) #2

Hi Roy,

no, it does not support UDP, you can, however, use thrift that might help a
bit ith performance.

Honza

On Wed, Oct 16, 2013 at 2:50 AM, Roy Smith roysmith649@gmail.com wrote:

I want to use the bulk udp API with Python. I've got elasticsearch 0.4.2
installed. As far as I can tell from looking at the source, it doesn't
support UDP. Is it there and I'm just not seeing it?

--
You received this message because you are subscribed to the Google Groups
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


(Roy Smith) #3

On Tuesday, October 15, 2013 8:52:26 PM UTC-4, Honza Král wrote:

Hi Roy,

no, it does not support UDP, you can, however, use thrift that might help
a bit ith performance.

I was afraid of that. I'll probably end up rolling my own. It's not so
much the performance I'm worried about, it's the possibility that my app
will hang if the elasticsearch server becomes unreachable.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


(Norberto Meijome) #4

Then probably UDP isn't the right answer... You should look at a queuing
system....
On 16/10/2013 11:59 AM, "Roy Smith" roysmith649@gmail.com wrote:

On Tuesday, October 15, 2013 8:52:26 PM UTC-4, Honza Král wrote:

Hi Roy,

no, it does not support UDP, you can, however, use thrift that might help
a bit ith performance.

I was afraid of that. I'll probably end up rolling my own. It's not so
much the performance I'm worried about, it's the possibility that my app
will hang if the elasticsearch server becomes unreachable.

--
You received this message because you are subscribed to the Google Groups
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


(Roy Smith) #5

On Tuesday, October 15, 2013 9:43:15 PM UTC-4, Norberto Meijome wrote:

Then probably UDP isn't the right answer... You should look at a queuing
system....

I can accept that data is lost if elasticsearch goes down, but I can't
accept that my app hangs, so UDP seems like the right answer to me.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


(Norberto Meijome) #6

Well, you can also lose UDP without ES going down. But, hey, it's your app
:slight_smile:
On 17/10/2013 10:10 AM, "Roy Smith" roysmith649@gmail.com wrote:

On Tuesday, October 15, 2013 9:43:15 PM UTC-4, Norberto Meijome wrote:

Then probably UDP isn't the right answer... You should look at a queuing
system....

I can accept that data is lost if elasticsearch goes down, but I can't
accept that my app hangs, so UDP seems like the right answer to me.

--
You received this message because you are subscribed to the Google Groups
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


(system) #7