Hi protobuf experts,
I am trying to use protobuf static libraries with cmake configurations.
Now it can build and run successfully for windows and mac.
But for linux, I always get the unresolved link errors as below, can anyone
help on this?
link errors:
/opt/rh/gcc-toolset-12/root/usr/libexec
Hi!
Unmarshaling (e.g. from JSON) into google.protobuf.Duration currently
accept only a string with float seconds with "s" suffix.
I think it would be useful to support same values as time.ParseDuration
<https://golang.org/pkg/time/#ParseDuration>.
WBR, Alex.
--
You recei
I'm getting tired of the spam in this group. Where are the owners of this
group. They should kick out abusive Interview poster out of this group.
I'm marking his posts as abusive, but that doesn't seem to help. I'm
thinking about leaving this group as the spam is too much.
Thanks.
--
You rec
Hello Associates,
I have an Immediate need for a Systems Engineer with Electrical Experience.
Kindly share suitable profiles at maz...@mirthconsulting.net
Job Title : Systems Engineer with Electrical Experience
Location : Columbus, IN
Duration : 6 month
Hello Associates,
Looking for *System Engineer with Electrical experience With *my client
in *Columbus, IN.*
*Need consultants with 4 to 6 Years of experience…..*
*Job Title : System Engineer with Electrical experience*
*Location : **Columbus, IN.*
*No. of Positions - 2 *
*Rate: $40/hr. o
Hello Associates,
I have a very HOT need for *Sr React JS Architect*. I have an excellent
project with my client at *San Francisco CA.*
*Job: **Sr React JS Architect*
*Location:-* *San Francisco CA*
*Duration*:- 6+ month’s contract
*Mandatory Skills:*
Strong development skills on front-e
Hello Associates ,
I have a very HOT need for 3 + Years of .Net Application Developer. I have
an excellent project with my client at Columbus, IN.
Job Title : 3 + Years of .Net Application Developer
Location : Columbus, IN
Duration : 12 + months
Rate
Hello Associates,
I have a very HOT need for 3 + Years of .Net Application Developer. I have
an excellent project with my client at Columbus, IN.
Job Title : 3 + Years of .Net Application Developer
Location : Columbus, IN
Duration : 12 + months
Rate
Hello Associates,
I have a very HOT need for 3 + Years of .Net Application Developer. I have
an excellent project with my client at Columbus, IN.
Job Title : 3 + Years of .Net Application Developer
Location : Columbus, IN
Duration : 12 + months
*Rate
Hello Associates,
Looking for ll *Cloud Specialist with 6 years consultant** ll *for my
client in *Auburn Hills, MI.*
Job: *Cloud Specialist with 6 years consultant*
*Location:-** Auburn Hills, MI.*
*Duration:- 6 months +*
*Rate : $40/hr*
*Kindly share profile at* : *maz...@mirthconsulting.n
Hello Associates,
Looking for *ll Cloud Specialist with 6 years consultant* *ll *for my
client in *Auburn Hills, MI.*
Job: *Cloud Specialist with 6 years consultant.*
*Location:-** Auburn Hills, MI.*
*Duration:- 6 months +*
*Rate : $40/hr*
*Mandatory Skills:*
*Python, Shell, Bash, Batch,
Hello Associates,
Looking for* Embedded Engineer with Ethernet experiences* for my client in
Shoreview, MN
Job Title : *Embedded Engineer with **Ethernet experiences*
Location: Shoreview, MN
Length: 6 Months++
Interview Process: Zoom Technical test, if candidate gets all questions
right then
Hello Associates,
Looking for ll Embedded Engineer with Ethernet expert ll for my client in
Shoreview, MN.
Job Title : Embedded Engineer with AUTOSAR Ethernet expert
Rate: $55/hr. on C2C
Location: Shoreview, MN.
Duration : 1+ years
Exp : 7 years
Kindly share updated profile at *maz...@mirt
Hello Associates,
Looking for ll Embedded Engineer with Ethernet expert ll for my client in
Shoreview, MN.
Job Title : Embedded Engineer with AUTOSAR Ethernet expert
Rate: $55/hr. on C2C
Location: Shoreview, MN.
Duration : 1+ years
Exp : 7 years
Kindly share updated profile at *maz...@mirt
s this the correct forum to ask for these types of things?
Thanks very much,
-Alex
--
You received this message because you are subscribed to the Google Groups
"Protocol Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to protobuf+unsubscr
statedgy going forward for sure, one issue is having to include
that definition everywhere but we can manage that.
Thanks for the interest
On 9 April 2020 at 12:27:14, Alex Van Boxel (a...@vanboxel.be) wrote:
If I understand you correctly you want to generate Go, Js and Typescript
code out of your
don't use options for this, but we use it a-lot in our Big Data
pipelines.
_/
_/ Alex Van Boxel
On Thu, Apr 9, 2020 at 12:48 PM Alex Barlow wrote:
> Hi all,
>
> I'm a big user of protobuf in several roles now and a common theme is
> recreating the publish and subscribe p
Hi all,
I'm a big user of protobuf in several roles now and a common theme is
recreating the publish and subscribe pattern as well as RPC with
protobuffers. In particular our use case at the moment is publish protobuf
messages to Google Pub Sub, but have also used/experimented with
Kafka/Nats/
Congratulations, cool to see other people using it ;-)
Indeed, I rather have it part protobuf-java before haven maven-artifact.
You can fill issues on the metastore repo, it's not abandoned. It's
activity developed (I'll copy issues over when a move is ever node.
_/
_/ Alex Van
Actually your question triggered something I wanted todo for a long time.
You could join the discussion on this thread:
https://groups.google.com/forum/#!topic/protobuf/NrhCXiXIfxk
_/
_/ Alex Van Boxel
On Fri, Feb 21, 2020 at 1:23 PM ittai zeidman wrote:
> Nice! Thanks :)
> I’ll try
Hi all,
I have 2 utility classes for the Java implementation I like to donate to
the java implementation:
https://github.com/anemos-io/metastore/tree/master/putils
I've been using it into our protobuf schema registry but they stand on it's
own:
ProtoDomain:
- wrapper around FileDescriptor
/ProtoLanguageFileWriter.java
It currently only support proto3.
_/
_/ Alex Van Boxel
On Fri, Feb 21, 2020 at 11:02 AM Nadav Samet wrote:
> Hi Ittai,
>
> It sounds like you are expecting your plugin to emit proto files in text
> format. Your code is assigning binary data into the file's co
That why you have the Well Known Wrapper Types. They are included in the
proto repo and live right next to the Timestamp and Duration:
https://github.com/protocolbuffers/protobuf/blob/master/src/google/protobuf/wrappers.proto
On Thu, Aug 22, 2019, 10:43 Denis Feklushkin
wrote:
>
>
> пн, 12 авг.
king with proto's as a source for your code (be it go
or something else) is that you change your thinking pattern. It makes you
think about your contract, it's easy to keep compatible because you know
and see what you are doing with your messages.
_/
_/ Alex Van Boxel
On Thu, Aug 22,
contracts should be decoupled from the
versioning of your microservice. I hope this helps.
_/
_/ Alex Van Boxel
On Fri, Jun 28, 2019 at 12:03 PM 'anand' via Protocol Buffers <
protobuf@googlegroups.com> wrote:
> Team,
>
> How can i achieve the versioning in protocol buffer
I'm curious if there is an existing set of proto definitions (similar to
Well-Known-Types) for scientific units. Ideally something similar to
squants in Scala: https://github.com/typelevel/squants, but doesn't need to
be nearly as expressive. I imagine it wouldn't be too hard to define for
the
Hi all, I got a wild idea... The well know types is used a lot but they are
cumbersome to write.As a contract first DSL this is not really readable.
What if we could get rid of the complete package. It could be as simple as
replacing the package of WKT by !
Example for wrappers:
message ProtoB
ow how to workaround this issue? I rather not have to modify
the protobuf library code to fix it.
Thanks,
-Alex
--
You received this message because you are subscribed to the Google Groups
"Protocol Buffers" group.
To unsubscribe from this group and stop receiving emails from
Lets say I have the following messages:
message A {
int foo = 1;
}
message B {
int bar = 1;
}
message C {
oneof asdf {
A A = 1;
B B = 2;
}
}
If A and B are embedded inside C like:
message C {
message A {
int foo = 1;
}
message B {
in
We ultimately found an alternative method of handling this issue.
The problem we were getting was that the binary (more accurately the
dynamic loader) was finding the wrong version of C++ standard library,
basically it was picking up our ARM libstdc++ because that was in the
LD_LIBRARY_PATH.
-
@Adam Cozzette I have a further need to also control which libraries
js_embed uses at run time as the necessary run time libraries are not in
the standard system search paths. Is there a way to add an
LD_LIBRARY_PATH_FOR_BUILD type environment variable, or some other way of
controlling this?
-
o use protos in this way? Is it safe to use a subset of protos
in this way (for example, I think map fields are not canonically
serilalised, because ordering is not defined, but maybe other field types
are ok)?
Thanks,
Alex
--
You received this message because you are subscribed to th
quirement of a key is that the same key must serialise to the
> same bytes (Kafka is only aware of bytes - nothing else).
>
> Is what I'm doing safe? Is it safe for some subset of proto field types
> (for example, I'm already pretty sure it's not safe for map types be
s no canonical ordering, right?)?
Thanks,
Alex
--
You received this message because you are subscribed to the Google Groups
"Protocol Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to protobuf+unsubscr...@googlegroups.com.
To po
d code to use unique_ptr instead of it's raw pointers to more
> clearly express the ownership semantics.
>
> For your use case, why can't you just copy the sub message you are
> interested in? What use case would rule that out as an option?
>
> On Friday, July 21, 2
message. That way you can always still access the
> submessage or at least observe if it has been cleared, without risk of a
> dangling pointer.
>
> On Wed, Jul 19, 2017 at 11:08 AM, Alex Shaver > wrote:
>
>> If I have a
>> message Foo{
>>Bar bar = 1;
>
If I have a
message Foo{
Bar bar = 1;
}
I can get a
Bar* bar = foo.mutable_bar();
I'd like to be able to get, at the very least
std::weak_ptr bar = foo.mutable_bar();
if not a std::shared_ptr.
I have an issue where an object has to hold a raw pointer to a submessage,
and it is poss
rrors ={ field1: [], field2: ['Dummy error message'] };
>>
>> response.setSuccess(valid); // this works ok
>>
>> forEachObjIndexed((fieldErrors, fieldName) => {
>> errorsMap.set(fieldName, fieldErrors); // this blows up
>> });
>>
>>
his works ok
forEachObjIndexed((fieldErrors, fieldName) => {
errorsMap.set(fieldName, fieldErrors); // this blows up
});
Adding a field to the map via the set method crashes with a TypeError:
b.toArray is not a function.
Can anyone lend a hand and point me to what I'm doing wrong here?
Thank you!
Alex
fixed in the latest release.
> https://github.com/google/protobuf/blob/2f4489a3e504e0a4aaffee69b551c6acc9e08374/src/google/protobuf/util/message_differencer.cc#L470
>
> On Wed, Jun 7, 2017 at 2:29 PM Alex Shaver > wrote:
>
>> Reading through the source, it does seem li
dnesday, June 7, 2017 at 5:06:37 PM UTC-4, Alex Shaver wrote:
>
> When I have a list of "Any"s, and I want to find if an element in the list
> matches some other 'Any' protobuf, I try to use the
> util::MessageDifferencer::Equals and I get errors "Compariso
When I have a list of "Any"s, and I want to find if an element in the list
matches some other 'Any' protobuf, I try to use the
util::MessageDifferencer::Equals and I get errors "Comparison between two
messages with different descriptors." I've tried a
message1.GetDescriptor() == message2.GetDes
ng executable
> code (of any kind) - less of a concern for server-to-client, but not
> removed. Think "XSS", for a trivial example.
>
> On 30 May 2017 7:18 p.m., "Alex TS" >
> wrote:
>
> Hey everyone,
> I'm quite new to Protocol Buffers and don
Hey everyone,
I'm quite new to Protocol Buffers and don't really have a background on the
theme, so pardon me if this sounds absurd or if this is not the right forum.
With that out of the way, if I'd like to transfer say, a method, from the
server to execute on the client. Is that possible at al
1;
> repeated Subscriber subscriber = 2;
> }
>
> extend google.protobuf.ServiceOptions {
> Subscribers subscribers = ;
> }
>
> service Greeter {
> option (subscribers) = {
> publisher {
> name: HELLO
> returns: HELLO_REPLY
> }
>
Hi all,
I was hoping for some advice for designing my publish subscribe system on
top of protobuf and rpc.
The idea is that a developer may have defined set of messages, a normal
service and some rpc methods which they then augment with some publishers
and subscribers.
For example, given this
Also, this only seems to be a functionality provided in CMake 3.7.0,
actually. I neglected to mention that I was experimenting with that branch
when I was studying this problem.
On Monday, November 28, 2016 at 9:47:21 AM UTC-5, Alex Shaver wrote:
>
> When I have several folders
> top
JECT_NAME} ${PROTO_SRCS} ${PROTO_HDRS})
target_link_libraries(${PROJECT_NAME} PUBLIC ${PROTOBUF_LIBRARIES}
On Tuesday, November 29, 2016 at 8:23:46 AM UTC-5, Alex Shaver wrote:
>
> I'm just using the default FindProtobuf.cmake commands which have the
> protoc step built in to them internall
path is set correctly
> and that's complicated...
>
> On Mon, Nov 28, 2016 at 7:38 AM, Alex Shaver > wrote:
>
>> Issue with approach 3, that I don't understand: Generated header files
>> create internal implementation fu
e the results against a build that used a defined makefile
(not cmake), the generated header implementation matches the source call (
both use ...project_2ffoo_2fBaz_2eproto() ).
On Monday, November 28, 2016 at 9:47:21 AM UTC-5, Alex Shaver wrote:
>
> When I have several folders
> top
>
When I have several folders
top
\ - A
\ - B
\ - B1
\ - B2
...
.With various .proto files throughout, and I run CMake (3.5.2) to generate
the protobuf files, it flattens the whole directory structure to just one
common folder. There's a few problems with this approach.
1. If mul
I have some cases where I want to be able to populate protobufs with values
known at compile time (though I've also had runtime cases as well). As it
is, it seems I have to create a protobuf, then go in and 'set' many of the
fields, or grab 'mutable' versions of them to modify. Could this be a
Suppose in some json formatted schema I have "foo": [[12, 34],[56,78]]. I
know I could do
message foo_sub{
repeated int value = 1;
}
message Document{
repeated foo_sub foo = 1;
}
But if I directly convert this into json, it will be:
"foo":[{"value":[12, 34]}, {"value":[56,78]}]
While, in te
(proto3 question)
Suppose I have some messages Foo and Bar, where Bar represents data for
objects that are related to some Foo. I send the whole bunch of them in
some set like so:
message MyMessage{
repeated Foo = 1;
repeated Bar = 2;
}
What I'd like is for Bar to have a structure like:
mes
().cend(),
outVector.begin(), [](const double& in){return in + 1.5;});
std::vector expectedVector{2.73, 4.95, 8.28};
ASSERT_EQ(expectedVector, outVector);
will be a successful test.
On Thursday, June 30, 2016 at 9:25:41 AM UTC-4, Alex Shaver wrote:
>
> Ah, that's what I missed. The
Ah, that's what I missed. The 'children' element is a 'RepeatedField' type
which has the associated iterators. Thanks for the help.
On Wednesday, June 29, 2016 at 3:13:39 PM UTC-4, Feng Xiao wrote:
>
>
>
> On Wed, Jun 29, 2016 at 11:58 AM, Alex Shaver > w
(proto3)
Suppose I have some message with a repeated submessage element; especially
given c++11's for range operator and other iterator-type algorithms, it
feels like there should be iterator access to the submessages, beyond just
the 'index' based approach.
I may be missing the fact that it d
So, the cpprefernce page on template type deduction seemingly suggests you
can: http://en.cppreference.com/w/cpp/language/template_argument_deduction
On Thu, May 19, 2016, 6:09 PM Feng Xiao wrote:
>
>
> On Thu, May 19, 2016 at 10:31 AM, Alex Shaver
> wrote:
>
>> Sup
Suppose I have a message:
message Foo{
oneof b_message {
Bar = 16;
Baz = 17;
}
}
and I have some C++ handler that is a templated function:
template
void b_handler(const T&);
template void b_handler(const Bar& bar){...}
template void b_handler(const Baz& baz){...}
What I'd like to be
hi.
when I am trying to decode data :
$m = VoiceProxyProtobuf::AddDataResponse->decode($m);
I got :
Error: Mesage is incomplete or invalid at
/usr/local/share/perl5/Google/ProtocolBuffers/CodecIV64.pm line 37
or
Error: Mesage is incomplete or invalid at
/usr/local/share/perl5/Google/Protoco
I fully second that opinion. We rely a lot on being able to set explicit
defaults that are not language defaults (Java 0, "", false, etc). It
puzzles me to even think as to why someone might want to take that feature
away!!!
On Wednesday, January 14, 2015 at 6:50:37 AM UTC-6, Jeremy Swigart w
I would like to flush all data stored in the protocol buffers to disk, but
I don't have a handle to the individual buffer objects.
Is there a way to flush all of the buffers?
Thanks
Alex
--
You received this message because you are subscribed to the Google Groups
"Protocol Buffers&
I have an application that uses Google Protocol buffers, and is caching the
data before writing to disk.
Is there an API that I can call to force the protocol buffers to write all
messages/data to disk?
Thanks
Alex
--
You received this message because you are subscribed to the Google Groups
What's the definition of "Validate"? pb support optional fields, extensions
, that means you can ignore unknown fields.
If some fields are necessary why not just set to required.
On Saturday, November 17, 2012 8:08:16 AM UTC+8, Jeroen Ooms wrote:
>
> I am using the RProtoBuf package, which inte
iday, September 21, 2012 9:29:00 AM UTC-4, Alex Roper wrote:
>>
>> That should generate one or more files of the form package_pb2.py in the
>> directory you ran protoc in. You can then import these into your program
>> with:
>>
>> import package_pb2
>>
>>
That should generate one or more files of the form package_pb2.py in the
directory you ran protoc in. You can then import these into your program
with:
import package_pb2
where package is the PB package you want.
On Thursday, September 20, 2012 4:07:49 PM UTC-4, steph wrote:
>
> I have been us
This will be fixed in 2.5.0, see issue 418
http://code.google.com/p/protobuf/issues/detail?id=418
On Tuesday, July 10, 2012 9:55:15 PM UTC-4, Alex Roper wrote:
>
> Hi,
>
> As part of a research project I'm working on, I found it convenient to be
> able to pickle messages (
Another option is to use C++11 scoped enum syntax:
enum class Foo {
FIRST = 0;
SECOND=1;
}
and then generate scoped enums, which would look exactly like the snippet
above.
On Friday, August 20, 2010 1:12:30 PM UTC-5, alopecoid wrote:
>
> Hi,
>
> This post is about the fact that protobuf enum
ing that should just work, and therefore I
contribute it upstream.
Alex
--
You received this message because you are subscribed to the Google Groups
"Protocol Buffers" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/protobuf/-/XsHAtFgKNR0J.
To post to
Yes. For example by calling messageBuilder.getBuilder(marsFieldDescriptor)
I would get a builder for the mars field which stays attached to the
messageBuilder.
At the moment one can call
Message.Builder.newBuilder(Descriptors.FieldDescriptor) in a generic way
to create a new sub-builder, but
Let's assume we have the following structure:
message Alpha {
message Beta {
optional int32 mercury = 1;
optional int32 venus = 2;
}
optional int32 earth = 1;
optional Beta mars = 2;
}
The Java generated code allows to get a sub-builder for "mars" field from a
build
send(connectedsocket,caBuffer,sizeof(saSbuf),0);
-> send(connectedsocket,caBuffer, msg.ByteSize(),0);
On 10月1日, 上午5时22分, EJ wrote:
> I'm using the winsock api to send and receive protocol messages
> between a client program and a server program. One program sends out a
> periodic status mess
Hi Ben,
I'll take a look at your grammar. Many thanks!
I'd suggest to move any conversations regarding the new Eclipse
plug-in to its own mailing list:
http://groups.google.com/group/protobuf-dt . This way we don't spam
non-Eclipse users :)
Cheers,
-Alex
On Wed, Aug 3,
. Probably
you will need to fix #1 (the import paths) first. Please let me know if that
fixed it.
3) Custom options are not currently supported. But! I'm working on it! :)
Cheers,
-Alex
--
You received this message because you are subscribed to the Google Groups
"Protocol Buffers" grou
tobuf-dt-eclipse-editor.html
We hope you find this editor useful. Please give it a try and let us know
what you think.
Regards,
-Alex
--
You received this message because you are subscribed to the Google Groups
"Protocol Buffers" group.
To view this discussion on the w
tent of my 'protoc-gen-my' script:
#!/bin/bash
#cd `dirname $0`
#java -Xdebug -
Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=5005 -jar
protobuf-java-codegen-0.1.jar
#java -jar protobuf-java-codegen-0.1.jar 1> data.pb
java -jar protobuf-java-codegen-0.1.jar
Any idea what I could
Look at this library: http://code.google.com/p/protobuf-java-format/
On Jul 9, 4:40 pm, Rinku wrote:
> Hello, Can someone help me get the decoded data stored in a protobuf
> on to an xml file? How do I do that?
--
You received this message because you are subscribed to the Google Groups
"Proto
ntical to those generated on Linux.
Any advice would be much appreciated.
Thanks in advance,
- Alex Nixon
--
You received this message because you are subscribed to the Google Groups
"Protocol Buffers" group.
To post to this group, send email to proto...@googlegroups.com.
To unsubsc
You might want to check out http://code.google.com/p/protostuff/
On Jul 3, 7:30 am, Pradeep Thomas wrote:
> We have an existing object model in java with hibernate annotations
> for persistence.
>
> For client-server communication what are the pros of cons of using
> protocol buffers, because we
message.
Any thoughts on how this can be (if possible at all) made even
faster?! :)
Thanks,
Alex
--
You received this message because you are subscribed to the Google Groups
"Protocol Buffers" group.
To post to this group, send email to proto...@googlegroups.com.
To unsubscribe from this
Madhav,
When you receive a raw string of bytes containing a message, you must first
know the type of the message before you can parse/deserialize it. For
example, with C++, you must first instantiate a message of the appropriate
type, and then parse the bytes into the newly instantiated message ob
Jason, there is a project that contains the XML & JSON marshalers for
protobuf and back which would do exactly what you want:
http://code.google.com/p/protobuf-java-format
Thanks,
Alex
On Oct 13, 3:35 pm, Jason Smith wrote:
> I wrote a generic proto-to-xml routine (using TinyXML)
> Rewriting the protocol compiler to use some sort of template system is not
> something we really have resources for. That said, the plugins thing I'm
> working on may be useful to similar ends.
Oh, the plugins stuff sounds interesting. Is there anything on the
discussion board about it, or sti
Kenton,
Those are all good points, I agree with you that this kinda coupling
could be dangerous and cause trouble if mismanaged.
I'm trying to think of a way to keep this protoc safe but at the same
time provide the kind of functionality the interface declaration would
bring.
Problem is that havin
For some reason this thread got forked: here is the second copy:
http://groups.google.com/group/protobuf/browse_thread/thread/c4efd9f017d0b014?hl=en&tvc=2
--
You received this message because you are subscribed to the Google Groups
"Protocol Buffers" group.
To post to this group, send email to p
lc++ v10.1 , aix 5.3
can you give me some suggestions?
thanks
alex
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Protocol Buffers" group.
To post to this group, send email to protobuf@googlegroups.com
To uns
_stringXTcTQ2_3std11char_trai...".
make[3]: *** [protobuf_test-repeated_field_unittest.o] Error 1
make[3]: Leaving directory `/home/source/cpp/protobuf-2.2.0-build-32/
src'
make[2]: *** [check-am] Error 2
make[2]: Leaving directory `/home/source/cpp/protobuf-2.2.0-build-32/
src'
mak
to the end of each message every time it sees a
> length.
>
> Alek
>
> On Fri, Jul 17, 2009 at 8:13 PM, Alex Black wrote:
>
> > When I write out messages using C++ I'm careful to clear messages and
> > re-use them, is there something equivalent on the java side
bly memory is
allocated 150 times for each of the messages...
- Alex
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Protocol Buffers" group.
To post to this group, send email to protobuf@googlegroups.com
yeah, I'll have it running twice as fast by the time you are back from
your holiday. ;)
From: Kenton Varda [mailto:ken...@google.com]
Sent: Wednesday, July 15, 2009 7:48 PM
To: Alex Black
Cc: protobuf@googlegroup
Thanks, yes performance seems really good, though I wouldn't mind seeing
the java deserialization faster.
From: Kenton Varda [mailto:ken...@google.com]
Sent: Tuesday, July 14, 2009 8:06 PM
To: Alex Black
Cc: pro
over sockets takes 52ms
- deserializing the data in java with protobuf takes 58ms
The amount of data being sent is: 3,959,368 bytes in 158,045 messages
(composed in batches of 1000).
- Alex
From: Kenton Varda [mailto:ken...@google.com]
Sent: Tuesday, July 14, 2
Kenton: I made a mistake with these numbers - pls ignore them - I'll revisit
tomorrow.
Thx.
-Original Message-
From: protobuf@googlegroups.com [mailto:proto...@googlegroups.com] On Behalf Of
Alex Black
Sent: Tuesday, July 14, 2009 2:05 AM
To: Protocol Buffers
Subject: Re: Perfor
posed messages.
> But this still doesn't tell us how much time is spent on network I/O vs.
> protobuf serialization. My guess is that once you factor that out, your
> performance is pretty close to the benchmarks.
>
> On Mon, Jul 13, 2009 at 10:11 PM, Alex Black wrote:
>
If I comment out the actual serialization and sending of the message
(so I am just composing messages, and clearing them each batch) then
the 100ms drops to about 50ms.
On Jul 14, 12:36 am, Alex Black wrote:
> I'm sending a message with about ~150k repeated items in it, total
> si
ultimately calls Write on us
// which we then call Write on our composed stream
message.SerializeWithCachedSizes(&codedOutputStream);
In my stream implementation I'm buffering every 16kb, and calling send
on the socket once i have 16kb.
Thanks!
- Alex
--~--~-~
Hey Bart, I'm not sure I'm seeing the full details of your situation,
But on windows I compiled a library libprotobuf.lib, and linked to it
statically, meaning it gets built into the exe (or dll) you're building.
(I built 2 actually, a release one and a debug one).
- Alex
Thanks.
From: Kenton Varda [mailto:ken...@google.com]
Sent: Monday, July 06, 2009 1:32 PM
To: Alex Black
Cc: Protocol Buffers
Subject: Re: GoogleOnceType showing up as a memory leak
Yes, this is a known bug resulting from the fact that I developed the
shutdown
(it'd be nice to have 0 leaks... :)
- Alex
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Protocol Buffers" group.
To post to this group, send email to protobuf@googlegroups.com
To unsubscribe from
Thanks Kenton, thats reassuring.
From: Kenton Varda [mailto:ken...@google.com]
Sent: Thursday, July 02, 2009 8:56 PM
To: Alex Black
Cc: Protocol Buffers
Subject: Re: libprotobuf.lib, 29mb?
On Thu, Jul 2, 2009 at 5:33 PM, Alex Black wrote:
I'
1 - 100 of 114 matches
Mail list logo