{"action":"reopened","issue":{"url":"https://api.github.com/repos/araobp/nlan/issues/12","labels_url":"https://api.github.com/repos/araobp/nlan/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/araobp/nlan/issues/12/comments","events_url":"https://api.github.com/repos/araobp/nlan/issues/12/events","html_url":"https://github.com/araobp/nlan/issues/12","id":125760788,"number":12,"title":"Migrating from etcd to tega","user":{"login":"araobp","id":11053654,"avatar_url":"https://avatars.githubusercontent.com/u/11053654?v=3","gravatar_id":"","url":"https://api.github.com/users/araobp","html_url":"https://github.com/araobp","followers_url":"https://api.github.com/users/araobp/followers","following_url":"https://api.github.com/users/araobp/following{/other_user}","gists_url":"https://api.github.com/users/araobp/gists{/gist_id}","starred_url":"https://api.github.com/users/araobp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/araobp/subscriptions","organizations_url":"https://api.github.com/users/araobp/orgs","repos_url":"https://api.github.com/users/araobp/repos","events_url":"https://api.github.com/users/araobp/events{/privacy}","received_events_url":"https://api.github.com/users/araobp/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/araobp/nlan/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-01-09T14:10:34Z","updated_at":"2016-01-09T16:10:06Z","closed_at":null,"body":"I would prefer [tega](http://github.com/araobp/tega) rather than etcd:\r\n- tega is schema-less\r\n- tega supports JSON types, etcd supports string-type only\r\n- tega can accept CRUD operation at an arbitrary path/depth\r\n- tega supports Data Change Notification at an arbitrary path/depth\r\n- tega supports pusub\r\n- tega supports RPC inventory\r\n- tega can run on Raspberry Pi\r\n- tega supports rollback\r\n- tega supports an interactive CLI, etcd does not\r\n- I don't need a RAFT-based data base for such a small project\r\n- tega supports a plugin framework\r\n- tega uses coroutine (tornado), zero-overhead and good for a single-core CPU\r\n\r\nI need to develop tega driver for golang.\r\n\r\nOn the other hand, nlan agent (golang) seems to run faster than the original neutron-lan agent (python):\r\n- Golang supports light-weight thread (goroutine)\r\n- Python (CPython) is not good at parallel computing because of GIL\r\n\r\nI 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!\r\n\r\n"}}