schema
A user can have some device, two different users can have the same device. The schema is as followings:
type DeviceId {
gid_device
}
type User{
gid_user
name
has
}
gid_device: string @index(hash) @noconflict .
gid_user: int @index(int) @noconflict .
name: string @index(hash) @noconflict .
has: [uid] @count @reverse .
problem
When i apply mutations concurrently, the speed is too slow with too many conflicts. According to my understanding, there should not be any conflict with @noconflict.
Anybody could help me? God, I’m breaking down with hours’ work on this problem!!!