Comments (5)
i was using protocol buffers (PB) and recently started to use FlatBuffers (FB) for perf reasons.
FB is the successor to PB that has been in the alpha oven for a while now, but is now ready (IMHO)
http://google.github.io/flatbuffers/
if seems a good match this Glow, and i am curious on your thoughts.
There is no reflection, but instead the go files are code generated at compile time. There is no heap if used correctly at runtime.
I also liked the ability to serialise between FB and JSON. This allows the data types to be reused in the any web layer for a application.
from glow.
Protocol Buffer or Flat Buffer need definition and code generation. They could be used to customize ser/de.
The default ser/de should not need any additional steps.
from glow.
ok. I need to look into the code to see how your doing it. I guess its reflection based ?
from glow.
Fyi: The package was renamed to netchan
:
https://github.com/chrislusf/glow/blob/master/netchan/channels.go#L52
https://github.com/chrislusf/glow/blob/master/netchan/channels.go#L77
from glow.
if you really want to use DeDiS/protobuf,
maybe write a func EncodeValue(value reflect.Value) to wrap from L51~L57
https://github.com/dedis/protobuf/blob/master/encode.go#L51
and write another func (dec *Decoder) DecodeValue(v reflect.Value) to wrap L64
https://github.com/dedis/protobuf/blob/master/decode.go#L64
from glow.
Related Issues (20)
- Fold operation HOT 3
- Add unit tests for moderately complex APIs across the code base HOT 8
- Fix the timing out flakiness revealed in dataset_map_test.go HOT 2
- document failure/retry modes in distributed use HOT 1
- any ideas to add Lua(LuaJIT)? HOT 14
- Consider reduce the number of Travis CI builds HOT 3
- any plan for hive like execution engine? HOT 2
- Is there a means of teeing the flow? HOT 3
- All the work is done by only 1 node HOT 2
- Read size invalid argument - expected data input? HOT 7
- Issues at start_local_glow_cluster.sh HOT 2
- Doing partial reduceByKey in Flow created in func init() HOT 3
- How to make it working for multiple split logs HOT 2
- Glow support a time window like the Flink?
- glow使用与部署方法怎么处理? HOT 3
- Has it been used in the commercial production environment so far?
- glow run block when read big file data to mysql HOT 2
- Glow support for elastic search
- feature requiest: type i to enter editor mode
- update instalation instructions since go get is not longer surported HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from glow.