169 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
2
votes
0
answers
50
views
Serilialize with thrift to a file performance problem
I'm working on serializations and need to make some benchmarks on Apache Thrift. But I have very long serialization times. Compared to Protobuf, I have more than 100x average times. What am I doing ...
1
vote
0
answers
89
views
how to serialize a thrift object properly in C (glib)?
I need to serialize a thrift struct in C (glib) such that I can deserialize it in python. Note that I am using my own transport here.
Suppose I have a structed defined in thrift such as the following:
...
0
votes
1
answer
460
views
How to deserialize a Thrift object string in Java
I have a string representation of my Thrift object as follows:
objStr = "MyObject(id:1, name:abc xyz, flag:true)"
I want to convert it back into the thrift object itself. How can I do this?
...
0
votes
1
answer
73
views
TException:MISSING_RESULT thrift exception on T_COMPACT_PROTOCOL asynchrounsly thrift client call
I'm using C++ asynchronously thrift for IPC inside my application.
One client of my thrift is connected to the server using T_PROTOCOL_COMPACT protocol using TCompactProtocolFactory (and of course the ...
1
vote
0
answers
290
views
eBPF sk_skb programs lead to connection issues for Thrift RPCs
Edit: The service I was using, uses Thrift as the rpc framework. It turns out that Thrift RPCs have a problem with SK_SKB messages. Using the CPP Tutorial from thrift repo also fails when a SK_SKB ...
0
votes
1
answer
686
views
Is there thrift support for alias
This question is similar to Is it possible to define an alias for type (enum or message) in google protobuf?
But I want to know if thrift supports similar function. I couldnt find any such in ...
0
votes
0
answers
107
views
Thrift client type cannot be resolved c++
I'm hoping to reuse an opened thrift connection to send/recieve multiple messages/responses over the duration of a session.
The client is created in the file
Client.h
#include <iostream>
#...
0
votes
1
answer
184
views
Access to Hbase over Thrift with Knox
Hbase has a couple of wrapper services that help access it. They are Thrift and Rest services.
We are using Apache Knox to access these services. We can use Knox WEBHBASE service to access Hbase via ...
0
votes
1
answer
49
views
is it able to directly use socket() API in server while use thrift lib in client?
Is it able to directly use socket() API in server while use thrift lib in client?
As directly use the API include socket(), write(), etc, there is no Protocol here, directly write a struct.
While in ...
0
votes
1
answer
859
views
How to deserialize using Thrit TBinaryProtocol
I havea thrift file that was serialized with TBinaryProtocol. I want to deserialize this file to read it's content. What's the best approach to do it?
I am using thrift:
from thrift....
0
votes
0
answers
227
views
c++ thrift serialize multiple objects to vector<string> only end with the last object result
The code is :
std::vector<std::string*> itemDataList;
for(int i = 0 ; i<4; i++){
ctr::ZwItem zwItem;
zwItem.news = newsList[i];
zwItem.__isset.news = true;
boost::shared_ptr&...
0
votes
1
answer
508
views
Python Thrift client immediately returning before result can be calculated
I have a Apache Thrift Client in Python which seemed to work fine for all calls except one.. when I perform this one API call .. instead of properly waiting for the result.. it just immediately ...
0
votes
1
answer
34
views
How TThreadedSelectorServer support saml ?
How to using SAML with TThreadedSelectorServer ? i really can not find any articals for it.
In my understanding, TThreadedSelectorServer is an advanced server based on NIO, so I want to use SAML ...
0
votes
2
answers
1k
views
Decoding Thrift Object what are these extra bytes?
I'm working on writing a pure JS thrift decoder that doesn't depend on thrift definitions. I have been following this handy guide which has been my bible for the past few days: https://erikvanoosten....
0
votes
0
answers
418
views
How can a NodeJS or Browser JS Thrift client consumer introspect Thrift response headers?
We're using Thrift as our IDL/transport layer between a backend service, and a browser JS client, as well as, soon a NodeJS web server.
For scaling purposes, we have a requirement that we need to ...