--
You received this message because you are subscribed to the Google Groups "vert.x" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vertx+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/vertx.
To view this discussion on the web, visit https://groups.google.com/d/msgid/vertx/020aaad9-a4f5-4559-bf8a-e4b4e0816d15%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Wrong analogy :)An Actor in Akka would be a Handler in Vert.x.
2017-05-11 13:07 GMT+02:00 Alexander Dederer <alex.d...@gmail.com>:
Good day!
In my current Project (MMO, Server-Side) I need a fast framework for handle thousands connection per sec and massive async Game Data Model changes.
So. because I have a concurrent actions to modifying a single object instance i have two way to prevent collisions:
1. Use locking. But it's a not an ease because i need lock a many objects before modification. and it has performance issue
2. Create many Verticles per each game object. So only one Verticle will handle all modifications own object and no locking required
My question: is it OK solution for Vertx? Create a lot Verticles (one per game object = about 200k Verticle) like an Actors in Akka or I need another way?
--
You received this message because you are subscribed to the Google Groups "vert.x" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vertx+un...@googlegroups.com.
Visit this group at https://groups.google.com/group/vertx.
To view this discussion on the web, visit https://groups.google.com/d/msgid/vertx/020aaad9-a4f5-4559-bf8a-e4b4e0816d15%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to vertx+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/vertx.
To view this discussion on the web, visit https://groups.google.com/d/msgid/vertx/c4646e72-3233-4c79-8161-a5a3b6d189db%40googlegroups.com.
>> Verticles should be about 2xcores max.
I am not sure I agree that Verticles should be 2x core max? Perhaps there should be 2xCore event loop threads, but I think there could be lots of Verticles.