These are chat archives for atomix/atomix

25th
Apr 2018
Jordan Halterman
@kuujo
Apr 25 2018 05:20
that’s what MappedMemory does
easy change to at least try to unmap it before deleting
The first completed (for the moment) section of the website user manual is up: http://atomix.io/docs/latest/user-manual/cluster-management/
Jordan Halterman
@kuujo
Apr 25 2018 05:27
It’s all just cluster configuration stuff so far
need to get to the good parts - messaging, primitives, etc
Mark de Jong
@Fristi
Apr 25 2018 14:38
Hi! Are the docs being revamped? It seems they are all blank at the moment
Mark de Jong
@Fristi
Apr 25 2018 14:44

Also what pattern would you use for a cluster of nodes which need to partition a command (on a uuid) to a specific node. I saw consistent hashing would maybe a good fit there? Once a node is down (due a network partition orso), I think the best option would be to just route the commands to there and time-out eventually. Assuming that the dead node will come up eventually again.

I'm expermenting to replace a akka-cluster-sharding app with such an approach :-)

FKrack
@FKrack
Apr 25 2018 15:41

Hello! I am new to Atomix! I am using Atomix 2.1.0-beta3 and I am trying to get a value about the REST interface of the agent. I write a key/value pair into a ConsistentMap with a java client. But I can not get the value back about the REST api. I try the following url:
http://127.0.0.1:54001/v1/primitives/<name used in the consistentMapBuilder>/<key of the value>

Is that the right way? With the beta2 it works with the following url:

http://127.0.0.1:54001/v1/primitives/maps/...

It would be very nice if someone could help me! Thank you!

malkochoglu
@malkochoglu
Apr 25 2018 17:10
Any issues with website? I can't access documentation pages. Ex: user-manual/introduction/features/cluster-architecture#persistent-nodes
Sorry link was part of whole link. Ex : http://atomix.io/atomix/docs/
Jordan Halterman
@kuujo
Apr 25 2018 18:16

@malkochoglu the website was rewritten. http://atomix.io/atomix/docs/ no longer exists. Just go on the site and click the links.

The documentation is also still being rewritten, though, so there are many sections remaining to be finished.

http://atomix.io/docs/latest/user-manual/introduction/features/

Johno Crawford
@johnou
Apr 25 2018 18:50
@kuujo did you see atomix/atomix#503
Johno Crawford
@johnou
Apr 25 2018 20:26
created a follow-up atomix/atomix#505
Jordan Halterman
@kuujo
Apr 25 2018 22:28
Yep
Need to go through that entire protocol actually and test it at least almost as well as the Raft implementation has been tested. It’s way simpler, but it’s still a long way from the maturity of the Raft codes.
The primary-backup proxy actually needs a lot of work. It really should allow reads on backups but provide RYW consistency - track the last written index and block reads until that index.
Primary-backup proxies could also operate on the backup that’s closest to them (backups in the same member group)
And snapshots also need to be replicated in chunks
Jordan Halterman
@kuujo
Apr 25 2018 22:33
Need to wait to merge the primitive protocol changes first, though, which should be done tonight. Then will have to work on that protocol.