Closed araobp closed 8 years ago
etcd consumes 2% CPU resource / 4% of memory of my Raspberry Pi, whereas tega consumes 0% CPU (co-routine/non-blocking IO based) and 3% of memory.
tega runs much lighter than etcd.
On my old 32 bit PC, etcd makes go compile much slower. I don't know the reason why. tega does not affect anything.
Co-routine-based database is good for my small project with a very old PC and Raspberry Pi
I have just implemented a sample of tega driver for golang: https://github.com/araobp/tega/blob/master/driver/driver.go
Using tega is much easier to use than using etcd, because tega supports JSON types:
Migration completed.
I would prefer tega rather than etcd:
I need to develop tega driver for golang.
On the other hand, nlan agent (golang) seems to run faster than the original neutron-lan agent (python):
BTY, I would use ZooKeeper rather than etcd, since ZooKeeper supports "ephemeral nodes" that are useful features for SDN-related projects. But for this project, I have decided to use tega, because I need to run a config DB on my small Raspberry Pi!